]> granicus.if.org Git - libvpx/commit
vp9: postencode drop frame for screen content in CBR.
authorJerome Jiang <jianj@google.com>
Tue, 28 Aug 2018 21:24:53 +0000 (14:24 -0700)
committerJerome Jiang <jianj@google.com>
Tue, 6 Nov 2018 23:39:07 +0000 (15:39 -0800)
commita03b04a55fded9dea0ebbb423381a93ea39b866e
tree470baab804c845726e3d599060a4a9f202aa00e5
parenta430020f73104a200627bd24611426327253940b
vp9: postencode drop frame for screen content in CBR.

Encode the next frame at max q.

For layers: post_encode_drop is only check on base
spatial layer, and if base is post-encoded-dropped,
then whole superframe is dropped.

Added API to guard postencode dropping. Turned off by default.

Added unittest.

BUG=b/112990050
Change-Id: I42fee279014aca616f7a4d9b582cb2bf5da2f2e7
test/svc_datarate_test.cc
test/vp9_datarate_test.cc
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_ratectrl.h
vp9/encoder/vp9_svc_layercontext.c
vp9/vp9_cx_iface.c
vpx/vp8cx.h