DXVA_VideoTransferMatrix

DXVA_VideoTransferMatrix enumeration

The DXVA_VideoTransferMatrix enumeration type contains enumerators that identify the conversion matrix from Y'Cb'Cr' to R'G'B'.

Syntax


typedef enum _DXVA_VideoTransferMatrix { 
  DXVA_VideoTransferMatrixShift       = (DXVA_ExtColorData_ShiftBase + 7),
  DXVA_VideoTransferMatrixMask        = DXVAColorMask(3, DXVA_VideoTransferMatrixShift),
  DXVA_VideoTransferMatrix_Unknown    = 0,
  DXVA_VideoTransferMatrix_BT709      = 1,
  DXVA_VideoTransferMatrix_BT601      = 2,
  DXVA_VideoTransferMatrix_SMPTE240M  = 3
} DXVA_VideoTransferMatrix;

Constants

DXVA_VideoTransferMatrixShift

Specifies to shift bits by 15 positions (DXVA_ExtColorData_ShiftBase + 7, or 8 + 7).

DXVA_VideoTransferMatrixMask

Specifies the video transfer matrix mask. 3 (0x00038000) bits of a DWORD can be used to specify video transfer matrix.

DXVA_VideoTransferMatrix_Unknown

Specifies 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_BT709

Specifies the BT709 transfer matrix.

DXVA_VideoTransferMatrix_BT601

Specifies the BT601 transfer matrix.

DXVA_VideoTransferMatrix_SMPTE240M

Specifies a HD video standard rarely used in Japan.

Remarks

One of the enumerators of DXVA_VideoTransferMatrix can be specified in the VideoTransferMatrix member of the DXVA_ExtendedFormat structure.

Requirements

Version

This enumeration type applies only to Windows Server 2003 with SP1 and later, and Windows XP with SP2 and later.

Header

Dxva.h (include Dxva.h)

See also

DXVA_ExtendedFormat

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft