CODECAPI_AVEncVideoMeanAbsoluteDifference property

Controls the signaling of MFSampleExtension_MeanAbsoluteDifference through IMFAttribute on each output sample.

Data type

ULONG (VT_UI4)

Property GUID

CODECAPI_AVEncVideoMeanAbsoluteDifference

Remarks

If the application sets a non-zero value then the encoder should add the MFSampleExtension_MeanAbsoluteDifference sample attribute to each output sample. The MFSampleExtension_MeanAbsoluteDifference attribute indicates the mean absolute difference between the source samples and the predicted samples in the Y plane.

If the encoder returns 0 for GetParameterRange, then the encoder does not support the output of MFSampleExtension_MeanAbsoluteDifference on the output samples.

The default value should be 0.

Requirements

Minimum supported client
Windows 8.1 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
Header
Codecapi.h

See also

Media Foundation Properties