summaryrefslogtreecommitdiffstats
path: root/gfx/skia/skia/src/gpu/GrTextureToYUVPlanes.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/skia/skia/src/gpu/GrTextureToYUVPlanes.h')
-rw-r--r--gfx/skia/skia/src/gpu/GrTextureToYUVPlanes.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gfx/skia/skia/src/gpu/GrTextureToYUVPlanes.h b/gfx/skia/skia/src/gpu/GrTextureToYUVPlanes.h
new file mode 100644
index 000000000..67b6fce2e
--- /dev/null
+++ b/gfx/skia/skia/src/gpu/GrTextureToYUVPlanes.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef GrTextureToYUVPlanes_DEFINED
+#define GrTextureToYUVPlanes_DEFINED
+
+#include "SkImageInfo.h"
+#include "SkSize.h"
+
+class GrTexture;
+
+bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize[3], void* const planes[3],
+ const size_t rowBytes[3], SkYUVColorSpace);
+
+#endif