// dxva.h
typedef enum _DXVA_VideoTransferMatrix {
DXVA_VideoTransferMatrixShift,
DXVA_VideoTransferMatrixMask,
DXVA_VideoTransferMatrix_Unknown,
DXVA_VideoTransferMatrix_BT709,
DXVA_VideoTransferMatrix_BT601,
DXVA_VideoTransferMatrix_SMPTE240M
} DXVA_VideoTransferMatrix;
View the official Windows Driver Kit DDI referenceNo description available.
The DXVA_VideoTransferMatrix enumeration type contains enumerators that identify the conversion matrix from Y'Cb'Cr' to R'G'B'.
DXVA_VideoTransferMatrixShiftSpecifies to shift bits by 15 positions (DXVA_ExtColorData_ShiftBase + 7, or 8 + 7).
DXVA_VideoTransferMatrixMaskSpecifies the video transfer matrix mask. 3 (0x00038000) bits of a DWORD can be used to specify video transfer matrix.
DXVA_VideoTransferMatrix_UnknownSpecifies that the video transfer matrix is not specified. The default is BT601 for standard definition (SD) video and BT709 for high definition (HD) video.
DXVA_VideoTransferMatrix_BT709Specifies the BT709 transfer matrix.
DXVA_VideoTransferMatrix_BT601Specifies the BT601 transfer matrix.
DXVA_VideoTransferMatrix_SMPTE240MSpecifies a HD video standard rarely used in Japan.
One of the enumerators of DXVA_VideoTransferMatrix can be specified in the VideoTransferMatrix member of the DXVA_ExtendedFormat structure.