class CCaeEngine : public CBase |
The Camera Application Engine interface (abstract base class).
Public Member Enumerations | |
---|---|
enum | TOperationMode { EOperationModeStill = 0x00, EOperationModeVideo = 0x01 } |
enum | TSnapImageSource { ESnapImageSourceOriginal , ESnapImageSourceThumbnail } |
enum | TViewFinder { EViewFinderBitmaps = 0x00, EViewFinderDirect = 0x01 } |
enum | TZoomMode { EZoomModeDigital = 0x00, EZoomModeOptical = 0x01, EZoomModeOpticalDigital = 0x02 } |
TInt | Brightness | ( | ) | const [pure virtual] |
TInt | CCameraHandle | ( | ) | const [pure virtual] |
IMPORT_C TInt | CamerasAvailable | ( | ) | [static] |
void | CancelCaptureStill | ( | ) | [pure virtual] |
void | CaptureStill | ( | ) | [pure virtual] |
void | CloseVideoRecording | ( | ) | [pure virtual] |
TAny * | CustomInterface | ( | TUid | aInterface | ) | [pure virtual] |
TUid aInterface |
void | DisableVideoRecording | ( | ) | [pure virtual] |
void | EnableVideoRecording | ( | ) | [pure virtual] |
void | EnumerateStillCaptureSizes | ( | TSize & | aSize, |
TInt | aSizeIndex, | |||
CCamera::TFormat | aFormat | |||
) | const [pure virtual] |
TSize & aSize | Returned image size. |
TInt aSizeIndex | Size index. |
CCamera::TFormat aFormat | The image format. |
TInt | EnumerateVideoFrameSizeL | ( | const TSize & | aSize | ) | [pure virtual] |
const TSize & aSize | enumerated size |
TInt | EstimatedStillSizeInBytes | ( | TInt | aStillQualityIndex | ) | const [pure virtual] |
TInt aStillQualityIndex | Still capture quality index. |
TInt | EstimatedVideoRecordingBitRateL | ( | TInt | aVideoQualityIndex | ) | const [pure virtual] |
TInt aVideoQualityIndex | Video quality level index. |
TInt | EvCompensation | ( | ) | const [pure virtual] |
CCamera::TExposure | ExposureMode | ( | ) | const [pure virtual] |
CCamera::TFlash | FlashMode | ( | ) | const [pure virtual] |
void | GetInfo | ( | TCamAppEngineInfo & | aInfo | ) | const [pure virtual] |
TCamAppEngineInfo & aInfo | Info about supported features. |
void | GetOrderL | ( | RCaeOrderedFeatureList & | aOrderedFeatureList | ) | [pure virtual] |
RCaeOrderedFeatureList & aOrderedFeatureList |
void | GetStillFrameSize | ( | TInt | aStillQualityIndex, |
TSize & | aSize | |||
) | const [pure virtual] |
void | GetVideoFrameSize | ( | TInt | aVideoQualityIndex, |
TSize & | aSize | |||
) | const [pure virtual] |
void | GetViewFinderSize | ( | TSize & | aSize | ) | [pure virtual] |
TSize & aSize | View finder size. |
void | InitL | ( | TBool | aCreateSnapImage = ETrue | ) | [pure virtual] |
TBool aCreateSnapImage = ETrue | Boolean indicating if "snap-images" should be created, leading to calls of McaeoSnapImageReady. |
void | InitL | ( | TUid | aSdUidStillQltyLevels, |
TBool | aCreateSnapImage = ETrue | |||
) | [pure virtual] |
void | InitVideoRecorderL | ( | ) | [pure virtual] |
void | InitVideoRecorderL | ( | TUid | aSdUidVideoQltyLevels | ) | [pure virtual] |
TUid aSdUidVideoQltyLevels | Video recording quality levels Shared Data initialization file UID. |
TBool | IsVideoRecording | ( | ) | const [pure virtual] |
TBool | IsViewFinding | ( | ) | const [pure virtual] |
TInt | JpegQuality | ( | ) | const [pure virtual] |
IMPORT_C CCaeEngine * | NewL | ( | ) | [static] |
IMPORT_C CCaeEngine * | NewL | ( | TInt | aCameraIndex | ) | [static] |
TInt aCameraIndex | Index from 0 to CamerasAvailable()-1 inclusive specifying the camera device to use. |
IMPORT_C CCaeEngine * | NewL | ( | TInt | aCameraIndex, |
TInt | aDisplayIndex | |||
) | [static] |
void | PauseVideoRecording | ( | ) | [pure virtual] |
void | PowerOn | ( | ) | [pure virtual] |
void | PrepareStillCaptureL | ( | TInt | aStillQualityIndex | ) | [pure virtual] |
TInt aStillQualityIndex | Still image quality level index. Imaging parameters linked to quality levels are defined by Shared Data ini-file. |
void | PrepareStillCaptureL | ( | TInt | aStillQualityIndex, |
const TRect & | aCropRect | |||
) | [pure virtual] |
void | PrepareStillCaptureL | ( | const TSize & | aSize, |
CCamera::TFormat | aFormat, | |||
TInt | aCompressionQuality | |||
) | [pure virtual] |
const TSize & aSize | Still image size. |
CCamera::TFormat aFormat | Still image format. |
TInt aCompressionQuality | Still image compression quality [0...100]. |
void | PrepareStillCaptureL | ( | const TSize & | aSize, |
CCamera::TFormat | aFormat, | |||
TInt | aCompressionQuality, | |||
const TRect & | aCropRect | |||
) | [pure virtual] |
const TSize & aSize | Still image size. |
CCamera::TFormat aFormat | Still image format. |
TInt aCompressionQuality | Still image compression quality [0...100]. |
const TRect & aCropRect | Desired cropping/clipping rectangle. |
void | PrepareStillCaptureL | ( | TInt | aStillQualityIndex, |
TSize & | aSnapSize | |||
) | [pure virtual] |
void | PrepareStillCaptureL | ( | const TSize & | aSize, |
CCamera::TFormat | aFormat, | |||
TInt | aCompressionQuality, | |||
const TRect & | aCropRect, | |||
TSize & | aSnapSize | |||
) | [pure virtual] |
const TSize & aSize | Still image size. |
CCamera::TFormat aFormat | Still image format. |
TInt aCompressionQuality | Still image compression quality [0...100]. |
const TRect & aCropRect | Desired cropping/clipping rectangle. The size (0,0) means that this parameter is ignored. |
TSize & aSnapSize | Desired snap image size. Returns the real snap image size. |
void | PrepareVideoRecordingL | ( | TInt | aVideoQualityIndex | ) | [pure virtual] |
TInt aVideoQualityIndex | Video quality level index. Can have values 0 ... TCamAppEngineInfo::iNumVideoQualityLevelsSupported - 1 |
void | PrepareVideoRecordingL | ( | const TSize & | aFrameSize, |
TReal32 | aFrameRate, | |||
TInt | aBitRate, | |||
TBool | aAudioEnabled, | |||
const TDesC8 & | aMimeType, | |||
const TDesC & | aPreferredSupplier, | |||
const TDesC8 & | aVideoType = KNullDesC8 , | |||
const TDesC8 & | aAudioType = KNullDesC8 | |||
) | [pure virtual] |
const TSize & aFrameSize | Frame size. |
TReal32 aFrameRate | Frame rate. |
TInt aBitRate | Bit rate. |
TBool aAudioEnabled | Boolean indicating whether audio should be enabled or not. |
const TDesC8 & aMimeType | MIME type. |
const TDesC & aPreferredSupplier | Preferred supplier of video encoder. |
const TDesC8 & aVideoType = KNullDesC8 | Video type. |
const TDesC8 & aAudioType = KNullDesC8 | Audio type. |
void | PrepareVideoRecordingL | ( | const TSize & | aFrameSize, |
TReal32 | aFrameRate, | |||
TInt | aBitRate, | |||
TBool | aAudioEnabled, | |||
TInt | aAudioBitRate, | |||
const TDesC8 & | aMimeType, | |||
const TDesC & | aPreferredSupplier, | |||
const TDesC8 & | aVideoType, | |||
const TDesC8 & | aAudioType | |||
) | [pure virtual] |
const TSize & aFrameSize | Frame size. |
TReal32 aFrameRate | Frame rate. |
TInt aBitRate | Bit rate. |
TBool aAudioEnabled | Boolean indicating whether audio should be enabled or not. |
TInt aAudioBitRate | Audio bit rate. |
const TDesC8 & aMimeType | MIME type. |
const TDesC & aPreferredSupplier | Preferred supplier of video encoder. |
const TDesC8 & aVideoType | Video type. |
const TDesC8 & aAudioType | Audio type. |
void | ProcessExtCapturedImageL | ( | CFbsBitmap & | aBitmap, |
TBool | aLastImage | |||
) | [pure virtual] |
CFbsBitmap & aBitmap | The captured bitmap image. Does not transfer ownership. |
TBool aLastImage | Set when last image of the burst is completed. |
void | ProcessExtCapturedImageL | ( | HBufC8 * | aImageData, |
TBool | aLastImage | |||
) | [pure virtual] |
void | ProcessExtCapturedImageL | ( | TDesC8 & | aImageDataDes, |
TBool | aLastImage | |||
) | [pure virtual] |
void | ProcessExtSnapImageL | ( | CFbsBitmap & | aSnapImage | ) | [pure virtual] |
CFbsBitmap & aSnapImage | The bitmap of snap image. Does not transfer ownership. |
void | ProcessExtViewFinderFrameReadyL | ( | CFbsBitmap & | aFrame | ) | [pure virtual] |
CFbsBitmap & aFrame | The view finder frame bitmap that is processed. |
void | Release | ( | ) | [pure virtual] |
TTimeIntervalMicroSeconds | RemainingVideoRecordingTime | ( | ) | const [pure virtual] |
void | Reserve | ( | ) | [pure virtual] |
void | ResetToDefaultsL | ( | ) | [pure virtual] |
void | ResumeVideoRecording | ( | ) | [pure virtual] |
TInt | SetAsyncVideoStopMode | ( | TBool | aAsyncVideoStopEnabled | ) | [pure virtual] |
TBool aAsyncVideoStopEnabled | The async stop state. |
void | SetBrightnessL | ( | TInt | aBrightness = 0 | ) | [pure virtual] |
TInt aBrightness = 0 | Brightness value in the range ECam.h SetBrightnessL allows. |
void | SetCaeExtensionModeL | ( | TBool | aExtModeActive, |
TBool | aCreateSnapImage | |||
) | [pure virtual] |
void | SetCaeStillBurstObserver | ( | MCaeStillBurstObserver & | aObserver | ) | [pure virtual] |
MCaeStillBurstObserver & aObserver | Camera Application Engine still burst observer. |
void | SetCamAppEngineObserver | ( | MCamAppEngineObserver & | aObserver | ) | [pure virtual] |
MCamAppEngineObserver & aObserver | Reference to Camera Application Engine observer. |
void | SetContrastL | ( | TInt | aContrast = 0 | ) | [pure virtual] |
TInt aContrast = 0 | Contrast value in the range ECam.h SetContrastL allows. |
void | SetEvCompensationL | ( | TInt | aEvIndex = 0 | ) | [pure virtual] |
TInt aEvIndex = 0 | Exposure value compensation index to set. |
void | SetExposureModeL | ( | CCamera::TExposure | aExposureMode = CCamera::EExposureAuto | ) | [pure virtual] |
CCamera::TExposure aExposureMode = CCamera::EExposureAuto | Exposure mode in the range ECam.h SetExposureL allows. |
void | SetFlashModeL | ( | CCamera::TFlash | aFlashMode = CCamera::EFlashNone | ) | [pure virtual] |
CCamera::TFlash aFlashMode = CCamera::EFlashNone | Flash mode in the range ECam.h SetFlashL allows. |
void | SetImageCodecsL | ( | TUid | aDecoderUid, |
TUid | aEncoderUid | |||
) | [pure virtual] |
void | SetJpegQuality | ( | TInt | aQuality | ) | [pure virtual] |
TInt aQuality | The quality value to use, clamped to the range 1 to 100. |
void | SetOrderL | ( | const RCaeOrderedFeatureList & | aOrderedFeatureList | ) | [pure virtual] |
const RCaeOrderedFeatureList & aOrderedFeatureList |
void | SetSkippedExtensionList | ( | RCaeOrderedFeatureList & | aSkippedExtensions | ) | [pure virtual] |
RCaeOrderedFeatureList & aSkippedExtensions | The list of installed and skipped extensions TUid. |
void | SetSnapImageColorMode | ( | TDisplayMode | aMode | ) | [pure virtual] |
TDisplayMode aMode | The color mode of the snap bitmap. |
void | SetSnapImageCreation | ( | TBool | aCreateSnapImage = ETrue | ) | [pure virtual] |
TBool aCreateSnapImage = ETrue | Boolean indicating if "snap-images" for displaying should be created, leading to calls of McaeoSnapImageReady. |
void | SetSnapImageSizeL | ( | TSize & | aSize | ) | [pure virtual] |
TSize & aSize | The size of the snap bitmap. Corrected size is returned. |
void | SetSnapImageSourceL | ( | TSnapImageSource | aSnapImageSource | ) | [pure virtual] |
TSnapImageSource aSnapImageSource | The source of the snap image bitmap. |
void | SetStillBurstCaptureIntervalL | ( | TTimeIntervalMicroSeconds | aInterval | ) | [pure virtual] |
TTimeIntervalMicroSeconds aInterval | Time interval in microseconds. |
TInt | SetStillCaptureImageCountL | ( | TInt | aImageCount | ) | [pure virtual] |
TInt aImageCount | The desired count of images to capture (in a burst). |
void | SetVideoAudioL | ( | TBool | aAudioEnabled | ) | [pure virtual] |
TBool aAudioEnabled | Boolean indicating whether audio should be enabled or not for video recording. |
void | SetVideoClipMaxSizeL | ( | TInt | aMaxClipSizeInBytes = 0 | ) | [pure virtual] |
TInt aMaxClipSizeInBytes = 0 | Maximum video clip size measured in bytes. If set to 0, then no limit but the available storage space. |
void | SetVideoRecordingFileNameL | ( | const TDesC & | aVideoClipFileName | ) | [pure virtual] |
const TDesC & aVideoClipFileName | File name. |
void | SetVideoTimesIntervalL | ( | TTimeIntervalMicroSeconds | aInterval | ) | [pure virtual] |
TTimeIntervalMicroSeconds aInterval | Time interval in microseconds for video recording time info. If zero is given as interval, then video recording time is not generated. |
void | SetViewFinderMirrorL | ( | TBool | aMirror = EFalse | ) | [pure virtual] |
TBool aMirror = EFalse | Boolean indicating whether view finder image should be mirrored or not. |
void | SetWhiteBalanceModeL | ( | CCamera::TWhiteBalance | aWhiteBalanceMode = CCamera::EWBAuto | ) | [pure virtual] |
CCamera::TWhiteBalance aWhiteBalanceMode = CCamera::EWBAuto | White balance mode in the range ECam.h SetWhiteBalanceL allows. |
void | SetZoomModeL | ( | TZoomMode | aZoomMode = EZoomModeDigital | ) | [pure virtual] |
TZoomMode aZoomMode = EZoomModeDigital | Zoom mode to set. |
void | SetZoomValueL | ( | TInt | aZoomValue = 0 | ) | [pure virtual] |
TInt aZoomValue = 0 | Index of the zoom factor to set. |
void | SkippedExtensionListL | ( | RCaeOrderedFeatureList & | aSkippedExtensions | ) | [pure virtual] |
RCaeOrderedFeatureList & aSkippedExtensions | The list of skipped extensions TUid. |
void | StartVideoRecording | ( | ) | [pure virtual] |
void | StartViewFinderBitmapsL | ( | TSize & | aSize | ) | [pure virtual] |
TSize & aSize | Desired view finder size. |
void | StartViewFinderBitmapsL | ( | TSize & | aSize, |
TRect & | aCropRect | |||
) | [pure virtual] |
void | StartViewFinderDirectL | ( | RWsSession & | aWs, |
CWsScreenDevice & | aScreenDevice, | |||
RWindowBase & | aWindow, | |||
TRect & | aScreenRect | |||
) | [pure virtual] |
RWsSession & aWs | Window server session. |
CWsScreenDevice & aScreenDevice | Software device screen. |
RWindowBase & aWindow | Client-side handle to a server-side window. |
TRect & aScreenRect | Portion of screen in screen co-ordinates. |
void | StartViewFinderDirectL | ( | RWsSession & | aWs, |
CWsScreenDevice & | aScreenDevice, | |||
RWindowBase & | aWindow, | |||
TRect & | aScreenRect, | |||
TRect & | aCropRect | |||
) | [pure virtual] |
TTimeIntervalMicroSeconds | StillBurstCaptureInterval | ( | ) | const [pure virtual] |
TInt | StillCaptureImageCount | ( | ) | const [pure virtual] |
TInt | StillQualityIndex | ( | ) | const [pure virtual] |
void | StopStillBurstCapture | ( | ) | [pure virtual] |
void | StopVideoRecording | ( | ) | [pure virtual] |
TBool | VideoAudio | ( | ) | const [pure virtual] |
TInt | VideoClipMaxSize | ( | ) | const [pure virtual] |
TReal32 | VideoFrameRate | ( | TInt | aVideoQualityIndex | ) | const [pure virtual] |
TInt aVideoQualityIndex | Video quality level index. |
TInt | VideoQualityIndex | ( | ) | const [pure virtual] |
TTimeIntervalMicroSeconds | VideoTimesInterval | ( | ) | const [pure virtual] |
TBool | ViewFinderMirror | ( | ) | const [pure virtual] |
CCamera::TWhiteBalance | WhiteBalanceMode | ( | ) | const [pure virtual] |
EZoomModeDigital = 0x00 | |
EZoomModeOptical = 0x01 | |
EZoomModeOpticalDigital = 0x02 |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.