Index: include/codec/SkEncodedFormat.h |
diff --git a/include/codec/SkEncodedFormat.h b/include/codec/SkEncodedFormat.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..003159a8de27f59d5b65f423045dacd92d4e2897 |
--- /dev/null |
+++ b/include/codec/SkEncodedFormat.h |
@@ -0,0 +1,27 @@ |
+/* |
+ * Copyright 2015 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef SkEncodedFormat_DEFINED |
+#define SkEncodedFormat_DEFINED |
+ |
+/** |
+ * Enum describing format of encoded data. |
+ */ |
+enum SkEncodedFormat { |
+ kUnknown_SkEncodedFormat, |
+ kBMP_SkEncodedFormat, |
+ kGIF_SkEncodedFormat, |
+ kICO_SkEncodedFormat, |
+ kJPEG_SkEncodedFormat, |
+ kPNG_SkEncodedFormat, |
+ kWBMP_SkEncodedFormat, |
+ kWEBP_SkEncodedFormat, |
+ kPKM_SkEncodedFormat, |
+ kKTX_SkEncodedFormat, |
+ kASTC_SkEncodedFormat, |
+}; |
+#endif // SkEncodedFormat_DEFINED |