DXVA_ExtendedFormat structure (dxva.h)
The DXVA_ExtendedFormat structure describes the extended format of the video frame.
Syntax
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;
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | This structure applies only to Windows Server 2003 with SP1 and later, and Windows XP with SP2 and later. |
Header | dxva.h (include Dxva.h) |