Bewerken

Delen via


KS_CompressionCaps enumeration (ksmedia.h)

The KS_CompressionCaps enumeration defines compression capabilities of a device.

Syntax

typedef enum {
  KS_CompressionCaps_CanQuality,
  KS_CompressionCaps_CanCrunch,
  KS_CompressionCaps_CanKeyFrame,
  KS_CompressionCaps_CanBFrame,
  KS_CompressionCaps_CanWindow
} KS_CompressionCaps;

Constants

 
KS_CompressionCaps_CanQuality
The video compressor supports quality settings.
KS_CompressionCaps_CanCrunch
The 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_CanKeyFrame
The video compressor supports a user-specified key-frame rate.
KS_CompressionCaps_CanBFrame
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.
KS_CompressionCaps_CanWindow
The video compressor supports a user-specified window size (that is, the number of frames whose average size cannot exceed the specified data rate).

Requirements

Requirement Value
Header ksmedia.h (include Ksmedia.h)

See also

KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S

KS_VIDEOINFOHEADER