MF_MT_CUSTOM_VIDEO_PRIMARIES attribute

Specifies custom color primaries for a video media type.

Data type

UINT32

Byte array

Remarks

The attribute data is an MT_CUSTOM_VIDEO_PRIMARIES structure.

This attribute specifies the actual color volume of content or a display. CEA-861.3 / SMPTE ST.2086 color volume mastering information is stored in this attribute by decoders. Note that this attribute does not replace the MF_MT_VIDEO_PRIMARIESattribute. This attribute describes a hint about the color volume of the content, whereas MF_MT_VIDEO_PRIMARIES describes the color primaries in which the content is actually coded (e.g: the meaning of 1.0 in the R/G/B channels of a floating point representation).

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfapi.h

See also

Alphabetical List of Media Foundation Attributes
Media Type Attributes
IMFAttributes::GetBlob
IMFAttributes::SetBlob
IMFMediaType

 

 

Show: