Share via


MFPKEY_MOTIONMATCHMETHOD Property

banner art

Specifies the method to use for motion matching.

Constant for IPropertyBag

g_wszWMVCMotionMatchMethod

Data Type

VT_I4

Default Value

0

Remarks

This property may be set to one of the following values.

Value Method used
0 sum of absolute differences (SAD)
1 Hadamard
-1 Macroblock-adaptive.

The sum of absolute differences (SAD) is a faster but less accurate method than the Hadamard transform. The Hadamard transform is more accurate but computationally intensive. The macroblock-adaptive mode provides a reasonable compromise between the two methods by dynamically choosing between the two transforms, selecting the Hadamard transform only when appropriate.

Applies To

This write-only property is available on the encoder of the following codecs:

Requirements

Client: Requires Windows Vista or Windows XP.

Header: Include wmcodecdsp.h.

See Also