MFVideoPrimaries enumeration

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        = 0,
  MFVideoPrimaries_reserved       = 1,
  MFVideoPrimaries_BT709          = 2,
  MFVideoPrimaries_BT470_2_SysM   = 3,
  MFVideoPrimaries_BT470_2_SysBG  = 4,
  MFVideoPrimaries_SMPTE170M      = 5,
  MFVideoPrimaries_SMPTE240M      = 6,
  MFVideoPrimaries_EBU3213        = 7,
  MFVideoPrimaries_SMPTE_C        = 8,
  MFVideoPrimaries_Last,
  MFVideoPrimaries_ForceDWORD     = 0x7FFFFFFF
} 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_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

Media Foundation Enumerations
Video Media Types
Extended Color Information

 

 

Show: