Index: src/utils/SkRGBAToYUV.h |
diff --git a/src/utils/SkRGBAToYUV.h b/src/utils/SkRGBAToYUV.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a0695f63bd9f16870396cc3afe96a838ce5f6897 |
--- /dev/null |
+++ b/src/utils/SkRGBAToYUV.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 SkRGBAToYUV_DEFINED |
+#define SkRGBAToYUV_DEFINED |
+ |
+#include "SkPixmap.h" |
+#include "SkSize.h" |
+ |
+class SkImage; |
+ |
+void SkRGBAToYUV(const SkImage*, const SkISize [3], void* const planes[3], |
reed1
2016/01/29 20:14:55
// Works with any image type at the moment, but in
bsalomon
2016/02/01 20:27:45
Done.
|
+ const size_t rowBytes[3], SkYUVColorSpace); |
+ |
+#endif |