IVPConfig::SetScalingFactors

 
Microsoft DirectShow 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.

Requirements

Header: Include Dvp.h, Vptype.h, Vpconfig.h.

Library: Use Strmiids.lib.

See Also