MFVideoPrimaries enumeration (mfobjects.h)

Specifies the color primaries of a video source. The color primaries define how to convert colors from RGB color space to CIE XYZ color space.

Syntax

typedef enum _MFVideoPrimaries {
  MFVideoPrimaries_Unknown,
  MFVideoPrimaries_reserved,
  MFVideoPrimaries_BT709,
  MFVideoPrimaries_BT470_2_SysM,
  MFVideoPrimaries_BT470_2_SysBG,
  MFVideoPrimaries_SMPTE170M,
  MFVideoPrimaries_SMPTE240M,
  MFVideoPrimaries_EBU3213,
  MFVideoPrimaries_SMPTE_C,
  MFVideoPrimaries_BT2020,
  MFVideoPrimaries_XYZ,
  MFVideoPrimaries_DCI_P3,
  MFVideoPrimaries_ACES,
  MFVideoPrimaries_Last,
  MFVideoPrimaries_ForceDWORD
} MFVideoPrimaries;

Constants

 
MFVideoPrimaries_Unknown
The color primaries are unknown.
MFVideoPrimaries_reserved
Reserved.
MFVideoPrimaries_BT709
ITU-R BT.709. Also used for sRGB and scRGB.
MFVideoPrimaries_BT470_2_SysM
ITU-R BT.470-4 System M (NTSC).
MFVideoPrimaries_BT470_2_SysBG
ITU-R BT.470-4 System B,G (NTSC).
MFVideoPrimaries_SMPTE170M
SMPTE 170M.
MFVideoPrimaries_SMPTE240M
SMPTE 240M.
MFVideoPrimaries_EBU3213
EBU 3213.
MFVideoPrimaries_SMPTE_C
SMPTE C (SMPTE RP 145).
MFVideoPrimaries_BT2020
ITU-R BT.2020 color primaries.

Note  Requires Windows 8 or later.

 
MFVideoPrimaries_XYZ
CIE 1931 XYZ (see: CIE 1931 color space). Note that this color space is only well-defined for floating point representations.

Note  Requires Windows 8 or later.

 
MFVideoPrimaries_DCI_P3
DCI-P3

Note  Requires Windows 10, version 1703 or later.

 
MFVideoPrimaries_ACES
Academy Color Encoding System

Note  Requires Windows 10, version 1703 or later.

 
MFVideoPrimaries_Last
Reserved.
MFVideoPrimaries_ForceDWORD
Reserved. This member forces the enumeration type to compile as a DWORD value.

Remarks

This enumeration is used with the MF_MT_VIDEO_PRIMARIES attribute.

For more information about these values, see the remarks for the DXVA2_VideoPrimaries enumeration, which is the DirectX Video Acceleration (DXVA) equivalent of this enumeration.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header mfobjects.h (include Mfidl.h)

See also

Extended Color Information

Media Foundation Enumerations

Video Media Types