diff options
Diffstat (limited to 'src/gpu/effects/GrYUVtoRGBEffect.h')
-rw-r--r-- | src/gpu/effects/GrYUVtoRGBEffect.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gpu/effects/GrYUVtoRGBEffect.h b/src/gpu/effects/GrYUVtoRGBEffect.h new file mode 100644 index 0000000000..cc86af7662 --- /dev/null +++ b/src/gpu/effects/GrYUVtoRGBEffect.h @@ -0,0 +1,21 @@ +/* + * Copyright 2014 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef GrYUVtoRGBEffect_DEFINED +#define GrYUVtoRGBEffect_DEFINED + +class GrEffectRef; +class GrTexture; + +namespace GrYUVtoRGBEffect { + /** + * Creates an effect that performs color conversion from YUV to RGB + */ + GrEffectRef* Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTexture); +}; + +#endif |