class CCameraViewFinder : public CBase |
CCamera view finder base class is used to provide features common to both client view finders and direct view finders.
This class is not intended for stand alone use. One of the derived class shall be used instead. Features of this class will automatically be used when either direct view finder or client based view finder are created by clients.
If the class methods leave, the output type parameter value is not guaranteed to be valid.
Public Member Functions | |
---|---|
~CCameraViewFinder() | |
IMPORT_C void | GetViewFinderFadingCapabilitiesL(TViewFinderFadingCapabilities &) |
IMPORT_C void | GetViewFinderFadingEffectL(TViewFinderFadingEffect &) |
IMPORT_C void | GetViewFinderHandleL(TInt &) |
IMPORT_C void | SetViewFinderFadingEffectL(const TViewFinderFadingEffect &) |
Protected Member Functions | |
---|---|
CCameraViewFinder(CCamera &) | |
void | GetImageEnhancementL(TImageEnhancement &) |
void | GetSpotsPositionL(TUint, RArray< TRect > &) |
void | GetSupportedImageEnhancementL(TUint &) |
void | GetSupportedVFMagnificationL(RArray< TUint > &) |
void | GetViewfinderMagnificationL(TUint &) |
void | SetImageEnhancementL(TImageEnhancement) |
void | SetViewfinderMagnificationL(TUint) |
Public Member Enumerations | |
---|---|
enum | TImageEnhancement { EImageEnhancementNone = 0x00, EImageEnhancementSwitchOFF = 0x01, EImageEnhancementAuto = 0x02, EImageEnhancementSwitchOn = 0x04 } |
enum | TViewFinderFadingControl { EVFFadingControlNone = 0x00, EVFFadingControlSwitchedOn = 0x01, EVFFadingControlSwitchedOff = 0x02, EVFFadingControlSwitchAuto = 0x04 } |
enum | TViewFinderFadingDirection { EVFFadingDirectionNone = 0x00, EVFFadingDirectionAuto = 0x01, EVFFadingDirectionUniform = 0x02, EVFFadingDirectionUpDown = 0x04, EVFFadingDirectionDownUp = 0x08, EVFFadingDirectionLeftRight = 0x10, EVFFadingDirectionRightLeft = 0x20 } |
enum | TViewFinderFadingType { EVFFadingTypeNone = 0x00, EVFFadingTypeStaticColorFading = 0x01, EVFFadingTypeStaticFrameFading = 0x02, EVFFadingTypeCross = 0x04 } |
Protected Attributes | |
---|---|
MCameraViewFinder * | iImplBase |
CCamera & | iOwner |
CCameraViewFinder | ( | CCamera & | aOwner | ) | [protected] |
CCamera & aOwner |
void | GetImageEnhancementL | ( | TImageEnhancement & | aImageEnhancement | ) | const [protected] |
TImageEnhancement & aImageEnhancement |
void | GetSpotsPositionL | ( | TUint | aSpotCombination, |
RArray< TRect > & | aSpotsPosition | |||
) | const [protected] |
void | GetSupportedImageEnhancementL | ( | TUint & | aSupportedImageEnhancement | ) | const [protected] |
TUint & aSupportedImageEnhancement |
void | GetSupportedVFMagnificationL | ( | RArray< TUint > & | aSupportedVFMagnification | ) | const [protected] |
IMPORT_C void | GetViewFinderFadingCapabilitiesL | ( | TViewFinderFadingCapabilities & | aVFFadingCapabilities | ) | const |
TViewFinderFadingCapabilities & aVFFadingCapabilities |
IMPORT_C void | GetViewFinderFadingEffectL | ( | TViewFinderFadingEffect & | aCurrentVFFadingEffect | ) | const |
TViewFinderFadingEffect & aCurrentVFFadingEffect |
IMPORT_C void | GetViewFinderHandleL | ( | TInt & | aVFHandle | ) | const |
TInt & aVFHandle |
void | GetViewfinderMagnificationL | ( | TUint & | aVFMagnification | ) | const [protected] |
TUint & aVFMagnification |
void | SetImageEnhancementL | ( | TImageEnhancement | aImageEnhancement | ) | [protected] |
TImageEnhancement aImageEnhancement |
IMPORT_C void | SetViewFinderFadingEffectL | ( | const TViewFinderFadingEffect & | aVFFadingEffect | ) |
const TViewFinderFadingEffect & aVFFadingEffect |
void | SetViewfinderMagnificationL | ( | TUint | aVFMagnification | ) | [protected] |
TUint aVFMagnification |
Image enhancement options to be applied for a particular display. The enumeration list may be extended in future.
EImageEnhancementNone = 0x00 |
Not Supported. |
EImageEnhancementSwitchOFF = 0x01 |
Image Enhancement switches off. |
EImageEnhancementAuto = 0x02 |
Image Enhancement switches to auto mode. |
EImageEnhancementSwitchOn = 0x04 |
Image Enhancement switches on. |
Different ways to control the viewfinder fading. The enumeration list may be extended in future.
EVFFadingControlNone = 0x00 |
Fading not supported. |
EVFFadingControlSwitchedOn = 0x01 |
Switch on (enable) the fading. |
EVFFadingControlSwitchedOff = 0x02 |
Switch off (disable) the fading. |
EVFFadingControlSwitchAuto = 0x04 |
Automatic fading. |
Different directions in which the fading may appear. The enumeration list may be extended in future.
EVFFadingDirectionNone = 0x00 |
Fading not supported. |
EVFFadingDirectionAuto = 0x01 |
Automatic direction or may be even custom direction decided by implementation. |
EVFFadingDirectionUniform = 0x02 |
Uniform fading. |
EVFFadingDirectionUpDown = 0x04 |
Start to fade from up to down. |
EVFFadingDirectionDownUp = 0x08 |
Start to fade from down to up. |
EVFFadingDirectionLeftRight = 0x10 |
Start to fade from left to right. |
EVFFadingDirectionRightLeft = 0x20 |
Start to fade from right to left. |
Different types of available viewfinder fading. The enumeration list may be extended in future.
EVFFadingTypeNone = 0x00 |
Fading not supported. |
EVFFadingTypeStaticColorFading = 0x01 |
Fading from a single frame of color given by the client. |
EVFFadingTypeStaticFrameFading = 0x02 |
Fading from a single frame given by the client. |
EVFFadingTypeCross = 0x04 |
Fading from a number of previous VF frames. |