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_BT2020 = 9, MFVideoPrimaries_XYZ = 10, MFVideoPrimaries_DCI_P3 = 11, MFVideoPrimaries_ACES = 12, 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_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 |
|
See also