IVPConfig::SetScalingFactors (Windows Embedded CE 6.0)
1/6/2010
This 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 Value
Returns an HRESULT value that depends on the implementation of the interface.
HRESULT can include one of the following, or other values not listed.
Value | Description |
---|---|
E_FAIL |
Failure. |
E_POINTER |
Null pointer argument. |
E_INVALIDARG |
Invalid argument. |
NOERROR |
The new scaling factors were set. |
Remarks
If the decoder does not support the specified scaling factors it sets the values to the nearest factors it can support.
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |