// ksmedia.h
typedef enum {
KS_CompressionCaps_CanQuality,
KS_CompressionCaps_CanCrunch,
KS_CompressionCaps_CanKeyFrame,
KS_CompressionCaps_CanBFrame,
KS_CompressionCaps_CanWindow
} KS_CompressionCaps;
View the official Windows Driver Kit DDI referenceNo description available.
The KS_CompressionCaps enumeration defines compression capabilities of a device.
KS_CompressionCaps_CanQualityThe video compressor supports quality settings.
KS_CompressionCaps_CanCrunchThe video compressor can compress the video to a specified data rate. If a minidriver supports this capability, the dwBitRate member of the KS_VIDEOINFOHEADER structure specifies the default data rate.
KS_CompressionCaps_CanKeyFrameThe video compressor supports a user-specified key-frame rate.
KS_CompressionCaps_CanBFrameThe video compressor supports a user-specified P frame interval. The frames that occur between the key frames and P frames are bidirectional (B) frames.
KS_CompressionCaps_CanWindowThe video compressor supports a user-specified window size (that is, the number of frames whose average size cannot exceed the specified data rate).
KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S