Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Indicates video compression capabilities.

Syntax

typedef enum {
  CompressionCaps_CanQuality  = 0x01,
  CompressionCaps_CanCrunch   = 0x02,
  CompressionCaps_CanKeyFrame = 0x04,
  CompressionCaps_CanBFrame   = 0x08,
  CompressionCaps_CanWindow   = 0x10
} CompressionCaps;

Elements

CompressionCaps_CanQuality

Video compressor supports the IAMVideoCompression::put_Qualityand IAMVideoCompression::get_Qualitymethods.

CompressionCaps_CanCrunch

Video compressor can compress video to a specified data rate. If the compressor has this capability then the output pins media type will contain the data rate in the VIDEOINFOHEADERstructure's dwBitRatemember. The only way to set the data rate is to set dwBitRate.

CompressionCaps_CanKeyFrame

Video compressor supports the IAMVideoCompression::put_KeyFrameRateand IAMVideoCompression::get_KeyFrameRatemethods.

CompressionCaps_CanBFrame

Video compressor supports the IAMVideoCompression::put_PFramesPerKeyFrameand IAMVideoCompression::get_PFramesPerKeyFramemethods.

CompressionCaps_CanWindow

Video compressor supports the IAMVideoCompression::put_WindowSizeand IAMVideoCompression::get_WindowSizemethods.

Remarks

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

Requirements

Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also