2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef GrYUVtoRGBEffect_DEFINED
9 #define GrYUVtoRGBEffect_DEFINED
11 #include "SkImageInfo.h"
13 class GrFragmentProcessor;
16 namespace GrYUVtoRGBEffect {
18 * Creates an effect that performs color conversion from YUV to RGB
20 GrFragmentProcessor* Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTexture,
21 SkYUVColorSpace colorSpace);