IActiveGeni Interface
Top  Previous  Next

Description

Provides a pass-through access to an ActiveGeni 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 IActiveGeni interface from the video capture filter and sets up a bilinear Bayer interpolation:

IActiveGeni *pActiveGeni;
HRESULT hr;
hr = pFilter->QueryInterface(IID_IActiveGeni, (void **)&pCameraControl);
if(hr==S_OK)
{
   hr=pActiveGeni->put_Bayer(2);
}
 
 
Remarks

Use IActiveGeni 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 IActiveGeni'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.