class CCamera::CCameraPreImageCaptureControl : public CBase |
CCameraPreImageCaptureControl class exposes an API for controlling image operations/settings prior to image capture.
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.
Client should not use old Capture methods present in class CCamera. Class CCameraImageCapture and class CCameraPostImageCaptureControl should be used rather.
Public Member Enumerations | |
---|---|
enum | TDirectSavingType { EDirectSavingNotUsed = 0x00, EDirectSavingHighResolutionFileOnly = 0x01, EDirectSavingWithLowerResolutionFile = 0x02 } |
enum | TDirectSnapshotType { EDirectSnapshotNotSupported = 0x00, EDirectSnapshotSupported = 0x01 } |
enum | TEcamProcessingOptions { EEcamProcessingNone = 0x00000000, EEcamNormalProcessing = 0x00000001, EEcamBackgroundProcessing = 0x00000002 } |
Private Member Enumerations | |
---|---|
enum | TColorSpace { EColorSpaceUnknown = 0x0000, EColorSpacesRGB = 0x0001, EColorSpaceAdobeRGB = 0x0002, EColorSpaceAdobeWideGamutRGB = 0x0004, EColorSpaceCMYK = 0x0008, EColorSpaceYIQ = 0x0010, EColorSpaceYUV = 0x0020, EColorSpaceYDbDr = 0x0040, EColorSpaceYCbCr = 0x0080, EColorSpaceHSB = 0x0100, EColorSpaceHSL = 0x0200 } |
enum | TPanoDirection { EPanoRight, EPanoLeft, EPanoUp, EPanoDown } |
enum | TStitchedImageRetrieval { EStitchedImageRetrieve, EStitchedImageDiscard } |
enum | TStitchingOption { EStitchingOptionNone = 0x00, EStitchingOptionEnable = 0x01, EStitchingOptionDisable = 0x02 } |
Private Attributes | |
---|---|
MCameraPreImageCaptureControl * | iImpl |
CCamera & | iOwner |
CCameraPreImageCaptureControl | ( | CCamera & | aOwner | ) | [private] |
CCamera & aOwner |
void | ConstructL | ( | MPreImageCaptureControlObserver & | aPreImageCaptureControlObserver | ) | [private] |
MPreImageCaptureControlObserver & aPreImageCaptureControlObserver |
IMPORT_C void | GetCaptureEventSupportInfoL | ( | TUint & | aSupportedDriveModes | ) | const |
TUint & aSupportedDriveModes |
void | GetColorSpaceL | ( | TColorSpace & | aColorSpace | ) | const [private] |
TColorSpace & aColorSpace |
IMPORT_C void | GetDirectSavingTypeL | ( | TDirectSavingType & | aDirectSavingType | ) | const |
TDirectSavingType & aDirectSavingType |
IMPORT_C void | GetDirectSnapshotSupportInfoL | ( | TUint & | aIsDirectSnapshotSupported | ) | const |
TUint & aIsDirectSnapshotSupported |
void | GetFailedEmbeddedStillCaptureSettingsL | ( | RArray< TUid > & | aFailedEmbeddedStillCaptureSettings | ) | const [private] |
IMPORT_C void | GetImageFormatsSupportedL | ( | TUint & | aImageFormatsSupported, |
const TSize & | aSize | |||
) | const |
IMPORT_C void | GetImageMaxMemorySizeL | ( | TUint & | aMemorySize | ) | const |
TUint & aMemorySize |
IMPORT_C void | GetImageMaxMemorySizeSettingSupportInfoL | ( | TBool & | aIsImageMaxMemorySizeSettingSupported | ) | const |
TBool & aIsImageMaxMemorySizeSettingSupported |
void | GetMaximumSpotsL | ( | CCamera::CCameraAdvancedSettings::TFocusMode | aFocusMode, |
TInt & | aMaximumSpots | |||
) | const [private] |
CCamera::CCameraAdvancedSettings::TFocusMode aFocusMode | |
TInt & aMaximumSpots |
void | GetPanoDirectionL | ( | TPanoDirection & | aPanoDirection | ) | const [private] |
TPanoDirection & aPanoDirection |
void | GetPanoModeSupportInfoL | ( | TBool & | aIsPanoModeSupported, |
TInt & | aSupportedStitchingOption | |||
) | const [private] |
IMPORT_C void | GetPixelAspectsSupportedL | ( | TUint & | aPixelAspectsSupported, |
CCamera::TFormat | aImageFormat, | |||
const TSize & | aSize | |||
) | const |
TUint & aPixelAspectsSupported | |
CCamera::TFormat aImageFormat | |
const TSize & aSize |
void | GetSpotsCombinationL | ( | CCamera::CCameraAdvancedSettings::TFocusMode | aFocusMode, |
TUint & | aSpotsCombination | |||
) | const [private] |
CCamera::CCameraAdvancedSettings::TFocusMode aFocusMode | |
TUint & aSpotsCombination |
void | GetStreamedImageSupportInfoL | ( | TBool & | aIsStreamedImageSupported | ) | const [private] |
TBool & aIsStreamedImageSupported |
void | GetStreamedImageSupportedTransformationsL | ( | RArray< TUid > & | aStreamedImageSupportedTransformations | ) | const [private] |
void | GetSubFramesStateL | ( | TBool & | aIsSubFrameEnabled | ) | const [private] |
TBool & aIsSubFrameEnabled |
void | GetSupportedColorSpaceL | ( | TUint & | aSupportedColorSpace | ) | const [private] |
TUint & aSupportedColorSpace |
IMPORT_C void | GetSupportedDirectSavingTypeL | ( | TDirectSavingType & | aSupportedDirectSavingType | ) | const |
TDirectSavingType & aSupportedDirectSavingType |
IMPORT_C void | GetSupportedEmbeddedStillCaptureSettingsL | ( | RArray< TUid > & | aSupportedEmbeddedStillCaptureSettings | ) | const |
IMPORT_C void | GetSupportedProcessingOptionsL | ( | TUint & | aECamProcessingOptionsSupported | ) | const |
TUint & aECamProcessingOptionsSupported |
void | GetSupportedSpotsCombinationL | ( | CCamera::CCameraAdvancedSettings::TFocusMode | aFocusMode, |
RArray< TUint > & | aPossibleSpotCombinations | |||
) | const [private] |
CCamera::CCameraAdvancedSettings::TFocusMode aFocusMode | |
RArray< TUint > & aPossibleSpotCombinations |
IMPORT_C CCameraPreImageCaptureControl * | NewL | ( | CCamera & | aCamera, |
MPreImageCaptureControlObserver & | aPreImageCaptureControlObserver | |||
) | [static] |
CCamera & aCamera | |
MPreImageCaptureControlObserver & aPreImageCaptureControlObserver |
IMPORT_C void | PrepareImageCapture | ( | const TPrepareImageParameters & | aPrepareImageParameters, |
MCaptureImageObserver & | aCaptureImageObserver | |||
) |
const TPrepareImageParameters & aPrepareImageParameters | |
MCaptureImageObserver & aCaptureImageObserver |
void | SetColorSpace | ( | TColorSpace | aColorSpace | ) | [private] |
TColorSpace aColorSpace |
IMPORT_C void | SetDirectSavingTypeL | ( | TDirectSavingType | aDirectSavingType | ) |
TDirectSavingType aDirectSavingType |
IMPORT_C void | SetLowerResolutionSequentialImageFilenameL | ( | const TDesC8 & | aLowerResolutionFilename, |
TInt | aStartingSequenceNumber | |||
) |
void | SetPanoDirection | ( | TPanoDirection | aPanoDirection | ) | [private] |
TPanoDirection aPanoDirection |
IMPORT_C void | SetSequentialImageFilenameL | ( | const TDesC8 & | aFilename, |
TInt | aStartingSequenceNumber | |||
) |
void | SetSpotsCombination | ( | CCamera::CCameraAdvancedSettings::TFocusMode | aFocusMode, |
TUint | aSpotsCombination | |||
) | [private] |
CCamera::CCameraAdvancedSettings::TFocusMode aFocusMode | |
TUint aSpotsCombination |
void | StartPanoMode | ( | TStitchingOption | aStitchingOption | ) | [private] |
TStitchingOption aStitchingOption |
void | StartPanoMode | ( | TStitchingOption | aStitchingOption, |
const RArray< TInt > & | aVFHandle | |||
) | [private] |
TStitchingOption aStitchingOption | |
const RArray< TInt > & aVFHandle |
void | StopPanoModeL | ( | TStitchedImageRetrieval | aStitchedImageRetrieval | ) | [private] |
TStitchedImageRetrieval aStitchedImageRetrieval |
Different types of color space. Camera will print or capture images in given color space. The enumeration list may be extended in future.
EColorSpaceUnknown = 0x0000 |
not known |
EColorSpacesRGB = 0x0001 |
sRGB color space |
EColorSpaceAdobeRGB = 0x0002 |
adobeRGB color space |
EColorSpaceAdobeWideGamutRGB = 0x0004 |
adobeWideGamutRGB color space |
EColorSpaceCMYK = 0x0008 |
CMY(K) color space |
EColorSpaceYIQ = 0x0010 |
YIQ color space |
EColorSpaceYUV = 0x0020 |
YUV color space |
EColorSpaceYDbDr = 0x0040 |
YDbDr color space |
EColorSpaceYCbCr = 0x0080 |
YCbCr color space |
EColorSpaceHSB = 0x0100 |
HSB color space |
EColorSpaceHSL = 0x0200 |
HSL color space |
Specifies the type of direct saving. The enumeration list may be extended in future.
EDirectSavingNotUsed = 0x00 |
Image saved in buffers. Direct saving to file not being used. Callback used is MCaptureImageObserver::ImageBufferReady. |
EDirectSavingHighResolutionFileOnly = 0x01 |
Image saved to file as per the format specified. Image saved after any processing options have completed. Callback used is MCaptureImageObserver::ImageDirectSavingCompleted(). |
EDirectSavingWithLowerResolutionFile = 0x02 |
Image saved to file as per the format specified. Also, a lower resolution image gets saved in a separately specified file. This helps in retrieving the lower resolution image sooner than the higher resolution image gets saved. Callback used for lower resolution image saving is MCaptureImageObserver:: CutDownImageDirectSavingCompleted(). |
Specifies the various type of direct snapshot support. The enumeration list may be extended in future.
EDirectSnapshotNotSupported = 0x00 |
Direct snapshot not supported. |
EDirectSnapshotSupported = 0x01 |
Direct Snapshot supported. It will be displayed on the same direct viewfinder screen, out of which it has been created |
Specifies the available processing options. The enumeration list may be extended in future.
EEcamProcessingNone = 0x00000000 |
Processing options are not supported. |
EEcamNormalProcessing = 0x00000001 |
Enable normal processing when image capture is initiated. |
EEcamBackgroundProcessing = 0x00000002 |
Enable background processing when image capture is initiated. |
Specifies direction of panning. The enumeration list may be extended in future.
EPanoRight |
Viewfinder displays towards the right of already captured images |
EPanoLeft |
Viewfinder displays towards the left of already captured images |
EPanoUp |
Viewfinder displays towards the top of already captured images |
EPanoDown |
Viewfinder displays towards the bottom of already captured images |
Specifies whether the panned images captured under 'stitching enabled option' would be discarded by the implementation. The enumeration list may be extended in future.
EStitchedImageRetrieve |
allow ecam implementation to provide the stitched images. |
EStitchedImageDiscard |
instruct ECAM Implementation to discard the stitched images. |
Specifies the stitching options when panning is started. The enumeration list may be extended in future.
EStitchingOptionNone = 0x00 |
Stitching of panned images is not supported by the ECAM Implementation. |
EStitchingOptionEnable = 0x01 |
Stitching of panned images can be done by the ECAM Implementation. |
EStitchingOptionDisable = 0x02 |
Stitching of panned images can be disabled/discarded by the ECAM Implementation. |