IResize::put_Size
Microsoft DirectShow 9.0 |
IResize::put_Size
The put_Size method sets the output size and stretch mode.
Syntax
HRESULT put_Size( int Height, int Width int Flags
Parameters
Height
[in] Specifies the video height, in pixels.
Width
[in] Specifies the video width, in pixels.
Flags
[in] Specifies the stretch mode. See Resize Flags for possible values.
Return Value
Returns an HRESULT value.
Remarks
DES may call this method before or after calling put_MediaType. If DES calls this method before calling put_MediaType, the filter should select a default value for the bit depth and use the size values to construct an output media type. If DES calls this method after calling put_MediaType, the filter should modify its current output type with the new sizes.
DES may also call this method after the output pin is connected. In that case, modify the output type and reconnect the output pin with the new type. See Reconnecting Pins for more information.
The Flags parameter specifies how the filter should perform the resizing operation.
Requirements
Requires DirectX 9.0 or later.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.
See Also