IWMCodecPrivateData interface (wmcodecdsp.h)
Gets the private codec data that must be appended to the output media type. This codec data is required for properly decoding Windows Media Video content.
This interface is implemented by the video encoder object and the screen capture encoder object. You do not need codec private data to decode content of the subtype WMCMEDIASUBTYPE_WMV1 (Windows Media Video version 7). For any other output type, you must obtain a pointer to the encoder's IWMCodecPrivateData interface by calling the QueryInterface method of any other interface on the object, such as IMediaObject or IMFTransform.
Inheritance
The IWMCodecPrivateData interface inherits from the IUnknown interface. IWMCodecPrivateData also has these types of members:
Methods
The IWMCodecPrivateData interface has these methods.
IWMCodecPrivateData::GetPrivateData Retrieves the codec data for the video content based on the output type passed using the IWMCodecPrivateData::SetPartialOutputType method. |
IWMCodecPrivateData::SetPartialOutputType Gives the codec the output media type without the codec data. This enables the codec to generate the private data. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wmcodecdsp.h |