YUV to RGB converter
authorsugoi <sugoi@chromium.org>
Mon, 7 Jul 2014 22:09:48 +0000 (15:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 7 Jul 2014 22:09:49 +0000 (15:09 -0700)
commit24dcac2140a7cca111c7f1bd44b44541644887a3
tree2b7c88691e02289791cf242c9195cdf6c6d25796
parent3230517a77431b3680f4b44a0cc891786dd80998
YUV to RGB converter

This is a first piece of the GPU YUV decoder, which is the actual effect that performs the conversion. For now, it simply applies the conversion matrix, since it is all I need. I may add modes if different matrices need to be applied or if I add color profile support here.

I'll try to keep these cls short and easy to review, but there should be a few of them coming once this one is in.

BUG=skia:
R=senorblanco@chromium.org, senorblanco@google.com, reed@google.com, bsalomon@google.com

Author: sugoi@chromium.org

Review URL: https://codereview.chromium.org/378503006
gm/yuvtorgbeffect.cpp [new file with mode: 0644]
gyp/gmslides.gypi
gyp/gpu.gypi
src/gpu/effects/GrYUVtoRGBEffect.cpp [new file with mode: 0644]
src/gpu/effects/GrYUVtoRGBEffect.h [new file with mode: 0644]