summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/libjpeg/jccolor.c
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2012-01-29 16:34:26 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2012-01-29 16:34:26 +0000
commit505442d0a0bdc2944f699d9102ae0829703a5407 (patch)
tree1a4c2f72533c67984e0112d35905f480a3a9b0ea /src/lib/libjpeg/jccolor.c
parent5d0cb30e84215504e368130db9e4573c37e458f2 (diff)
Clean-ups and version bumpmame0144u7
Diffstat (limited to 'src/lib/libjpeg/jccolor.c')
-rw-r--r--src/lib/libjpeg/jccolor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libjpeg/jccolor.c b/src/lib/libjpeg/jccolor.c
index 0a8a4b5d13c..787454e2c25 100644
--- a/src/lib/libjpeg/jccolor.c
+++ b/src/lib/libjpeg/jccolor.c
@@ -31,9 +31,9 @@ typedef my_color_converter * my_cconvert_ptr;
* YCbCr is defined per CCIR 601-1, except that Cb and Cr are
* normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5.
* The conversion equations to be implemented are therefore
- * Y = 0.29900 * R + 0.58700 * G + 0.11400 * B
- * Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
- * Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
+ * Y = 0.29900 * R + 0.58700 * G + 0.11400 * B
+ * Cb = -0.16874 * R - 0.33126 * G + 0.50000 * B + CENTERJSAMPLE
+ * Cr = 0.50000 * R - 0.41869 * G - 0.08131 * B + CENTERJSAMPLE
* (These numbers are derived from TIFF 6.0 section 21, dated 3-June-92.)
* Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2,
* rather than CENTERJSAMPLE, for Cb and Cr. This gave equal positive and