aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar sugoi <sugoi@chromium.org>2014-07-07 15:09:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-07 15:09:49 -0700
commit24dcac2140a7cca111c7f1bd44b44541644887a3 (patch)
tree2b7c88691e02289791cf242c9195cdf6c6d25796 /gyp
parent3230517a77431b3680f4b44a0cc891786dd80998 (diff)
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
Diffstat (limited to 'gyp')
-rw-r--r--gyp/gmslides.gypi1
-rw-r--r--gyp/gpu.gypi2
2 files changed, 3 insertions, 0 deletions
diff --git a/gyp/gmslides.gypi b/gyp/gmslides.gypi
index 6bf46a393c..1ee27fda8c 100644
--- a/gyp/gmslides.gypi
+++ b/gyp/gmslides.gypi
@@ -182,6 +182,7 @@
'../gm/xfermodes.cpp',
'../gm/xfermodes2.cpp',
'../gm/xfermodes3.cpp',
+ '../gm/yuvtorgbeffect.cpp',
# Files needed by particular GMs
'../src/utils/debugger/SkDrawCommand.h',
diff --git a/gyp/gpu.gypi b/gyp/gpu.gypi
index 9b01a46118..551f48db66 100644
--- a/gyp/gpu.gypi
+++ b/gyp/gpu.gypi
@@ -173,6 +173,8 @@
'<(skia_src_path)/gpu/effects/GrTextureDomain.h',
'<(skia_src_path)/gpu/effects/GrTextureStripAtlas.cpp',
'<(skia_src_path)/gpu/effects/GrTextureStripAtlas.h',
+ '<(skia_src_path)/gpu/effects/GrYUVtoRGBEffect.cpp',
+ '<(skia_src_path)/gpu/effects/GrYUVtoRGBEffect.h',
'<(skia_src_path)/gpu/gl/GrGLAssembleInterface.cpp',
'<(skia_src_path)/gpu/gl/GrGLAssembleInterface.h',