DXVA_VideoPrimaries enumeration (dxva.h)

The DXVA_VideoPrimaries enumeration type contains enumerators that identify the color primaries, which state which RGB basis functions are used.

Syntax

typedef enum _DXVA_VideoPrimaries {
  DXVA_VideoPrimariesShift,
  DXVA_VideoPrimariesMask,
  DXVA_VideoPrimaries_Unknown,
  DXVA_VideoPrimaries_reserved,
  DXVA_VideoPrimaries_BT709,
  DXVA_VideoPrimaries_BT470_2_SysM,
  DXVA_VideoPrimaries_BT470_2_SysBG,
  DXVA_VideoPrimaries_SMPTE170M,
  DXVA_VideoPrimaries_SMPTE240M,
  DXVA_VideoPrimaries_EBU3213,
  DXVA_VideoPrimaries_SMPTE_C
} DXVA_VideoPrimaries;

Constants

 
DXVA_VideoPrimariesShift
Specifies to shift bits by 22 positions (DXVA_ExtColorData_ShiftBase + 14, or 8 + 14).
DXVA_VideoPrimariesMask
Specifies the color primaries mask. 5 (0x07C00000) bits of a DWORD can be used to specify color primaries.
DXVA_VideoPrimaries_Unknown
Specifies that color primaries are not specified. The default is BT709.
DXVA_VideoPrimaries_reserved
Reserved.
DXVA_VideoPrimaries_BT709
Specifies BT709 primaries (including sRGB, scRGB).
DXVA_VideoPrimaries_BT470_2_SysM
Specifies BT470-2 SysM primaries, which are the original NTSC primaries.
DXVA_VideoPrimaries_BT470_2_SysBG
Specifies BT470-2 SysBG primaries.
DXVA_VideoPrimaries_SMPTE170M
Specifies SMPTE170M primaries, which are rarely used analog NTSC primaries (also known as SMPTE RP 145).
DXVA_VideoPrimaries_SMPTE240M
Specifies SMPTE240M primaries.
DXVA_VideoPrimaries_EBU3213
Specifies EBU3213 primaries.
DXVA_VideoPrimaries_SMPTE_C
Specifies SMPTE_C primaries, which are analog '79 NTSC primaries.

Remarks

One of the enumerators of DXVA_VideoPrimaries can be specified in the VideoPrimaries member of the DXVA_ExtendedFormat structure.

Requirements

Requirement Value
Minimum supported client 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