IActiveGige Interface
Top  Previous  Next

Description

Provides a pass-through access to an ActiveGige COM object associated with the video capture filter.


Methods

For a detailed description of methods refer to Properties and Methods in the ActiveX Reference chapter.
 

Example


This C++ code request a pointer to IActiveGige interface from the video capture filter and sets up a bilinear Bayer interpolation:

IActiveGige *pActiveGige;
HRESULT hr;
hr = pFilter->QueryInterface(IID_IActiveGige, (void **)&pCameraControl);
if(hr==S_OK)
{
   hr=pActiveGige->put_Bayer(2);
}
 
 
Remarks

Use IActiveGige interface to access the camera properties and methods not available via standard DirectShow interfaces. Since DirectShow does not support 16 bits per channel media types, you might want to use IActiveGige's image access methods for retrieving high-depth pixel data.

Note that for YUV video modes the Display property must be set to TRUE in order to use image access and image analysis functions such as GetImageData, GetComponentData, GetImageLine, GetImageWindow, GetHistogram, GetImageStat etc. These functions require internal RGB conversion which by default is turned off by DirectShow filter to reduce the CPU load.

Refer to ActiveX Reference chapter for more details.