diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-02-15 01:09:09 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-02-15 01:09:09 (GMT) |
commit | ec2a1fc447112d7200a378d56cf83894cdd00653 (patch) | |
tree | 55ed8892571ae295c025f156e8ce5b248f27a2cd /src/multimedia | |
parent | 3cc41dc8cd0c3d1e0540f3f3e975d62a4dc89e9b (diff) | |
download | Qt-ec2a1fc447112d7200a378d56cf83894cdd00653.zip Qt-ec2a1fc447112d7200a378d56cf83894cdd00653.tar.gz Qt-ec2a1fc447112d7200a378d56cf83894cdd00653.tar.bz2 |
Extend hue rotation to a full 360 degrees.
Diffstat (limited to 'src/multimedia')
-rw-r--r-- | src/multimedia/base/qpaintervideosurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/base/qpaintervideosurface.cpp b/src/multimedia/base/qpaintervideosurface.cpp index f097db8..f451809 100644 --- a/src/multimedia/base/qpaintervideosurface.cpp +++ b/src/multimedia/base/qpaintervideosurface.cpp @@ -362,7 +362,7 @@ void QVideoSurfaceGLPainter::updateColors(int brightness, int contrast, int hue, { const qreal b = brightness / 200.0; const qreal c = contrast / 100.0 + 1.0; - const qreal h = hue / 200.0; + const qreal h = hue / 100.0; const qreal s = saturation / 100.0 + 1.0; const qreal cosH = qCos(M_PI * h); |