Provides a pass-through access to an ActiveUSB COM object associated with the video capture filter.
For a detailed description of methods refer to Properties and Methods in the ActiveX Reference chapter.
This C++ code request a pointer to IActiveUSB interface from the video capture filter and sets up a bilinear Bayer interpolation:
hr = pFilter->QueryInterface(IID_IActiveUSB, (void **)&pCameraControl);
Use IActiveUSB 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 IActiveUSB'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.