MFT_DECODER_FINAL_VIDEO_RESOLUTION_HINT attribute

Specifies the final output resolution of the decoded image, after video processing.

Data type

UINT64

Remarks

This attribute is supported by some video decoders. An application can set this attribute to indicate the width and height of the image after video processing. The decoder can use this information to optimize the decoding process, especially if the final image size is much smaller than the native image size. For example, the decoder might skip an out-of-loop filter.

The upper 32 bits contain the width and the lower 32 bits contain the height.

To set this attribute:

  1. Call IMFTransform::GetAttributes on the decoder to get an IMFAttributes pointer.
  2. Call MFSetAttributeSize to add the attribute.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps | UWP apps]
Minimum supported server
None supported
Header
Mftransform.h

See also

Alphabetical List of Media Foundation Attributes

Transform Attributes