CCamera::CCameraPostImageCaptureControl Class Reference

class CCamera::CCameraPostImageCaptureControl : public CBase

CCameraPostImageCaptureControl class exposes an API for retrieving the image data from individual images (in case continuous drive mode is used for capturing the images) and also to apply control on the captured images individually.

CCameraPostImageCaptureControl instances will be owned by CCameraImageCapture and would be available until new capture command is issued using the owning CCameraImageCapture instance. If client wishes to initiate new capture but preserve the CCameraPostImageCaptureControl instances from previous capture, it would have to create a new CCameraImageCapture instance and use that for the new capture.

Note:

This class is not intended for sub-classing and used to standardise existing varieties of implementations.

If the class methods leave, the output type parameter value is not guaranteed to be valid.

The use of this class implies that client will be able to issue image capture call even if previous captures are still outstanding.

Clients must implement an MCaptureImageObserver in order to use this CCameraPostImageCaptureControl API. MCameraObserver2::ImageBufferReady will not be used with this class.

Inherits from

  • CCamera::CCameraPostImageCaptureControl

Constructor & Destructor Documentation

CCameraPostImageCaptureControl(CCamera::CCameraImageCapture *, TPostCaptureControlId)

CCameraPostImageCaptureControl(CCamera::CCameraImageCapture *aCameraImageCapture,
TPostCaptureControlIdaPostCaptureControlId
)[private]

Parameters

CCamera::CCameraImageCapture * aCameraImageCapture
TPostCaptureControlId aPostCaptureControlId

~CCameraPostImageCaptureControl()

IMPORT_C~CCameraPostImageCaptureControl()

Member Functions Documentation

CancelImage()

IMPORT_C voidCancelImage()

ConstructL()

voidConstructL()[private]

CreateL(CCameraImageCapture *, TPostCaptureControlId)

IMPORT_C CCameraPostImageCaptureControl *CreateL(CCameraImageCapture *aCameraImageCapture,
TPostCaptureControlIdaPostCaptureControlId
)[static]

Parameters

CCameraImageCapture * aCameraImageCapture
TPostCaptureControlId aPostCaptureControlId

GetBufferStateL(TBufferState &)

IMPORT_C voidGetBufferStateL(TBufferState &aBufferState)const

Parameters

TBufferState & aBufferState

GetImageBufferL(MCameraImageBuffer &)

IMPORT_C voidGetImageBufferL(MCameraImageBuffer &aCameraImageBuffer)const

Parameters

MCameraImageBuffer & aCameraImageBuffer

GetImagePriorityL(TECamImagePriority &)

IMPORT_C voidGetImagePriorityL(TECamImagePriority &aImagePriority)const

Parameters

TECamImagePriority & aImagePriority

GetImageSequenceNumberL(TUint &)

IMPORT_C voidGetImageSequenceNumberL(TUint &aSequenceNumber)const

Parameters

TUint & aSequenceNumber

GetImageStateL(TImageState &)

IMPORT_C voidGetImageStateL(TImageState &aImageState)const

Parameters

TImageState & aImageState

GetPostCaptureControlId(TPostCaptureControlId &)

IMPORT_C voidGetPostCaptureControlId(TPostCaptureControlId &aPostCaptureControlId)const

Parameters

TPostCaptureControlId & aPostCaptureControlId

ImageCaptureHandle()

IMPORT_C CCamera::CCameraImageCapture *ImageCaptureHandle()const

PauseProcessing(TUint)

IMPORT_C voidPauseProcessing(TUintaProcessingTypes)

Parameters

TUint aProcessingTypes

ResumeProcessingL(TUint)

IMPORT_C voidResumeProcessingL(TUintaProcessingTypes)

Parameters

TUint aProcessingTypes

SetImagePriorityL(TECamImagePriority)

IMPORT_C voidSetImagePriorityL(TECamImagePriorityaImagePriority)

Parameters

TECamImagePriority aImagePriority

Member Enumerations Documentation

Enum TBufferState

Specifies the various states in which the individual image buffers could be. The enumeration list may be extended in future.

Enumerators

EBufferNotPresent

If Direct Saving option used, then user accessible buffers are not present. Hence buffer state will always be EBufferNotPresent. If Direct Saving option not used, this buffer state implies that processing options have not been completed.

EBufferReady

This buffer state implies that processing options have been completed. Client may retrieve the image buffers once this state is reached.

EBufferReleased

This buffer state implies that client has released the image buffers after retrieving the data.

Enum TImageState

Specifies the various states in which the individual images could be. The enumeration list may be extended in future.

Enumerators

EProcessingPending

The image has been exposed to the sensor but still pending for any processing options.

EProcessingOngoing

The image is undergoing processing for the required processing options.

EProcessingCancelled

The processing options associated with the image has been cancelled.

EProcessingCompleted

The processing options associated with the image has been completed. This implies that either the image buffers are ready or the image is directly saved to the file.

Member Data Documentation

CCamera::CCameraImageCapture * iCameraImageCapture

CCamera::CCameraImageCapture *iCameraImageCapture[private]

MCameraPostImageCaptureControl * iImpl

MCameraPostImageCaptureControl *iImpl[private]

TPostCaptureControlId iPostCaptureControlId

TPostCaptureControlId iPostCaptureControlId[private]