CompressionCaps (Compact 2013)

3/26/2014

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_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 VIDEOINFOHEADER structure's dwBitRate member. The only way to set the data rate is to set dwBitRate.

Remarks

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

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Enumerations
IAMVideoCompression::put_Quality
IAMVideoCompression::get_Quality
VIDEOINFOHEADER
IAMVideoCompression::put_KeyFrameRate
IAMVideoCompression::get_KeyFrameRate
IAMVideoCompression::put_PFramesPerKeyFrame
IAMVideoCompression::get_PFramesPerKeyFrame
IAMVideoCompression::put_WindowSize
IAMVideoCompression::get_WindowSize