diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2012-01-25 16:24:55 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-02 02:37:33 +0100 |
commit | 6a88794db4b35128eeef1f3514203d375dbba280 (patch) | |
tree | de6c3e4cfa072216a02bff9be1f84239652399d4 /doc/src | |
parent | 80eaaa21524d2f8ff8f3eb7b657936a27388d69f (diff) | |
download | qtmultimedia-6a88794db4b35128eeef1f3514203d375dbba280.tar.gz |
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>
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/snippets/multimedia-snippets/camera.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/src/snippets/multimedia-snippets/camera.cpp b/doc/src/snippets/multimedia-snippets/camera.cpp index 1712a6450..08a2e89b8 100644 --- a/doc/src/snippets/multimedia-snippets/camera.cpp +++ b/doc/src/snippets/multimedia-snippets/camera.cpp @@ -170,9 +170,7 @@ void cameraimageprocessing() //! [Camera image whitebalance] //! [Camera image denoising] - if (imageProcessing->isDenoisingSupported()) { - imageProcessing->setDenoisingLevel(3); - } + imageProcessing->setDenoisingLevel(-0.3); //reduce the amount of denoising applied //! [Camera image denoising] } |