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

Unified Diff: gm/yuvtorgbeffect.cpp

Issue 516463005: Add support for the Rec601 YUV color space to GrYUVtoRGBEffect. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove misleading comment Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/SkGr.cpp » ('j') | src/gpu/effects/GrYUVtoRGBEffect.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/yuvtorgbeffect.cpp
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp
index 12676f262e2477f72cd3a19487ea2b7400e3a0fd..2ac39be8a293cbcafba7705f49a29453cfadd27e 100644
--- a/gm/yuvtorgbeffect.cpp
+++ b/gm/yuvtorgbeffect.cpp
@@ -107,7 +107,8 @@ protected:
SkAutoTUnref<GrEffect> effect(
GrYUVtoRGBEffect::Create(texture[indices[i][0]],
texture[indices[i][1]],
- texture[indices[i][2]]));
+ texture[indices[i][2]],
+ GrYUVtoRGBEffect::kJPEG));
if (effect) {
SkMatrix viewMatrix;
viewMatrix.setTranslate(x, y);
« no previous file with comments | « no previous file | src/gpu/SkGr.cpp » ('j') | src/gpu/effects/GrYUVtoRGBEffect.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698