From 3015c41f06c0f166ca2fd2ee9f50078ad7be428a Mon Sep 17 00:00:00 2001 From: Angie Chiang Date: Tue, 16 Apr 2024 21:11:41 -0700 Subject: [PATCH] Add VPX_RC_NONE Change-Id: I8ca4caa7ffc4e9f8590ad8d02de0348b88c45254 --- vpx/vpx_ext_ratectrl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vpx/vpx_ext_ratectrl.h b/vpx/vpx_ext_ratectrl.h index 1570efc4718..a39b4647b54 100644 --- a/vpx/vpx_ext_ratectrl.h +++ b/vpx/vpx_ext_ratectrl.h @@ -38,6 +38,8 @@ extern "C" { #define VPX_RC_MAX_REF_FRAMES 4 /*!\brief The control type of the inference API. + * In VPX_RC_NONE mode, the external rate control doesn't determines anything. + * This mode is used as baseline. * In VPX_RC_QP mode, the external rate control model determines the * quantization parameter (QP) for each frame. * In VPX_RC_GOP mode, the external rate control model determines the @@ -50,6 +52,7 @@ extern "C" { * the QP, GOP and the rdmult. */ typedef enum vpx_rc_type { + VPX_RC_NONE = 0, VPX_RC_QP = 1 << 0, VPX_RC_GOP = 1 << 1, VPX_RC_RDMULT = 1 << 2,