CVtImageRotatorImpl Class Reference

class CVtImageRotatorImpl : public CBase

Image scaler implementation.

videosource.lib

Inherits from

Constructor & Destructor Documentation

CVtImageRotatorImpl(const CVtImageRotator::TRotationAngle &)

CVtImageRotatorImpl(const CVtImageRotator::TRotationAngle &aAngle)[protected]

C++ constructor.

Parameters

const CVtImageRotator::TRotationAngle & aAngleRotation type that will be needed.

Member Functions Documentation

NeedHeapLock()

TBool NeedHeapLock()const
Method to check whether bitmap heap locking is needed or not during scaling process.
Exceptions
In

error situation leaves with one of the system wide error codes.

Rotate(TBool &)

TInt Rotate(TBool &aContinue)[pure virtual]

Pure virtual rotation method.

Parameters

TBool & aContinueWhen method returns, this parameter will contain ETrue if new call is needed (i.e. scaling is not yet finished) or EFalse if scaling is complete.

SetAngle(const CVtImageRotator::TRotationAngle &)

voidSetAngle(const CVtImageRotator::TRotationAngle &aAngle)

Sets rotation angle to be used.

Parameters

const CVtImageRotator::TRotationAngle & aAngleRotation type that will be needed.

SetSourceTargetL(const CVtImage &, CVtImage &)

voidSetSourceTargetL(const CVtImage &aSource,
CVtImage &aTarget
)
Sets scaler params.
Exceptions
In

error situation leaves with one of the system wide error codes.

Parameters

const CVtImage & aSource
CVtImage & aTarget

SupportsRotationAngle(const CVtImageRotator::TRotationAngle &)

TBool SupportsRotationAngle(const CVtImageRotator::TRotationAngle &aAngle)[pure virtual]

Pure virtual method for checking specific rotation angle support.

Parameters

const CVtImageRotator::TRotationAngle & aAngleRotation type that will be needed.

ValidateSourceTargetL(const CVtImage &, CVtImage &)

voidValidateSourceTargetL(const CVtImage &aSource,
CVtImage &aTarget
)[private, pure virtual]
Pure virtual source and target image validation method.
Exceptions
If

source or target is not valid, this method leaves with KErrNotSupported.

Parameters

const CVtImage & aSourceConstant reference to source image.
CVtImage & aTargetConstant reference to target image.

Member Data Documentation

CVtImageRotator::TRotationAngle iAngle

CVtImageRotator::TRotationAngle iAngle[protected]

const CVtImage * iSource

const CVtImage *iSource[protected]

CVtImage * iTarget

CVtImage *iTarget[protected]