Skip to content

Commit

Permalink
va: deprecate VA_RC_MB
Browse files Browse the repository at this point in the history
VA_RC_MB represent microblock based rate control
but rate control implementation should be transparent to application.

application does not care whether the BRC is microblock based or sub block based
or frame based. it just care the quality and compression rate.

Signed-off-by: Carl Zhang <[email protected]>
  • Loading branch information
XinfengZhang committed Apr 11, 2024
1 parent 1b7d71f commit 8e834a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion va/va.h
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,8 @@ typedef struct _VAConfigAttrib {
* adjusts QP at a frame and MB level based on motion to improve subjective quality. */
#define VA_RC_ICQ 0x00000040
/** \brief Macroblock based rate control. Per MB control is decided
* internally in the encoder. It may be combined with other RC modes, except CQP. */
* internally in the encoder. It may be combined with other RC modes, except CQP.
* @deprecated , it is decided internally in driver, driver should enable/disable it internally*/
#define VA_RC_MB 0x00000080
/** \brief Constant Frame Size, it is used for small tolerent */
#define VA_RC_CFS 0x00000100
Expand Down

0 comments on commit 8e834a5

Please sign in to comment.