CCamera::CCameraImageCapture Class Reference

class CCamera::CCameraImageCapture : public CBase

CCameraImageCapture class exposes an API for capturing the image and controlling the overall capture. This class gets created by the implementation of MCameraPreImageCaptureControl::PrepareImageCapture and passed to the client through callback MPreImageCaptureControlObserver::PrepareImageComplete. Destruction of this class is equivalent to releasing the resources owned in order to prepare and allocate memory for capturing images.

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 CCameraImageCapture API. MCameraObserver2::ImageBufferReady will not be used with this class.

Inherits from

  • CCamera::CCameraImageCapture

Constructor & Destructor Documentation

CCameraImageCapture(CCamera &)

CCameraImageCapture(CCamera &aOwner)[private]

Parameters

CCamera & aOwner

~CCameraImageCapture()

IMPORT_C~CCameraImageCapture()

Member Functions Documentation

CancelCaptureImage()

IMPORT_C voidCancelCaptureImage()

CaptureImage()

IMPORT_C voidCaptureImage()

ConstructL(const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &, MCaptureImageObserver &)

voidConstructL(const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &aPrepareImageParameters,
MCaptureImageObserver &aCaptureImageObserver
)[private]

Parameters

const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters & aPrepareImageParameters
MCaptureImageObserver & aCaptureImageObserver

CreateHistogramHandleL()

IMPORT_C CCamera::CCameraV2Histogram *CreateHistogramHandleL()const

CreateL(CCamera &, const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &, MCaptureImageObserver &)

IMPORT_C CCameraImageCapture *CreateL(CCamera &aCamera,
const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &aPrepareImageParameters,
MCaptureImageObserver &aCaptureImageObserver
)[static]

Parameters

CCamera & aCamera
const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters & aPrepareImageParameters
MCaptureImageObserver & aCaptureImageObserver

GetCaptureImagePriorityL(TECamImagePriority &)

IMPORT_C voidGetCaptureImagePriorityL(TECamImagePriority &aCaptureImagePriority)const

Parameters

TECamImagePriority & aCaptureImagePriority

GetNumImagesExposedL(TUint &)

IMPORT_C voidGetNumImagesExposedL(TUint &aNumImagesExposed)const

Parameters

TUint & aNumImagesExposed

GetNumTotalImagesL(TUint &)

IMPORT_C voidGetNumTotalImagesL(TUint &aNumTotalImages)const

Parameters

TUint & aNumTotalImages

GetPostCaptureControlHandleL(CCamera::CCameraPostImageCaptureControl *&, TPostCaptureControlId)

IMPORT_C voidGetPostCaptureControlHandleL(CCamera::CCameraPostImageCaptureControl *&aPostCaptureControlHandle,
TPostCaptureControlIdaPostCaptureControlId
)const

Parameters

CCamera::CCameraPostImageCaptureControl *& aPostCaptureControlHandle
TPostCaptureControlId aPostCaptureControlId

GetPrepareImageParametersL(CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &)

IMPORT_C voidGetPrepareImageParametersL(CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &aPrepareImageParameters)const

GetSnapshotHandleL(TInt)

IMPORT_C CCamera::CCameraSnapshot *GetSnapshotHandleL(TIntaClientViewFinderId)const

Parameters

TInt aClientViewFinderId

GetTransformationHandleL()

IMPORT_C CCamera::CCameraImageProcessing *GetTransformationHandleL()const

Impl()

MCameraImageCapture *Impl()const [private]

PauseProcessing(TUint)

IMPORT_C voidPauseProcessing(TUintaProcessingTypes)

Parameters

TUint aProcessingTypes

ResumeProcessingL(TUint)

IMPORT_C voidResumeProcessingL(TUintaProcessingTypes)

Parameters

TUint aProcessingTypes

SetCaptureImagePriorityL(TECamImagePriority)

IMPORT_C voidSetCaptureImagePriorityL(TECamImagePriorityaCaptureImagePriority)

Parameters

TECamImagePriority aCaptureImagePriority

Member Data Documentation

MCameraImageCapture * iImpl

MCameraImageCapture *iImpl[private]

CCamera & iOwner

CCamera &iOwner[private]