FilterInfoObject::getCodecData Method

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

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

size

The size of the data.

Return value:

true on success, false otherwise.

Remarks:

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

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, TX Text Control Blog and Forums.