IDecimateVideoImage::SetDecimationImageSize
Microsoft DirectShow 9.0 |
IDecimateVideoImage::SetDecimationImageSize
The SetDecimationImageSize method specifies the dimensions to which the decoder should decimate its output image.
Syntax
HRESULT SetDecimationImageSize( long lWidth, long lHeight );
Parameters
lWidth
[in] Specifies the width of the video image, in pixels.
lHeight
[in] Specifies the height of the video image, in pixels.
Return Values
Returns one of the following HRESULT values.
Return code | Description |
E_FAIL | The decoder cannot perform any decimation, or needs to halt decimation it is currently performing. |
S_OK | The decoder can decimate the video to the requested size. |
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also