class MCameraV2Histogram |
This is a mixin class to be implemented by providers of the extension API for the camera v2 histogram.
Histograms can be sent to the client or directly displayed on the screen.
This class is intended for sub classing by licensees only.
Public Member Functions | |
---|---|
void | GetDirectHistogramPropertiesL ( CCamera::CCameraV2Histogram::TDirectHistogramParameters &) |
void | GetDirectHistogramSupportInfoL ( TBool &) |
void | GetHistogramStateL ( TBool &) |
void | GetSupportedHistogramsL ( TUint &) |
void | PrepareClientHistogramL ( CCamera::CCameraV2Histogram::THistogramType ) |
void | PrepareDirectHistogramL (const CCamera::CCameraV2Histogram::TDirectHistogramParameters &) |
void | Release ( CCamera::CCameraV2Histogram *) |
void | SetHistogramHandle ( CCamera::CCameraV2Histogram *) |
void | StartHistogram () |
void | StopHistogram () |
void | UpdateDirectHistogramPropertiesL (const CCamera::CCameraV2Histogram::TDirectHistogramParameters &) |
void | GetDirectHistogramPropertiesL | ( | CCamera::CCameraV2Histogram::TDirectHistogramParameters & | aDirectHistogramParameters | ) | const [pure virtual] |
Retrieves the currently used parameters for the direct histogram.
CCamera::CCameraV2Histogram::TDirectHistogramParameters & aDirectHistogramParameters | Retrieves the parameters currently being used for the direct histogram. |
void | GetDirectHistogramSupportInfoL | ( | TBool & | aIsDirectHistogramSupported | ) | const [pure virtual] |
Informs whether or not the direct histogram is supported.
TBool & aIsDirectHistogramSupported | ETrue implies that direct histogram is supported. EFalse implies that direct histogram is not supported. |
void | GetHistogramStateL | ( | TBool & | aIsHistogramActive | ) | const [pure virtual] |
Informs whether the histogram is currently active or not. A histogram is in an active state if StartHistogram() has been called on it and has not been yet stopped.
TBool & aIsHistogramActive | ETrue indicates that the histogram is active. EFalse indicates that the histogram is inactive. |
void | GetSupportedHistogramsL | ( | TUint & | aSupportedHistogramType | ) | const [pure virtual] |
Retrieves a list of the supported types of histograms.
TUint & aSupportedHistogramType | A reference to bit field representing the supported types of histograms as given by CCamera:: CCameraV2Histogram::THistogramType |
void | PrepareClientHistogramL | ( | CCamera::CCameraV2Histogram::THistogramType | aType | ) | [pure virtual] |
Request to prepare a client based histogram.
A direct histogram is directly embedded into the viewfinder. If a non direct histogram is requested the histogram data will be passed to the camera client.
Each histogram object will either prepare direct histogram or client histogram. Preparing multiple histograms per object is an invalid case.
CCamera::CCameraV2Histogram::THistogramType aType | The type of histogram to be prepared. This must be one of the supported histogram types given by GetSupportedHistogramsL. |
void | PrepareDirectHistogramL | ( | const CCamera::CCameraV2Histogram::TDirectHistogramParameters & | aDirectHistogramParameters | ) | [pure virtual] |
Prepares the direct histogram.
Each histogram object will either prepare direct histogram or client histogram. Preparing multiple histograms per object is an invalid case.
const CCamera::CCameraV2Histogram::TDirectHistogramParameters & aDirectHistogramParameters | The parameters required to prepare the direct histogram. |
void | Release | ( | CCamera::CCameraV2Histogram * | aHistogramHandle | ) | [pure virtual] |
Releases the interface.
CCamera::CCameraV2Histogram * aHistogramHandle | The pointer to the histogram class object which would be destroyed by the client. |
void | SetHistogramHandle | ( | CCamera::CCameraV2Histogram * | aHistogramHandle | ) | [pure virtual] |
The pointer to the V2 Histogram class used to pass back to the client via observer callbacks when direct histogram gets displayed. Implementation is not supposed to not destroy this object.
MCaptureImageObserver MDirectViewFinderObserver MClientViewFinderObserver
CCamera::CCameraV2Histogram * aHistogramHandle | The pointer to the histogram class object. |
void | StartHistogram | ( | ) | [pure virtual] |
Request to start getting histogram notifications.
Histogram should have been prepared before calling this method.
Histogram notifications are sent to the client by using relevant callbacks for image capture, video capture and viewfinders.
void | UpdateDirectHistogramPropertiesL | ( | const CCamera::CCameraV2Histogram::TDirectHistogramParameters & | aDirectHistogramParameters | ) | [pure virtual] |
Update the parameters for the direct histogram.
const CCamera::CCameraV2Histogram::TDirectHistogramParameters & aDirectHistogramParameters | The desired parameters which have to be used to update the direct histogram. |
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.