[Libva] [PATCH 27/42] VA_STATUS_ERROR_HW_BUSY: error code to indicate HW is busy
Xiang, Haihao
haihao.xiang at intel.com
Mon May 13 00:51:51 PDT 2013
From: Austin Yuan <shengquan.yuan at intel.com>
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 at intel.com>
---
va/va.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/va/va.h b/va/va.h
index 3ecf6f2..69589d6 100644
--- a/va/va.h
+++ b/va/va.h
@@ -172,6 +172,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() */
--
1.7.4.1
More information about the Libva
mailing list