DXVADDI_EXTENDEDFORMAT structure (d3dumddi.h)

The DXVADDI_EXTENDEDFORMAT structure describes the extended format of the video frame.

Syntax

typedef struct _DXVADDI_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;
  };
} DXVADDI_EXTENDEDFORMAT;

Members

[in] SampleFormat

A UINT value that specifies how a video frame is sampled. The eight bits are defined by one of the values in the DXVADDI_SAMPLEFORMAT enumeration type.

[in] VideoChromaSubsampling

The chroma encoding scheme for Y'Cb'Cr' data. The four bits are defined by a bitwise OR of the values in the DXVADDI_VIDEOCHROMASUBSAMPLING enumeration type.

[in] NominalRange

A UINT value that specifies whether sample data includes headroom (that is, values beyond 1.0 white) and toeroom (that is, superblacks below the reference 0.0 black). The three bits are defined by one of the values in the DXVADDI_NOMINALRANGE enumeration type.

[in] VideoTransferMatrix

The conversion matrix from Y'Cb'Cr' to (studio) R'G'B'. The three bits are defined by one of the values in the DXVADDI_VIDEOTRANSFERMATRIX enumeration type.

[in] VideoLighting

Lighting conditions for viewing video. The four bits are defined by one of the values in the DXVADDI_VIDEOLIGHTING enumeration type.

[in] VideoPrimaries

Color primaries, which state which RGB basis functions are used. The five bits are defined by one of the values in the DXVADDI_VIDEOPRIMARIES enumeration type.

[in] VideoTransferFunction

The conversion function from R'G'B' to RGB. The five bits are defined by the DXVADDI_VIDEOTRANSFERFUNCTION enumeration type.

Value

A 32-bit value that describes the extended format of the video frame.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

DXVADDI_VIDEODESC