Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Transforms Help

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.

 

Methods:

Show in webframe

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 otherwis.

 

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.

 

 

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.