IVPConfig::SetScalingFactors (Compact 2013)
3/26/2014
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
Header |
dshow.h |
Library |
Strmiids.lib |