TScalerCaps Class Reference

class TScalerCaps

Represents scaling capabilities of the code plugin.

Constructor & Destructor Documentation

TScalerCaps()

IMPORT_C TScalerCaps ( )

Constructor

TScalerCaps(TInt, TInt, TBool)

IMPORT_C TScalerCaps ( TInt aMaxUpscaleLimit,
TInt aMaxDownscaleLimit,
TBool aPreserveAspectRatioIsNeeded
)

Constructor

Parameters

TInt aMaxUpscaleLimit Maximum upscaling possible.
TInt aMaxDownscaleLimit Maximum downscaling possible.
TBool aPreserveAspectRatioIsNeeded ETrue if only support preservation of aspect ratio.

Member Functions Documentation

MaxDownscaleLimit()

IMPORT_C TInt MaxDownscaleLimit ( ) const

Maximum downscaling possible.

MaxUpscaleLimit()

IMPORT_C TInt MaxUpscaleLimit ( ) const

Maximum upscaling possible.

MustPreserveAspectRatio()

IMPORT_C TBool MustPreserveAspectRatio ( ) const

Returns ETrue if the codec must preserve aspect ratio during scaling.

PowerOfTwoScalingOnly()

IMPORT_C TBool PowerOfTwoScalingOnly ( ) const

Type of scaling which is supported.

Size()

IMPORT_C TUint Size ( ) const

Compatibility - internal use only

Version()

IMPORT_C TUint Version ( ) const

Compatibility - internal use only

Member Data Documentation

TInt iMaxDownscaleLimit

TInt iMaxDownscaleLimit [private]

TInt iMaxUpscaleLimit

TInt iMaxUpscaleLimit [private]

TBool iMustPreserveAspectRatio

TBool iMustPreserveAspectRatio [private]

TBool iPowerOfTwoScalingOnly

TBool iPowerOfTwoScalingOnly [private]

TInt iReserved

TInt iReserved [private]

TUint iSizeVersion

TUint iSizeVersion [private]