From: xiaominc Date: Mon, 3 Sep 2018 02:56:44 +0000 (+0800) Subject: Add new BRC mode AVBR X-Git-Tag: android-x86-8.1-r1~14 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fhardware-intel-common-libva.git;a=commitdiff_plain;h=9c511355abea4330e3eaba603f2b2964396bc355 Add new BRC mode AVBR Average variable bitrate control algorithm focuses on overall encoding quality while meeting the specified target bitrate, within the accuracy range, after a convergence period. Change-Id: I048697bd4b40c571a22a551ae56578cc7512e39a Signed-off-by: xiaominc --- diff --git a/va/va.h b/va/va.h index a4e56ca..0f7431a 100644 --- a/va/va.h +++ b/va/va.h @@ -827,6 +827,16 @@ typedef struct _VAConfigAttrib { * and reuse quality_factor in \c VAEncMiscParameterRateControl * */ #define VA_RC_QVBR 0x00000400 +/** \brief Average VBR + * Average variable bitrate control algorithm focuses on overall encoding + * quality while meeting the specified target bitrate, within the accuracy + * range, after a convergence period. + * bits_per_second in VAEncMiscParameterRateControl is target bitrate for AVBR. + * Convergence is specified in the unit of frame. + * window_size in VAEncMiscParameterRateControl is equal to convergence for AVBR. + * Accuracy is in the range of [1,100], 1 means one percent, and so on. + * target_percentage in VAEncMiscParameterRateControl is equal to accuracy for AVBR. */ +#define VA_RC_AVBR 0x00000800 /**@}*/