Programming Guide
141
Use COM interfaces
Use the methods of
IAMVideoProvAmp
interface of standard
DirectShow Interface to get or set the qualities of an incoming
video signal.
ADLink Bt878 Crossbar
The ADLink Bt878 Crossbar filter implements an
IAMCrossbar
interface. It routes signals from an analog or digital source to a
video capture filter.
Proprietary Interface
GPIO Access
The GPIO provides a method to read board information, select
input channel, and control digital inputs/digital outputs.
Sample:
#define INSTANCE_DATA_OF_PROPERTY_PTR(x)
( (PKSPROPERTY((x)) ) + 1 )
#define INSTANCE_DATA_OF_PROPERTY_SIZE(x)
( sizeof((x)) - sizeof(KSPROPERTY) )
void GPIOWrite(IBaseFilter* pFilter, DWORD value)
/*
Purpose:
Set the electronic level of the gpio pin.
Parameters:
pFilter: Interface of BT878 filter
value: 1 for high level, and 0 for low level
*/
{
IKsPropertySet *pKs = NULL;
DWORD TypeSupport = 0;
KSPROPERTY_CUSTOMBT848_GPIO_S rc;
HRESULT hr;
ULONG ret=0;
DWORD bit = 6;// Offset of GPIO pin
if (pFilter == NULL)
return;
value = value ? 0 : 1; // its phase is inverse
Содержание cRTV-24
Страница 4: ......
Страница 8: ...List of Tables iv Table 5 2 C C Data Types 83 Table 5 3 Pixel Data 122 ...
Страница 10: ......
Страница 18: ...8 Introduction ...
Страница 34: ...24 Hardware Reference Figure 2 8 STRG Address Jumpers ...
Страница 55: ...Installation Guide 45 Figure 3 2 cRTV 24 3U cPCI ...
Страница 61: ...Installation Guide 51 ...
Страница 62: ...52 Installation Guide ...
Страница 64: ...54 Installation Guide The Device Manager should be as follows ...
Страница 67: ...Installation Guide 57 ...
Страница 68: ...58 Installation Guide 3 When the following window appears please click Con tinue Anyway ...
Страница 70: ...60 Installation Guide The Device Manager should be as follows ...
Страница 72: ...62 Installation Guide 3 Click the Finish button to finish the installation ...
Страница 76: ...66 Installation Guide ...
Страница 78: ...68 ViewCreatorPro Utility 4 2 Component Description Start the utility and the view should like below ...
Страница 144: ...134 Function Library ...
Страница 148: ...138 Programming Guide Video Proc Amp ADLink Bt878 Crossbar filter Select video input before or during video previewing ...
Страница 174: ...164 Programming Guide ...