1/* 2 * Copyright 2014 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8#ifndef GrYUVtoRGBEffect_DEFINED 9#define GrYUVtoRGBEffect_DEFINED 10 11#include "SkImageInfo.h" 12 13class GrFragmentProcessor; 14class GrTexture; 15 16namespace GrYUVtoRGBEffect { 17 /** 18 * Creates an effect that performs color conversion from YUV to RGB 19 */ 20 GrFragmentProcessor* Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTexture, 21 SkISize sizes[3], SkYUVColorSpace colorSpace); 22}; 23 24#endif 25