Skip to content

Commit

Permalink
Add VPX_RC_NONE
Browse files Browse the repository at this point in the history
Change-Id: I8ca4caa7ffc4e9f8590ad8d02de0348b88c45254
  • Loading branch information
Angie Chiang committed Apr 19, 2024
1 parent 6f5839f commit 3015c41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vpx/vpx_ext_ratectrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 3015c41

Please sign in to comment.