API: h264 encode: add macroblock-info config attribute.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 24 Nov 2011 13:57:41 +0000 (13:57 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 2 Jan 2012 16:59:22 +0000 (17:59 +0100)
va/va.h

diff --git a/va/va.h b/va/va.h
index de2bd11..8bd8271 100644 (file)
--- 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;