amfIMovie SetSpeedupTracking

Sets the value by which the video resolution will be divided in order to speed up tracking.

Syntax

movie_handle SetSpeedupTrackingdivisor

Description

Sets the value by which the video resolution will be divided before calculating the tracking data, in order to speed up marker tracking.

Inputs

divisor
The default value is 1, which will result in no speedup. A value of 2 will yield the greatest speedup benefit with the safest results. A value which is too high will result in inaccurate tracking results, and higher values yield only marginally better speed. This value will be used by the amfIMovie::CalculateTrackingData API, unless otherwise specified.

Example

movie_handle SetSpeedupTracking 2

Error

Standard hwResult error codes:
  • 1 = HW_Error
  • 3 = HW_InvalidHandle
  • 4 = HW_InvalidArgs