Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

KS_CompressionCaps enumeration

The KS_CompressionCaps enumeration defines compression capabilities of a device.

Syntax


typedef enum  { 
  KS_CompressionCaps_CanQuality   = 1,
  KS_CompressionCaps_CanCrunch    = 2,
  KS_CompressionCaps_CanKeyFrame  = 4,
  KS_CompressionCaps_CanBFrame    = 8,
  KS_CompressionCaps_CanWindow    = 0x10
} 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

Header

Ksmedia.h (include Ksmedia.h)

See also

KS_VIDEOINFOHEADER
KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.