Redigera

Dela via


MFPKEY_MOTIONMATCHMETHOD Property

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.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Wmcodecdsp.h

See also

Media Foundation Properties