From a14b295aecd6ad4b9a25af78e4c5d5b766c88ec2 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Thu, 24 Nov 2011 13:57:41 +0000 Subject: [PATCH] API: h264 encode: add macroblock-info config attribute. --- va/va.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/va/va.h b/va/va.h index de2bd11..8bd8271 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; -- 2.7.4