gralloc: add private flag to indicate chroma space
Bug: 7985212
Change-Id: I1f1205040a72438246246775d57508af16ba1dbd
diff --git a/include/gralloc_priv.h b/include/gralloc_priv.h
index 6dd1597..bf2940e 100644
--- a/include/gralloc_priv.h
+++ b/include/gralloc_priv.h
@@ -65,6 +65,9 @@
struct native_handle nativeHandle;
#endif
+// set if using video encoding colorspace
+#define GRALLOC_USAGE_PRIVATE_CHROMA (GRALLOC_USAGE_PRIVATE_0)
+
enum {
PRIV_FLAGS_FRAMEBUFFER = 0x00000001,
PRIV_FLAGS_USES_UMP = 0x00000002,