IAMVideoTransformComponent::SetBufferParams (Compact 7)
3/12/2014
This method sets the parameters of the buffer.
Syntax
HRESULT SetBufferParams (
AM_ROTATION_ANGLE SurfaceAngle,
int XPitch,
int YPitch,
const AM_MEDIA_TYPE *pmt
);
Parameters
- SurfaceAngle
[in] A member of the AM_ROTATION_ANGLE enumeration specifying the rotation angle at which the surface was allocated.
- XPitch
[in] The horizontal pitch.
- YPitch
[in] The horizontal pitch.
- pmt
[in] The media type of the buffer. This can be one of the supported DirectShow Media Types.
Return Value
Returns an HRESULT value that depends on the implementation of the interface. Current DirectShow implementation return values include the following.
Value | Description |
---|---|
E_FAIL |
Failure to return the capabilities. |
S_OK |
The capabilities were returned. |
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |