diff options
author | Jingning Han <jingning@google.com> | 2014-12-02 10:50:39 -0800 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2014-12-02 10:53:01 -0800 |
commit | bf758b6afa7f006f3c8efdd445c82b6d6617b1c3 (patch) | |
tree | 4e37d343ef66170ee19b4d7810be2f79271e8a32 /test | |
parent | 03e267155b799fe01a0069925df7ee905e2535f8 (diff) | |
download | libvpx-bf758b6afa7f006f3c8efdd445c82b6d6617b1c3.tar libvpx-bf758b6afa7f006f3c8efdd445c82b6d6617b1c3.tar.gz libvpx-bf758b6afa7f006f3c8efdd445c82b6d6617b1c3.tar.bz2 libvpx-bf758b6afa7f006f3c8efdd445c82b6d6617b1c3.zip |
Enforce error resilient mode on in temporal svc real-time mode
This commit makes the codec automatically turn on error resilient
mode when using real-time mode for temporal scalable coding. It
fixes an enc/dec mismatch issue and re-enables the corresponding
unit test.
Change-Id: Ie1f7134e9a78ddd43e9b1555b3ee991c8a3afd0d
Diffstat (limited to 'test')
-rw-r--r-- | test/datarate_test.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/datarate_test.cc b/test/datarate_test.cc index 9947969fa..a76d806bf 100644 --- a/test/datarate_test.cc +++ b/test/datarate_test.cc @@ -514,6 +514,9 @@ TEST_P(DatarateTestVP9Large, BasicRateTargeting2TemporalLayers) { cfg_.ts_rate_decimator[0] = 2; cfg_.ts_rate_decimator[1] = 1; + if (deadline_ == VPX_DL_REALTIME) + cfg_.g_error_resilient = 1; + ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, 30, 1, 0, 200); for (int i = 200; i <= 800; i += 200) { @@ -652,8 +655,8 @@ TEST_P(DatarateTestVP9Large, DenoiserLevels) { #endif // CONFIG_VP9_TEMPORAL_DENOISING VP8_INSTANTIATE_TEST_CASE(DatarateTestLarge, ALL_TEST_MODES); -// TODO(jingning) Add kRealTime back. VP9_INSTANTIATE_TEST_CASE(DatarateTestVP9Large, - ::testing::Values(::libvpx_test::kOnePassGood), + ::testing::Values(::libvpx_test::kOnePassGood, + ::libvpx_test::kRealTime), ::testing::Range(2, 7)); } // namespace |