Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Issue 378503006: YUV to RGB converter (Closed)

Created:
6 years, 5 months ago by sugoi1
Modified:
6 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

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: Committed: https://skia.googlesource.com/skia/+/24dcac2140a7cca111c7f1bd44b44541644887a3

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added test and fixed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -0 lines) Patch
A gm/yuvtorgbeffect.cpp View 1 1 chunk +137 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M gyp/gpu.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A src/gpu/effects/GrYUVtoRGBEffect.h View 1 chunk +21 lines, -0 lines 0 comments Download
A src/gpu/effects/GrYUVtoRGBEffect.cpp View 1 1 chunk +108 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
sugoi1
6 years, 5 months ago (2014-07-07 17:51:54 UTC) #1
Stephen White
LGTM, but will leave for others. https://codereview.chromium.org/378503006/diff/1/src/gpu/effects/GrYUVtoRGBEffect.cpp File src/gpu/effects/GrYUVtoRGBEffect.cpp (right): https://codereview.chromium.org/378503006/diff/1/src/gpu/effects/GrYUVtoRGBEffect.cpp#newcode15 src/gpu/effects/GrYUVtoRGBEffect.cpp:15: class YUVtoRGBEffect : ...
6 years, 5 months ago (2014-07-07 17:57:06 UTC) #2
bsalomon
It's possible to add a GM that directly tests an effect. See gm/texturedomaineffect.cpp. https://codereview.chromium.org/378503006/diff/1/src/gpu/effects/GrYUVtoRGBEffect.cpp File ...
6 years, 5 months ago (2014-07-07 17:57:12 UTC) #3
sugoi1
https://codereview.chromium.org/378503006/diff/1/src/gpu/effects/GrYUVtoRGBEffect.cpp File src/gpu/effects/GrYUVtoRGBEffect.cpp (right): https://codereview.chromium.org/378503006/diff/1/src/gpu/effects/GrYUVtoRGBEffect.cpp#newcode15 src/gpu/effects/GrYUVtoRGBEffect.cpp:15: class YUVtoRGBEffect : public GrEffect { On 2014/07/07 17:57:06, ...
6 years, 5 months ago (2014-07-07 20:52:36 UTC) #4
bsalomon
lgtm
6 years, 5 months ago (2014-07-07 21:07:48 UTC) #5
sugoi1
The CQ bit was checked by sugoi@chromium.org
6 years, 5 months ago (2014-07-07 21:52:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/sugoi@chromium.org/378503006/20001
6 years, 5 months ago (2014-07-07 21:53:20 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-07 22:09:57 UTC) #8
Message was sent while issue was closed.
Change committed as 24dcac2140a7cca111c7f1bd44b44541644887a3

Powered by Google App Engine
This is Rietveld 408576698