]> granicus.if.org Git - libvpx/commitdiff
vp9 svc test: test KSVC and other inter layer pred mode.
authorJerome Jiang <jianj@google.com>
Thu, 11 Apr 2019 17:38:08 +0000 (10:38 -0700)
committerJerome Jiang <jianj@google.com>
Thu, 11 Apr 2019 18:57:52 +0000 (11:57 -0700)
Change-Id: I6214eb63737f67bf41753f0705047e0682f3dc70

test/svc_datarate_test.cc

index e28e2007f18fb6a55706eb3d58b4051201ad410b..bb9b0755f74e8f4d0f13083f545c430050b25b7c 100644 (file)
@@ -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<int, int, int> {
+      public ::libvpx_test::CodecTestWith4Params<int, int, int, int> {
  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),