IC Imaging Control C++

FilterInfoObject::getCodecData Method

FilterInfoObject::getCodecData Method

This method returns a blob that contains the parameter of a codec / compressor.
bool getCodecData( BYTE* pData, DWORD& size );
Parameter Description

The data buffer into which to copy the data. May be 0, if you only want to retrieve the size of the buffer.


The size of the data.

Return value:

true on success, false otherwise.


An application needs this method in order to save the current parameters of a compressor filter to a binary file or registry. The FilterInfoObject for the currently selected codec can be retrieved with the method getFilterInfo from the AviSink.

See also: FilterInfoObject, FilterInfoObject::setCodecData, FilterInfoObject::isCodecDataAvailable, AviSink::getFilterInfo

<< FilterInfoObject

Get in touch with us

About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us