API: h264 encode: add constant QP rate control attribute.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 24 Nov 2011 12:24:40 +0000 (12:24 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 2 Jan 2012 16:59:21 +0000 (17:59 +0100)
va/va.h

diff --git a/va/va.h b/va/va.h
index e495245..1daa258 100644 (file)
--- a/va/va.h
+++ b/va/va.h
@@ -382,11 +382,19 @@ typedef struct _VAConfigAttrib {
 #define VA_RT_FORMAT_YUV444    0x00000004
 #define VA_RT_FORMAT_PROTECTED 0x80000000
 
-/* attribute value for VAConfigAttribRateControl */
-#define VA_RC_NONE     0x00000001      
-#define VA_RC_CBR      0x00000002      
-#define VA_RC_VBR      0x00000004      
-#define VA_RC_VCM      0x00000008 /* video conference mode */
+/** @name Attribute values for VAConfigAttribRateControl */
+/**@{*/
+/** \brief Driver does not support any form of rate control. */
+#define VA_RC_NONE                     0x00000001
+/** \brief Constant bitrate. */
+#define VA_RC_CBR                      0x00000002
+/** \brief Variable bitrate. */
+#define VA_RC_VBR                      0x00000004
+/** \brief Video conference mode. */   
+#define VA_RC_VCM                      0x00000008
+/** \brief Constant QP. */
+#define VA_RC_CQP                      0x00000010
+/**@}*/
 
 /** @name Attribute values for VAConfigAttribEncPackedHeaders */
 /**@{*/