Go to file
rileya 223ba624b7 Fix incorrect Rec601 YUV conversion matrix coefficient.
For future reference, the rec 601 matrix can be defined by the concatenation of these 2 matrices:

[1.164  0.0    1.596 0.0]
[1.164 -0.391 -0.813 0.0]
[1.164  2.018  0.0   0.0]
[1.164  0.0    0.0   1.0]
See: http://www.fourcc.org/fccyvrgb.php

and

[1.0  0.0  0.0  -0.0625]
[0.0  1.0  0.0  -0.5   ]
[0.0  0.0  1.0  -0.5   ]
[0.0  0.0  0.0   1.0   ]
Which transforms Y by -0.0625 (-16/256) and U and V by
-0.5 (-128/256) each.

Giving us the final matrix:

[1.164  0.0    1.596  -0.87075]
[1.164 -0.391 -0.813   0.52925]
[1.164  2.018  0.0    -1.08175]
[0.0    0.0    0.0     1.0    ]

Which produces our output [R,G,B,A], when multiplied
with an input [Y,U,V,A].

R=bsalomon@google.com

Author: rileya@chromium.org

Review URL: https://codereview.chromium.org/545983006
2014-09-16 06:23:50 -07:00
animations
bench Fix leak in PictureNestingBench 2014-09-15 18:20:11 -07:00
debugger "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
dm Add --matrix to DM, to play around with and maybe use on a bot. 2014-09-11 12:30:12 -07:00
docs warn that docs/quickstart.md is out of sync with official docs 2014-04-21 19:18:46 +00:00
expectations Rebaseline hittestpath and ignore flaky failure on TARUAD 2014-09-15 10:56:59 -04:00
experimental disable webtry seccmp on non-linux build 2014-09-09 15:57:33 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Fix scaling issue with distance field text. 2014-09-16 05:45:19 -07:00
gyp Fix scaling issue with distance field text. 2014-09-16 05:45:19 -07:00
include Picture Recording: fix the performance bottleneck in SkDeferredCanvas::isFullFrame 2014-09-15 22:30:38 -07:00
platform_tools Make -d x86 have the default GPU cache size. 2014-09-09 12:07:05 -07:00
resources Add resources/mandrill_512_q075.jpg 2014-08-27 13:44:34 -04:00
samplecode "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
src Fix incorrect Rec601 YUV conversion matrix coefficient. 2014-09-16 06:23:50 -07:00
tests Picture Recording: fix the performance bottleneck in SkDeferredCanvas::isFullFrame 2014-09-15 22:30:38 -07:00
third_party "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
tools add lua to histogram text lengths 2014-09-15 12:44:14 -07:00
trybots_to_run/chrome Deleting the hardcoded list of compile bots in trybots_to_run. 2013-04-09 11:59:42 +00:00
.gitignore Refactored frontend for the rebaseline server. 2014-09-05 13:51:24 -07:00
AUTHORS Add *@skia.org to AUTHORS so we can land CLs using those addresses if we like. 2014-09-12 12:03:55 -07:00
codereview.settings Add Project to skia 2014-06-20 09:39:15 -07:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Add stephana@ to the list of Skia CQ commiters. 2014-08-13 06:11:09 -07:00
DEPS rebaseline_server: allow users to generate SKP diff patches on a shared instance 2014-08-20 08:00:28 -07:00
Doxyfile delete no-longer-used update-doxygen.sh 2014-05-15 14:41:00 +00:00
gyp_skia Fix Windows bots 2014-06-16 13:41:25 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE
make.bat Enable compiling with automatically-downloaded VS toolchain on Windows bots 2014-06-16 10:02:42 -04:00
make.py Enable compiling with automatically-downloaded VS toolchain on Windows bots 2014-06-16 10:02:42 -04:00
Makefile Update LSAN suppressions. 2014-08-29 07:55:35 -07:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py PRESUBMIT should only check owners for the top level include directory 2014-08-26 14:00:55 -07:00
README Point to skiadocs in our README. 2014-05-09 04:30:09 +00:00
README.chromium add root files from chrome 2013-08-13 19:11:15 +00:00
skia.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
SKP_VERSION Update SKP version to 103 2014-09-15 21:12:37 -07:00
whitespace.txt whitespace change 2014-09-02 08:04:43 -04:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://sites.google.com/site/skiadocs/home