Поделиться через


CS_CompressionCaps (Compact 2013)

3/26/2014

This enumeration provides values that are used to describe compression capabilities of a device.

Syntax

typedef enum {
    CS_CompressionCaps_CanQuality  = 1,
    CS_CompressionCaps_CanCrunch   = 2,
    CS_CompressionCaps_CanKeyFrame = 4,
    CS_CompressionCaps_CanBFrame   = 8,
    CS_CompressionCaps_CanWindow   = 0x10,
} CS_CompressionCaps;

Elements

  • CS_CompressionCaps_CanQuality
    Indicates that the video compressor supports quality settings.
  • CS_CompressionCaps_CanCrunch
    Indicates that the video compressor can compress the video to a specified data rate. If a minidriver supports this capability, the dwBitRate member of the CS_VIDEOINFOHEADER structure contains the default data rate.
  • CS_CompressionCaps_CanKeyFrame
    Indicates that the video compressor supports a user-specified key-frame rate.
  • CS_CompressionCaps_CanBFrame
    Indicates that the video compressor supports a user-specified P frame interval. The frames that occur between the key frames and P frames are bidirectional (B) frames.
  • CS_CompressionCaps_CanWindow
    Indicates that the video compressor supports a user-specified window size (number of frames whose average size cannot exceed the specified data rate).

Requirements

Header

csmedia.h

See Also

Reference

Camera Driver Enumerations
CS_VIDEOINFOHEADER