[Origen] Added Samsung OMX specific macros
Change-Id: I99f2c9479a7b8069edfd6ca4a38f1bb6d9e1fc5e
Signed-off-by: Annamalai Lakshmanan <annamalai.l@samsung.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h
index 9c62242..cf89c66 100644
--- a/include/hardware/gralloc.h
+++ b/include/hardware/gralloc.h
@@ -104,6 +104,14 @@
/* mask for the software usage bit-mask */
GRALLOC_USAGE_HW_MASK = 0x00071F00,
+#ifdef SAMSUNG_CODEC_SUPPORT
+ GRALLOC_USAGE_HW_FIMC1 = 0x01000000,
+ GRALLOC_USAGE_HW_ION = 0x02000000,
+ GRALLOC_USAGE_YUV_ADDR = 0x04000000,
+ /* SEC Private usage , for Overlay path at HWC */
+ GRALLOC_USAGE_HWC_HWOVERLAY = 0x20000000,
+#endif
+
/* buffer should be displayed full-screen on an external display when
* possible
*/