Skip to content

Commit

Permalink
Add new BRC mode AVBR
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ChenXiaomin0306 authored and XinfengZhang committed Sep 12, 2018
1 parent 30c751f commit 9c51135
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions va/va.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**@}*/

Expand Down

0 comments on commit 9c51135

Please sign in to comment.