Microsoft DirectX 9.0

IVPConfig::SetScalingFactors

The SetScalingFactors method sets the factors by which the decoder should scale the video stream.

Syntax

HRESULT SetScalingFactors(
  LPAMVPSIZE pamvpSize
);

Parameters

pamvpSize

[in] Pointer to the new scaling size structure (AMVPSIZE) to use to specify the width and height.

Return Values

Returns an HRESULT value.

Remarks

If the decoder does not support the specified scaling factors, then it sets the values to the nearest factors it can support.

See Also