[Libva] [PATCH 19/42] API: h264 encode: add macroblock-info config attribute.
Xiang, Haihao
haihao.xiang at intel.com
Mon May 13 00:51:43 PDT 2013
From: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
---
va/va.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/va/va.h b/va/va.h
index f31e0d8..9840a47 100644
--- a/va/va.h
+++ b/va/va.h
@@ -362,6 +362,18 @@ typedef enum
* structure types.
*/
VAConfigAttribEncSliceStructure = 15,
+ /**
+ * \brief Macroblock information. Read-only.
+ *
+ * This attribute determines whether the driver supports extra
+ * encoding information per-macroblock. e.g. QP.
+ *
+ * More specifically, for H.264 encoding, if the driver returns a non-zero
+ * value for this attribute, this means the application can create
+ * additional #VAEncMacroblockParameterBufferH264 buffers referenced
+ * through VAEncSliceParameterBufferH264::macroblock_info.
+ */
+ VAConfigAttribEncMacroblockInfo = 16,
/**@}*/
} VAConfigAttribType;
--
1.7.4.1
More information about the Libva
mailing list