From d9c1496bff3563ff8c86748264dd89a01569af3a Mon Sep 17 00:00:00 2001 From: Jerome Jiang Date: Thu, 11 Apr 2019 10:38:08 -0700 Subject: [PATCH] vp9 svc test: test KSVC and other inter layer pred mode. Change-Id: I6214eb63737f67bf41753f0705047e0682f3dc70 --- test/svc_datarate_test.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/svc_datarate_test.cc b/test/svc_datarate_test.cc index e28e200..bb9b075 100644 --- a/test/svc_datarate_test.cc +++ b/test/svc_datarate_test.cc @@ -1063,10 +1063,11 @@ TEST_P(DatarateOnePassCbrSvcSingleBR, OnePassCbrSvc3SL3TLDynamicBitrateChange) { } #if CONFIG_VP9_TEMPORAL_DENOISING -// Params: speed setting, noise sensitivity and index for bitrate array. +// Params: speed setting, noise sensitivity, index for bitrate array and inter +// layer pred mode. class DatarateOnePassCbrSvcDenoiser : public DatarateOnePassCbrSvc, - public ::libvpx_test::CodecTestWith3Params { + public ::libvpx_test::CodecTestWith4Params { public: DatarateOnePassCbrSvcDenoiser() : DatarateOnePassCbrSvc(GET_PARAM(0)) { memset(&svc_params_, 0, sizeof(svc_params_)); @@ -1078,6 +1079,7 @@ class DatarateOnePassCbrSvcDenoiser InitializeConfig(); SetMode(::libvpx_test::kRealTime); speed_setting_ = GET_PARAM(1); + inter_layer_pred_mode_ = GET_PARAM(3); ResetModel(); } }; @@ -1417,7 +1419,7 @@ VP9_INSTANTIATE_TEST_CASE(DatarateOnePassCbrSvcFrameDropMultiBR, #if CONFIG_VP9_TEMPORAL_DENOISING VP9_INSTANTIATE_TEST_CASE(DatarateOnePassCbrSvcDenoiser, ::testing::Range(5, 10), ::testing::Range(1, 3), - ::testing::Range(0, 3)); + ::testing::Range(0, 3), ::testing::Range(0, 4)); #endif VP9_INSTANTIATE_TEST_CASE(DatarateOnePassCbrSvcSmallKF, ::testing::Range(5, 10), -- 2.7.4