summaryrefslogtreecommitdiffstats
path: root/src/multimedia/controls/qcameraimageprocessingcontrol.cpp
diff options
context:
space:
mode:
authorDoris Verria <doris.verria@qt.io>2021-02-24 14:54:12 +0100
committerLars Knoll <lars.knoll@qt.io>2021-03-05 12:34:01 +0000
commitf12fc5e884af31036ca2f293791b7fdd2dfa5742 (patch)
treedd53681f4e0c94f213f163cee093ad95156cd27e /src/multimedia/controls/qcameraimageprocessingcontrol.cpp
parent2b329383782eb789ddd47969e4c89efb7750cdf5 (diff)
Get rid of sharpening and denoising in QCameraImageProcessing
Adjusting these values was only supported on v4l. Change-Id: Ie52e24e33d59a69983c99e4de6dec9d2716ff19d Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/controls/qcameraimageprocessingcontrol.cpp')
-rw-r--r--src/multimedia/controls/qcameraimageprocessingcontrol.cpp21
1 files changed, 4 insertions, 17 deletions
diff --git a/src/multimedia/controls/qcameraimageprocessingcontrol.cpp b/src/multimedia/controls/qcameraimageprocessingcontrol.cpp
index 0bdc13672..6fe9be0a6 100644
--- a/src/multimedia/controls/qcameraimageprocessingcontrol.cpp
+++ b/src/multimedia/controls/qcameraimageprocessingcontrol.cpp
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
\brief The QCameraImageProcessingControl class provides an abstract class
for controlling image processing parameters, like white balance,
- contrast, saturation, sharpening and denoising.
+ contrast, saturation.
Camera service may choose the parameters of image processing pipeline depending
on sensor properties camera settings and capture parameters.
@@ -64,10 +64,6 @@ QT_BEGIN_NAMESPACE
allows to adjust the parameter values, selected by camera engine,
while parameters like Contrast and Saturation overwrites them.
- For example setting the SharpeningAdjustment parameter to -0.1
- slightly reduces the amount of sharpening applied,
- while settings the Sharpening parameter to 0 disables sharpening at all.
-
\sa QCamera
*/
@@ -115,10 +111,9 @@ QCameraImageProcessingControl::QCameraImageProcessingControl(QObject *parent)
The valid values range depends on the parameter type.
For WhiteBalancePreset the value should be one of QCameraImageProcessing::WhiteBalanceMode values;
- for Contrast, Saturation, Brightness, Sharpening and Denoising the value should be
- in [0..1.0] range with invalid QVariant value indicating the default parameter value;
- for ContrastAdjustment, SaturationAdjustment, BrightnessAdjustment,
- SharpeningAdjustment and DenoisingAdjustment the value should be
+ for Contrast, Saturation and Brightness the value should be in [0..1.0] range with invalid QVariant
+ value indicating the default parameter value;
+ for ContrastAdjustment, SaturationAdjustment, BrightnessAdjustment, the value should be
in [-1.0..1.0] range with default 0.
*/
@@ -135,20 +130,12 @@ QCameraImageProcessingControl::QCameraImageProcessingControl(QObject *parent)
Image saturation.
\value Brightness
Image brightness.
- \value Sharpening
- Amount of sharpening applied.
- \value Denoising
- Amount of denoising applied.
\value ContrastAdjustment
Image contrast adjustment.
\value SaturationAdjustment
Image saturation adjustment.
\value BrightnessAdjustment
Image brightness adjustment.
- \value SharpeningAdjustment
- Adjustment of sharpening applied.
- \value DenoisingAdjustment
- Adjustment of denoising applied.
\value ColorFilter
Image filter applied. Since 5.5
\value ExtendedParameter