VA_STATUS_ERROR_HW_BUSY: error code to indicate HW is busy
authorAustin Yuan <shengquan.yuan@intel.com>
Thu, 1 Mar 2012 05:41:40 +0000 (21:41 -0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 28 May 2013 08:19:08 +0000 (16:19 +0800)
Example: the harward only supports one way encode, but we
start two encode apps. This error code can return to app

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

diff --git a/va/va.h b/va/va.h
index 6d3fec1..af4dd72 100644 (file)
--- a/va/va.h
+++ b/va/va.h
@@ -142,6 +142,8 @@ typedef int VAStatus;       /* Return status type from functions */
  * of generic attribute values.
  */
 #define VA_STATUS_ERROR_INVALID_VALUE           0x00000019
+/** \brief Indicate HW busy (e.g. run multiple encoding simultaneously). */
+#define VA_STATUS_ERROR_HW_BUSY                 0x00000022
 #define VA_STATUS_ERROR_UNKNOWN                        0xFFFFFFFF
 
 /* De-interlacing flags for vaPutSurface() */