class CCamera::CCameraSnapshot::TSnapshotParameters |
Specifes the parameters necessary for client snapshots.
Public Member Functions | |
---|---|
TSnapshotParameters() | |
IMPORT_C TBool | IsAspectRatioMaintained() |
IMPORT_C void | SetAspectRatioState(TBool) |
IMPORT_C TUint | Size() |
IMPORT_C TUint | Version() |
Public Attributes | |
---|---|
CCamera::TFormat | iFormat |
TPoint | iPosition |
TSize | iSnapshotSize |
Private Attributes | |
---|---|
TUint | iIsAspectRatioMaintained |
TInt | iReserved1 |
TInt | iReserved2 |
TInt | iReserved3 |
TUint | iReserved4 |
TInt | iReserved5 |
TInt | iReserved6 |
TInt | iReserved7 |
TUint | iSize |
TUint | iVersion |
IMPORT_C void | SetAspectRatioState | ( | TBool | aIsAspectRatioMaintained | ) |
TBool aIsAspectRatioMaintained |
TUint | iIsAspectRatioMaintained | [private] |
Set to ETrue if the aspect ratio of the snapshot image must be maintained when scaling down
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.
TSize | iSnapshotSize |
The size of the snapshot in pixels. The snapshot size may be changed by the implementation to meet hardware requirements, performance etc.