summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encoder.c
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2021-03-03 16:45:42 +0000
committerPaul Wilkins <paulwilkins@google.com>2021-03-03 17:07:08 +0000
commitd0567bd779febe995020668cc7f6c1193e3e41d6 (patch)
treea9d879e6e2ab6c651f21fea4cff807475495a5a8 /vp9/encoder/vp9_encoder.c
parentebefb90b75f07ea5ab06d6b2a5ea5355c843d266 (diff)
downloadlibvpx-d0567bd779febe995020668cc7f6c1193e3e41d6.tar
libvpx-d0567bd779febe995020668cc7f6c1193e3e41d6.tar.gz
libvpx-d0567bd779febe995020668cc7f6c1193e3e41d6.tar.bz2
libvpx-d0567bd779febe995020668cc7f6c1193e3e41d6.zip
Add fields into RC for Vizier ML experiments.
This patch adds fields into the RC data structure for the Vizier. The added fields allow control of some extra rate control parameters and rate distortion. This patch also adds functions to initialize the various parameters though many are not yet used / wired in and for now all are set to default values. Ultimately many will be set through new command line options. Change-Id: I41591bb627d3837d2104fb363845adedbddf2e02
Diffstat (limited to 'vp9/encoder/vp9_encoder.c')
-rw-r--r--vp9/encoder/vp9_encoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
index 2757bc428..ecd15cb01 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -2317,6 +2317,7 @@ VP9_COMP *vp9_create_compressor(const VP9EncoderConfig *oxcf,
cpi->frame_info = vp9_get_frame_info(oxcf);
vp9_rc_init(&cpi->oxcf, oxcf->pass, &cpi->rc);
+ vp9_init_rd_parameters(cpi);
init_frame_indexes(cm);
cpi->partition_search_skippable_frame = 0;