DXVA_ExtendedFormat - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dxva.h

typedef struct _DXVA_ExtendedFormat {
  UINT                       SampleFormat : 8;
  UINT                       VideoChromaSubsampling : 4;
  DXVA_NominalRange          NominalRange : 3;
  DXVA_VideoTransferMatrix   VideoTransferMatrix : 3;
  DXVA_VideoLighting         VideoLighting : 4;
  DXVA_VideoPrimaries        VideoPrimaries : 5;
  DXVA_VideoTransferFunction VideoTransferFunction : 5;
} DXVA_ExtendedFormat;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-dxva-_dxva_extendedformat)

_DXVA_ExtendedFormat structure

Description

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

Members

SampleFormat

Specifies how a video frame is sampled. The 8 bits are defined by one of the enumerators in the DXVA_SampleFormat enumeration type.

VideoChromaSubsampling

Specifies the chroma encoding scheme for Y'Cb'Cr' data. The 4 bits are defined by an ORed combination of the enumerators in the DXVA_VideoChromaSubsampling enumeration type.

NominalRange

Specifies whether sample data includes headroom (values beyond 1.0 white) and toeroom (superblacks below the reference 0.0 black). The 3 bits are defined by one of the enumerators in the DXVA_NominalRange enumeration type.

VideoTransferMatrix

Specifies the conversion matrix from Y'Cb'Cr' to (studio) R'G'B'. The 3 bits are defined by one of the enumerators in the DXVA_VideoTransferMatrix enumeration type.

VideoLighting

Specifies lighting conditions for viewing video. The 4 bits are defined by one of the enumerators in the DXVA_VideoLighting enumeration type.

VideoPrimaries

Specifies color primaries, which state which RGB basis functions are used. The 5 bits are defined by one of the enumerators in the DXVA_VideoPrimaries enumeration type.

VideoTransferFunction

Specifies the conversion function from R'G'B' to RGB. The 5 bits are defined by the DXVA_VideoTransferFunction enumeration type.

See also

DXVA_NominalRange

DXVA_SampleFormat

DXVA_VideoChromaSubsampling

DXVA_VideoLighting

DXVA_VideoPrimaries

DXVA_VideoTransferFunction

DXVA_VideoTransferMatrix