DXVA2_ExtendedFormat structure (dxva2api.h)

Describes the format of a video stream.

Syntax

typedef struct _DXVA2_ExtendedFormat {
  union {
    struct {
      UINT SampleFormat : 8;
      UINT VideoChromaSubsampling : 4;
      UINT NominalRange : 3;
      UINT VideoTransferMatrix : 3;
      UINT VideoLighting : 4;
      UINT VideoPrimaries : 5;
      UINT VideoTransferFunction : 5;
    };
    UINT value;
  };
} DXVA2_ExtendedFormat;

Members

SampleFormat

Describes the interlacing of the video frames. Contains a value from the DXVA2_SampleFormat enumeration.

VideoChromaSubsampling

Describes the chroma siting. Contains a value from the DXVA2_VideoChromaSubSampling enumeration.

NominalRange

Describes the nominal range of the Y'CbCr or RGB color data. Contains a value from the DXVA2_NominalRange enumeration.

VideoTransferMatrix

Describes the transform from Y'PbPr (component video) to studio R'G'B'. Contains a value from the DXVA2_VideoTransferMatrix enumeration.

VideoLighting

Describes the intended viewing conditions. Contains a value from the DXVA2_VideoLighting enumeration.

VideoPrimaries

Describes the color primaries. Contains a value from the DXVA2_VideoPrimaries enumeration.

VideoTransferFunction

Describes the gamma correction transfer function. Contains a value from the DXVA2_VideoTransferFunction enumeration.

value

Use this member to access all of the bits in the union.

Remarks

Most of the values in this structure can be translated directly to and from IMFMediaType attributes. For a code example that fills in the values from an IMFMediaType pointer, see DXVA2_VideoDesc.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header dxva2api.h

See also

Extended Color Information

IMFMediaType

Media Foundation Structures