am da179d8a: [PORT FROM MAIN] Make libva be ready to support ION shared FDs as surface source indicators.
* commit 'da179d8a7614c88ed9ce1ed220d9287e7f42c90e':
[PORT FROM MAIN] Make libva be ready to support ION shared FDs as surface source indicators.
diff --git a/va/va.h b/va/va.h
index ef6cf63..2aa3a6f 100755
--- a/va/va.h
+++ b/va/va.h
@@ -181,8 +181,8 @@
/** \brief An invalid filter chain was supplied. */
#define VA_STATUS_ERROR_INVALID_FILTER_CHAIN 0x00000021
/** \brief Indicate HW busy (e.g. run multiple encoding simultaneously). */
-#define VA_STATUS_ERROR_HW_BUSY 0x00000022
-#define VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF
+#define VA_STATUS_ERROR_HW_BUSY 0x00000022
+#define VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF
/* De-interlacing flags for vaPutSurface() */
#define VA_FRAME_PICTURE 0x00000000
diff --git a/va/va_tpi.h b/va/va_tpi.h
index f05f08a..3068d39 100644
--- a/va/va_tpi.h
+++ b/va/va_tpi.h
@@ -44,6 +44,7 @@
VAExternalMemoryAndroidGrallocBuffer, /* the memory is from Android Gralloc memory, and buffers points
* the gralloc native_handle_t list
*/
+ VAExternalMemoryIONSharedFD, /* the memory is allocated from ION and shared as a fd */
} VASurfaceMemoryType;
typedef struct _VASurfaceAttributeTPI {