ref: 013014f81b13970a5a2d6744a14528defc3dc7e1
parent: 98e134acec4d6f97f94f7d5707a97c3475fcc354
author: Jerome Jiang <[email protected]>
date: Tue Jul 31 16:27:38 EDT 2018
vp9 svc: Fix the scaling factor in intra only test for 1 SL. Change-Id: I7f71c165f6d3a6d02229798286269389c3c5528c
--- 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;