CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters Class Reference

class CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters

Provides the parameters necessary to perform set-up and allocation of memory for the images to be captured.

Constructor & Destructor Documentation

TPrepareImageParameters()

IMPORT_CTPrepareImageParameters()

Constructor for the TPrepareImageParameters class. Sets the size and version of this class.

Member Functions Documentation

GetImageProcessingOptions(TUint &)

IMPORT_C voidGetImageProcessingOptions(TUint &aImageProcessingOptions)const

Gets the current image processing options to be used during image capture.

Parameters

TUint & aImageProcessingOptionsBitfield of current image processing options to be used during image capture.

SetImageProcessingOptions(TUint)

IMPORT_C voidSetImageProcessingOptions(TUintaImageProcessingOptions)

Sets the image processing options to be used during image capture.

Parameters

TUint aImageProcessingOptionsBitfield of image processing options to be used during image capture.

Size()

IMPORT_C TUintSize()const

Returns the size of the class. Used for extensibility by deriving from this base class and adding new member variables. Intended to be used for implementation of methods where this class reference is passed as function arguments. Implementation of such methods can find out the whether the actual class passed is base or the derived one. So, if a new application is made to run on an old implementation, an error may occur in such cases after the old implementation detects this by getting the size information of the T class passed. Also, if old application is made to run on a new implementation, this could be properly handled if the derived class variables handling is done in a proper 'if-else' statement.

Note:

The size will be modified when the T-class gets updated.

Version()

IMPORT_C TUintVersion()const

Returns the version of the class. Used for extensibility specially when the class members are not added but the Reserved members get used at a later stage.

Note:

The version will be modified when the T-class gets updated.

Member Data Documentation

TInt iBurstImages

TInt iBurstImages

The number of images to be captured if the drive mode is burst.

TRect iClipRect

TRect iClipRect

Identifies the rectangle to which the image is to be clipped. If no specifc clipping rectangle desired by the client, the clipping region can be given by origin as the top-left corner and size as iImageSize.

CCamera::CCameraAdvancedSettings::TDriveMode iDriveMode

CCamera::CCameraAdvancedSettings::TDriveMode iDriveMode

The drive mode in which the images will be captured.

TDriveModeDependentAttributes iDriveModeAttributes

TDriveModeDependentAttributes iDriveModeAttributes

The attributes dependent on the type of drive mode used.

CCamera::TFormat iImageFormat

CCamera::TFormat iImageFormat

The image format.

TInt iImageMaxMemorySize

TInt iImageMaxMemorySize

The maximum memory size in kilo bytes when encoding to the image format. This shall be KECamNoSpecificMaxMemorySize if client has no specific preference or if this setting is not supported. In case of JPEG, the maximum memory size will take preference over JPEG quality if the maximum memory size is not sufficient to achieve the desired quality. Refer CCamera::JpegQuality().

TUint iImageProcessingOptions

TUint iImageProcessingOptions[private]

Bitfield of selected TEcamProcessingOptions which should be used after the images are captured from the sensor.

TSize iImageSize

TSize iImageSize

The image size.

CCamera::CCameraAdvancedSettings::TPixelAspectRatio iPixelAspectRatio

CCamera::CCameraAdvancedSettings::TPixelAspectRatio iPixelAspectRatio

Pixel aspect ratio to be used for the image.

TInt iReserved1

TInt iReserved1[private]

TInt iReserved2

TInt iReserved2[private]

TUint iSize

TUint iSize[private]

TUint iVersion

TUint iVersion[private]