L2E: Use bit mask to represent control type
authorCheng Chen <chengchen@google.com>
Fri, 3 Jun 2022 22:08:48 +0000 (15:08 -0700)
committerCheng Chen <chengchen@google.com>
Mon, 6 Jun 2022 19:45:25 +0000 (12:45 -0700)
commit3c5529e313b3a08cfdcd393efbab3df04aab6074
treebb25fa2140959f86b6428a60d56e9563c2dc6526
parent883292030bcb7a834106c4159c54d7f0c12a8b77
L2E: Use bit mask to represent control type

The bit mask allows us to easily add an additional control mode
which both the QP and GOP are controlled by an external model.

Change-Id: I49f676f622a6e70feb2a39dc97a4e5050b7f4760
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_ext_ratectrl.c
vp9/encoder/vp9_firstpass.c
vpx/vpx_ext_ratectrl.h