From 8e834a52eb9e46bb91805c6736f9880a19298490 Mon Sep 17 00:00:00 2001 From: Carl Zhang Date: Thu, 11 Apr 2024 15:58:49 +0800 Subject: [PATCH] va: deprecate VA_RC_MB 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 --- va/va.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/va/va.h b/va/va.h index d349704e8..05c49523a 100644 --- a/va/va.h +++ b/va/va.h @@ -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