CCamera::CCameraSnapshot::TSnapshotParameters Class Reference

class CCamera::CCameraSnapshot::TSnapshotParameters

Specifes the parameters necessary for client snapshots.

Constructor & Destructor Documentation

TSnapshotParameters()

IMPORT_CTSnapshotParameters()

Member Functions Documentation

IsAspectRatioMaintained()

IMPORT_C TBoolIsAspectRatioMaintained()const

SetAspectRatioState(TBool)

IMPORT_C voidSetAspectRatioState(TBoolaIsAspectRatioMaintained)

Parameters

TBool aIsAspectRatioMaintained

Size()

IMPORT_C TUintSize()const

Version()

IMPORT_C TUintVersion()const

Member Data Documentation

CCamera::TFormat iFormat

CCamera::TFormat iFormat

The image format that the snapshot must have.

TUint iIsAspectRatioMaintained

TUint iIsAspectRatioMaintained[private]

Set to ETrue if the aspect ratio of the snapshot image must be maintained when scaling down

TPoint iPosition

TPoint iPosition

The top left corner position (in pixels) which determines the layout of the snapshot image within the dimensions provided by the iSnapshotSize parameter when the snapshot has been scaled maintaining its aspect ratio. ECam implementation is supposed to calculate the proportion between the top left corner and the snapshot size and hence use it, in case, the snapshot size used is different.

TInt iReserved1

TInt iReserved1[private]

TInt iReserved2

TInt iReserved2[private]

TInt iReserved3

TInt iReserved3[private]

TUint iReserved4

TUint iReserved4[private]

TInt iReserved5

TInt iReserved5[private]

TInt iReserved6

TInt iReserved6[private]

TInt iReserved7

TInt iReserved7[private]

TUint iSize

TUint iSize[private]

TSize iSnapshotSize

TSize iSnapshotSize

The size of the snapshot in pixels. The snapshot size may be changed by the implementation to meet hardware requirements, performance etc.

TUint iVersion

TUint iVersion[private]