summaryrefslogtreecommitdiff
path: root/test/encode_test_driver.cc
diff options
context:
space:
mode:
authorMarco Paniconi <marpan@google.com>2018-03-14 10:03:31 -0700
committerMarco Paniconi <marpan@google.com>2018-03-15 21:04:59 -0700
commit2640f25072884abb363a011268e411e46e652da5 (patch)
tree17a12400bce603b5b5365ecd7bcf4858fe01ad75 /test/encode_test_driver.cc
parentd07a5bfbf868eec93f01dfc7cb106e44fe512db9 (diff)
downloadlibvpx-2640f25072884abb363a011268e411e46e652da5.tar
libvpx-2640f25072884abb363a011268e411e46e652da5.tar.gz
libvpx-2640f25072884abb363a011268e411e46e652da5.tar.bz2
libvpx-2640f25072884abb363a011268e411e46e652da5.zip
vp9-svc: Frame dropper for SVC.
If a given spatial layer decides to drop, due to the buffer/overshoot conditions for that layer, then drop that current spatial layer and all spatial layers above. In the current implementation the svc frame counter (and hence the pattern for the non-flexible SVC case) are updated on frame drops. Also add last spatial layer encoded to the pkt. This is useful for RTC applications that enable frame dropping for SVC. Update to the SVC datarate tests: enabled frame dropper on all SVC datarate tests, and made a fix to properly set the temporal_layer_id, which works now even on frame drops. Change-Id: If828c193f3cb6b1839803fd52fe9fbbda5b5a039
Diffstat (limited to 'test/encode_test_driver.cc')
-rw-r--r--test/encode_test_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encode_test_driver.cc b/test/encode_test_driver.cc
index b2cbc3f05..63e972a00 100644
--- a/test/encode_test_driver.cc
+++ b/test/encode_test_driver.cc
@@ -201,7 +201,7 @@ void EncoderTest::RunLoop(VideoSource *video) {
PreEncodeFrameHook(video, encoder.get());
encoder->EncodeFrame(video, frame_flags_);
- PostEncodeFrameHook(encoder.get());
+ PostEncodeFrameHook();
CxDataIterator iter = encoder->GetCxData();