shithub: libvpx

Download patch

ref: e1ef0a270981ca2c0b6d4f24bc17397d97782693
parent: 9a1c70166dccf16306b6702b764240bf9e5a4888
parent: 013014f81b13970a5a2d6744a14528defc3dc7e1
author: Jerome Jiang <[email protected]>
date: Wed Aug 1 00:53:15 EDT 2018

Merge "vp9 svc: Fix the scaling factor in intra only test for 1 SL."

--- a/test/svc_end_to_end_test.cc
+++ b/test/svc_end_to_end_test.cc
@@ -46,7 +46,10 @@
     SetConfig(num_temporal_layer);
     cfg_.ss_number_layers = num_spatial_layer;
     cfg_.ts_number_layers = num_temporal_layer;
-    if (num_spatial_layer == 2) {
+    if (num_spatial_layer == 1) {
+      svc_params_.scaling_factor_num[0] = 288;
+      svc_params_.scaling_factor_den[0] = 288;
+    } else if (num_spatial_layer == 2) {
       svc_params_.scaling_factor_num[0] = 144;
       svc_params_.scaling_factor_den[0] = 288;
       svc_params_.scaling_factor_num[1] = 288;