MF_MT_VIDEO_PRIMARIES attribute

Specifies the color primaries for a video media type.

Data type

UINT32

Remarks

The value of this attribute is a member of the MFVideoPrimaries enumeration.

The MFVideoPrimaries enumeration identifies color primaries associated with certain common video standards. If the media type uses color primaries that are not identified in the MFVideoPrimaries enumeration, set the MF_MT_CUSTOM_VIDEO_PRIMARIES attribute instead of this attribute.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFMediaType

Media Type Attributes

Extended Color Information