// 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 referenceNo description available.
The DXVA_ExtendedFormat structure describes the extended format of the video frame.
SampleFormatSpecifies how a video frame is sampled. The 8 bits are defined by one of the enumerators in the DXVA_SampleFormat enumeration type.
VideoChromaSubsamplingSpecifies 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.
NominalRangeSpecifies 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.
VideoTransferMatrixSpecifies 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.
VideoLightingSpecifies lighting conditions for viewing video. The 4 bits are defined by one of the enumerators in the DXVA_VideoLighting enumeration type.
VideoPrimariesSpecifies 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.
VideoTransferFunctionSpecifies the conversion function from R'G'B' to RGB. The 5 bits are defined by the DXVA_VideoTransferFunction enumeration type.