ILMFVRotate Interface

This is the interface for the LEAD Video Rotation Transform.

Interface Properties:

Type

Name

Description

BOOL

Reverse

Sets or gets reverse option, set to TRUE to enable the reverse option.

BOOL

Flip

Sets or gets Flip option, set to TRUE to enable the flip option.

long

RotationAngle

Sets or gets the rotation angle, it should be a multiple of right angle (90). Unit of angle is degree.

BOOL

DefaultReverse

Default Reverse status.

Original value is FALSE.

BOOL

DefaultFlip

Default Flip status.

Original value is FALSE.

long

DefaultRotationAngle

Default Rotation Angle.

Original value is zero.

long

InWidth

Read only; the input stream width.

long

InHeight

Read only; the input stream height.

long

OutWidth

Read only; the output stream width.

long

OutHeight

Read only; the output stream height.

long

InBits

Read only; the input stream bits per pixel.

long

OutBits

Read only; the output stream bits per pixel.

HRESULT ResetToDefaults()

Parameters

None.

 

Description

Reset the rotation option values to the default values.

HRESULT LoadAttributes()

Parameters

None.

 

Description

Loads transform settings from the registry. The Media Foundation transforms import the settings from the registry only at creation time. This method will force the transform to re-load its settings from the registry. If the transform has no settings to load from the registry, E_NOTIMPL is returned.

Return

S_OK if successful, S_FALSE otherwise.

HRESULT SaveAttributes()

Parameters

None.

 

Description

Writes transform settings to the registry. This method will force the transform to save its settings to the registry before its released.

If the transform has no settings to write to the registry, E_NOTIMPL is returned..

Return

S_OK if successful, S_FALSE otherwise. 

Note:

Changes that affect the video frame dimensions cannot be performed while the media session is active, as a result these changes will be reverted. You must close the currently open media, change the properties, and then re-open the media.

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Transforms C API Help