SurfaceAttribMemoryType: add ION memory type for Android
authorAustin Yuan <shengquan.yuan@gmail.com>
Fri, 1 Mar 2013 02:45:40 +0000 (10:45 +0800)
committerAustin Yuan <shengquan.yuan@gmail.com>
Mon, 4 Mar 2013 01:25:27 +0000 (09:25 +0800)
ION is the new Android memory manager for cross-components buffer
sharing. Adding this memory type for it.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
va/va_android.h

index a5d0e2f..796ab63 100644 (file)
@@ -28,6 +28,8 @@
 
 /** \brief Android Gralloc buffer memory type. */
 #define VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC     0x00100000
+/** \brief Android ION buffer memory type. */
+#define VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_ION         0x00200000
 
 #ifdef __cplusplus
 extern "C" {