diff options
author | xiaominc <xiaomin.chen@intel.com> | 2018-09-03 10:56:44 +0800 |
---|---|---|
committer | XinfengZhang <carl.zhang@intel.com> | 2018-09-12 20:41:43 +0800 |
commit | 9c511355abea4330e3eaba603f2b2964396bc355 (patch) | |
tree | b209f8f4577560528b30c8ef13d77223f7311c04 | |
parent | 30c751f7b74c43021f33361c1baf2aa92acd0317 (diff) | |
download | libva-9c511355abea4330e3eaba603f2b2964396bc355.tar.gz |
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 <xiaomin.chen@intel.com>
-rw-r--r-- | va/va.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 /**@}*/ |