]> granicus.if.org Git - libvpx/commit
L2E: Add a new interface to control rdmult
authorCheng Chen <chengchen@google.com>
Sat, 3 Dec 2022 02:04:32 +0000 (18:04 -0800)
committerCheng Chen <chengchen@google.com>
Wed, 7 Dec 2022 22:13:06 +0000 (14:13 -0800)
commit5887bd234e5468be69f8e6e714623a152efeaf93
tree3c407acea81b9bdd8a37142fc2958bc1d6c47c5f
parent2a8a25cf447914515dd7c27030f39b1cc06234f3
L2E: Add a new interface to control rdmult

Allow external model to control frame rdmult.

A function is called per frame to get the value of rdmult from
the external model.

The external rdmult will overwrite libvpx's default rdmult unless
a reserved value is selected.

A unit test is added to test when the default rdmult value is set.

Change-Id: I2f17a036c188de66dc00709beef4bf2ed86a919a
test/vp9_ext_ratectrl_test.cc
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_ext_ratectrl.c
vp9/encoder/vp9_ext_ratectrl.h
vp9/encoder/vp9_rd.c
vpx/vpx_ext_ratectrl.h