Skip to content

Latest commit

 

History

History
64 lines (36 loc) · 2.07 KB

mf-mt-custom-video-primaries-attribute.md

File metadata and controls

64 lines (36 loc) · 2.07 KB
description ms.assetid title ms.topic ms.date
Specifies custom color primaries for a video media type.
dc5df755-53cf-4910-af42-309f1f46b1ed
MF_MT_CUSTOM_VIDEO_PRIMARIES attribute (Mfapi.h)
reference
05/31/2018

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

Requirement Value
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