summaryrefslogtreecommitdiff
path: root/test/encode_test_driver.cc
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2017-01-20 09:15:15 -0800
committerYunqing Wang <yunqingwang@google.com>2017-01-20 10:06:24 -0800
commitb0d8a75e481dfb08d0125a3c1e26d116f44c0979 (patch)
tree5c99230404ce490a18e6684c7704a140e317ec98 /test/encode_test_driver.cc
parent0f9760ab6f2cfbf7802ae5de305b7b94da7a8f02 (diff)
downloadlibvpx-b0d8a75e481dfb08d0125a3c1e26d116f44c0979.tar
libvpx-b0d8a75e481dfb08d0125a3c1e26d116f44c0979.tar.gz
libvpx-b0d8a75e481dfb08d0125a3c1e26d116f44c0979.tar.bz2
libvpx-b0d8a75e481dfb08d0125a3c1e26d116f44c0979.zip
Add the multi-threaded first pass encoder unit test
Added the multi-threaded first pass encoder unit test in VP9. The test is to check if the new multi-threaded first pass encoder(namely, new-mt = 1) still generates matching stats. In the unit test, the new-mt mode will be turned on once the multi-threaded first pass implementation is checked in. Change-Id: Ic21bb1a55c454f024cfd2b397a4c148cfe638218
Diffstat (limited to 'test/encode_test_driver.cc')
-rw-r--r--test/encode_test_driver.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/encode_test_driver.cc b/test/encode_test_driver.cc
index 632c98f05..5d2b4008a 100644
--- a/test/encode_test_driver.cc
+++ b/test/encode_test_driver.cc
@@ -226,6 +226,8 @@ void EncoderTest::RunLoop(VideoSource *video) {
case VPX_CODEC_PSNR_PKT: PSNRPktHook(pkt); break;
+ case VPX_CODEC_STATS_PKT: StatsPktHook(pkt); break;
+
default: break;
}
}