summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_ratectrl.h
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2021-06-15 12:54:13 -0700
committerJerome Jiang <jianj@google.com>2021-06-18 14:47:43 -0700
commit1f45e7b07ec839dae7a90455e00c3b2d553ea772 (patch)
treefff259b82c74f3c0caf5842d11f01dc6fe94a988 /vp9/encoder/vp9_ratectrl.h
parent338013712e516d07388651437918e6328ea909f5 (diff)
downloadlibvpx-1f45e7b07ec839dae7a90455e00c3b2d553ea772.tar
libvpx-1f45e7b07ec839dae7a90455e00c3b2d553ea772.tar.gz
libvpx-1f45e7b07ec839dae7a90455e00c3b2d553ea772.tar.bz2
libvpx-1f45e7b07ec839dae7a90455e00c3b2d553ea772.zip
vp9 rc: add vbr to rtc rate control library
Change-Id: I3d2565572c2b905966d60bcaa6e5e6f057b1bd51
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.h')
-rw-r--r--vp9/encoder/vp9_ratectrl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_ratectrl.h b/vp9/encoder/vp9_ratectrl.h
index 8ef10c94a..bdddd2df8 100644
--- a/vp9/encoder/vp9_ratectrl.h
+++ b/vp9/encoder/vp9_ratectrl.h
@@ -27,6 +27,9 @@ extern "C" {
// Bits Per MB at different Q (Multiplied by 512)
#define BPER_MB_NORMBITS 9
+#define DEFAULT_KF_BOOST 2000
+#define DEFAULT_GF_BOOST 2000
+
#define MIN_GF_INTERVAL 4
#define MAX_GF_INTERVAL 16
#define FIXED_GF_INTERVAL 8 // Used in some testing modes only