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

Side by Side Diff: src/gpu/effects/GrYUVtoRGBEffect.h

Issue 516463005: Add support for the Rec601 YUV color space to GrYUVtoRGBEffect. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: use float literals to make VS happy Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « src/gpu/SkGr.cpp ('k') | src/gpu/effects/GrYUVtoRGBEffect.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrYUVtoRGBEffect_DEFINED 8 #ifndef GrYUVtoRGBEffect_DEFINED
9 #define GrYUVtoRGBEffect_DEFINED 9 #define GrYUVtoRGBEffect_DEFINED
10 10
11 #include "SkImageInfo.h"
12
11 class GrEffect; 13 class GrEffect;
12 class GrTexture; 14 class GrTexture;
13 15
14 namespace GrYUVtoRGBEffect { 16 namespace GrYUVtoRGBEffect {
15 /** 17 /**
16 * Creates an effect that performs color conversion from YUV to RGB 18 * Creates an effect that performs color conversion from YUV to RGB
17 */ 19 */
18 GrEffect* Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTextu re); 20 GrEffect* Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTextu re,
21 SkYUVColorSpace colorSpace);
19 }; 22 };
20 23
21 #endif 24 #endif
OLDNEW
« no previous file with comments | « src/gpu/SkGr.cpp ('k') | src/gpu/effects/GrYUVtoRGBEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698