TAdvancedSqueezeParams Class Reference

class TAdvancedSqueezeParams

This class provides advanced parameters for squeezing

Constructor & Destructor Documentation

TAdvancedSqueezeParams()

IMPORT_CTAdvancedSqueezeParams()

Constructor: Set the default values for some squeeze params

Member Enumerations Documentation

Enum TAutoResizeAction

The different behaviours of auto resize

Enumerators

EAutoResizeActionPreserveSourceEncodingQuality

Preserves the source encoding quality while shrinking the width and height of the image

EAutoResizeActionPrioritizeLargeImageSize

Tries to preserve the max image size while lowering the encoding quality

EAutoResizeActionResizePrioritizeHighEncodingQuality

Tries to preserve the highest possible encoding quality while shrinking the width and height of the image

EAutoResizeActionMiddleCourse

Simultaneously lower the encoding quality and shrink the width and height of the image

Member Data Documentation

TUint iMaxDestSizeInBytes

TUint iMaxDestSizeInBytes

The desired max size of the transformed image in bytes.

TSize iMaxImageSize

TSize iMaxImageSize

The transformed image must not be bigger than this. The size must be bigger than the iMinImageSize

TReal32 iMinEncodingQuality

TReal32 iMinEncodingQuality

The lowest desired encoding quality. Must be in the range (0.0) to (1.0)

TSize iMinImageSize

TSize iMinImageSize

The transformed image must not be smaller than this. The size must be smaller than the iMaxImageSize

TAny * iPad1

TAny *iPad1[private]

TAny * iPad2

TAny *iPad2[private]

TAny * iPad3

TAny *iPad3[private]

TAny * iPad4

TAny *iPad4[private]

TInt iResizeAction

TInt iResizeAction

The desired behaviour of the auto resize

TUid iSamplingUid

TUid iSamplingUid

The color spacing of the transformed image