rtc: Add frame dropper to VP8 external RC
authorMarco Paniconi <marpan@google.com>
Sun, 12 Nov 2023 08:39:14 +0000 (00:39 -0800)
committerMarco Paniconi <marpan@google.com>
Tue, 14 Nov 2023 20:06:17 +0000 (12:06 -0800)
commit81aaa7f04b7644ac80960d17442199607195b24c
treeb90ddb13126e2f1eb673b5489f2fd28f3858fd0e
parentb7d847d0e7c754ca90c15eaca08515b959ff0359
rtc: Add frame dropper to VP8 external RC

Move some internal drop_frame code to separate
function so the external RC can use.
And add new flag setting under VP8E_SET_RTC_EXTERNAL_RATECTRL
to disable vp8_drop_encodedframe_overshoot() for
testing the external RC.

Unittest added for single layer and 3 temporal layers.

Bug: b/280363228

Change-Id: Ibea2f627cc54e7156ff35259a64dd111d42d146c
test/vp8_ratectrl_rtc_test.cc
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/vp8_cx_iface.c
vp8/vp8_ratectrl_rtc.cc
vp8/vp8_ratectrl_rtc.h