KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S structure (ksmedia.h)

The KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S structure describes information about the video compression capabilities supported by a device.

Syntax

typedef struct {
  KSPROPERTY Property;
  ULONG      StreamIndex;
  LONG       DefaultKeyFrameRate;
  LONG       DefaultPFrameRate;
  LONG       DefaultQuality;
  LONG       NumberOfQualitySettings;
  LONG       Capabilities;
} KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S, *PKSPROPERTY_VIDEOCOMPRESSION_GETINFO_S;

Members

Property

Specifies an initialized KSPROPERTY structure that describes the property set, property ID, and request type.

StreamIndex

Specifies the zero-based index of the stream being queried.

DefaultKeyFrameRate

Indicates the estimated number of frames per key frame.

DefaultPFrameRate

Indicates the predicted number of frames per key frame.

DefaultQuality

Specifies the default quality value. This value should be in the range from 0 through 10000.

NumberOfQualitySettings

Indicates the number of discrete compression quality settings the device supports.

Capabilities

Specifies the compression capabilities of the device. This member can be one or more (logically ORed) of the values from the KS_CompressionCaps enumeration.

Requirements

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

See also

KSPROPERTY

KS_CompressionCaps

PROPSETID_VIDCAP_VIDEOCOMPRESSION