MF_MT_VIDEO_NOMINAL_RANGE attribute

Specifies the nominal range of the color information in a video media type.

Data type

UINT32

Remarks

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

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

H.264/AVC encoders:

On the output media type, MF_MT_VIDEO_NOMINAL_RANGE can be set with MFNominalRange_0_255 and MFNominalRange_16_235.

H.264/AVC encoder shall treat MFNominalRange_Unknown as MFNominalRange_16_235.

H.264/AVC encoder shall reject a output media type when MF_MT_VIDEO_NOMINAL_RANGE is set to MFNominalRange_48_208, MFNominalRange_64_127, or any other values not defined on MFNominalRange.

Requirements

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