Microsoft DirectX 8.1 (C++)

CompressionCaps Enumeration

Indicates video compression capabilities.

Syntax

typedef enum {
    CompressionCaps_CanQuality = 0x00000001,
    CompressionCaps_CanCrunch = 0x00000002,
    CompressionCaps_CanKeyFrame = 0x00000004,
    CompressionCaps_CanBFrame = 0x00000008,
    CompressionCaps_CanWindow = 0x0000000A
} CompressionCaps;

Elements

CompressionCaps_CanQuality

Video compressor supports the IAMVideoCompression::put_Quality and IAMVideoCompression::get_Quality methods.

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.

CompressionCaps_CanKeyFrame

Video compressor supports the IAMVideoCompression::put_KeyFrameRate and IAMVideoCompression::get_KeyFrameRate methods.

CompressionCaps_CanBFrame

Video compressor supports the IAMVideoCompression::put_PFramesPerKeyFrame and IAMVideoCompression::get_PFramesPerKeyFrame methods.

CompressionCaps_CanWindow

Video compressor supports the IAMVideoCompression::put_WindowSize and IAMVideoCompression::get_WindowSize methods.

See Also