QCameraImageProcessingControl API fixes
Moved white balance preset from the separate methods to QCameraImageProcessingControl::ProcessingParameter; Separated absolute contrast/saturation/sharpening/denoising settings with adjustments to backend decided values, with QCameraImageProcessing using adjustments versions. Changed type of parameters from int to qreal with [0..1] range for absolute values and [-1..1] for adjustments. Change-Id: I85c8781c046be6dd45bcf626c25908e1ce5f6bcb Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
80eaaa2152
commit
6a88794db4
@@ -86,24 +86,21 @@ public:
|
||||
WhiteBalanceMode whiteBalanceMode() const;
|
||||
void setWhiteBalanceMode(WhiteBalanceMode mode);
|
||||
bool isWhiteBalanceModeSupported(WhiteBalanceMode mode) const;
|
||||
int manualWhiteBalance() const;
|
||||
void setManualWhiteBalance(int colorTemperature);
|
||||
|
||||
int contrast() const;
|
||||
void setContrast(int value);
|
||||
qreal manualWhiteBalance() const;
|
||||
void setManualWhiteBalance(qreal colorTemperature);
|
||||
|
||||
int saturation() const;
|
||||
void setSaturation(int value);
|
||||
qreal contrast() const;
|
||||
void setContrast(qreal value);
|
||||
|
||||
static const int DefaultSharpening = -1;
|
||||
bool isSharpeningSupported() const;
|
||||
int sharpeningLevel() const;
|
||||
void setSharpeningLevel(int value);
|
||||
qreal saturation() const;
|
||||
void setSaturation(qreal value);
|
||||
|
||||
static const int DefaultDenoising = -1;
|
||||
bool isDenoisingSupported() const;
|
||||
int denoisingLevel() const;
|
||||
void setDenoisingLevel(int value);
|
||||
qreal sharpeningLevel() const;
|
||||
void setSharpeningLevel(qreal value);
|
||||
|
||||
qreal denoisingLevel() const;
|
||||
void setDenoisingLevel(qreal value);
|
||||
|
||||
private:
|
||||
friend class QCamera;
|
||||
|
||||
Reference in New Issue
Block a user