ref: 170013f19ba5b45a961bd2b55d1cd87c38387b2c
parent: df1e06ed0bb5ad378dd63c5c12f26ed563ae7aaa
author: Jerome Jiang <jianj@google.com>
date: Tue Apr 24 12:37:18 EDT 2018
Fix vp8_multi_resolution_encoder test failure. BUG=webm:1528 Change-Id: I8eb8278c2e61577159308dd5329be0577b82d1a6
--- a/test/vp8_multi_resolution_encoder.sh
+++ b/test/vp8_multi_resolution_encoder.sh
@@ -46,6 +46,10 @@
local readonly output_files="${VPX_TEST_OUTPUT_DIR}/vp8_mre_0.ivf
${VPX_TEST_OUTPUT_DIR}/vp8_mre_1.ivf
${VPX_TEST_OUTPUT_DIR}/vp8_mre_2.ivf"
+ local readonly layer_bitrates="150 80 50"
+ local readonly keyframe_insert="200"
+ local readonly temporal_layers="3 3 3"
+ local readonly framerate="30"
if [ "$(vpx_config_option_enabled CONFIG_MULTI_RES_ENCODING)" = "yes" ]; then
if [ "$(vp8_encode_available)" = "yes" ]; then
@@ -52,13 +56,21 @@
# Param order:
# Input width
# Input height
+ # Framerate
# Input file path
# Output file names
+ # Layer bitrates
+ # Temporal layers
+ # Keyframe insert
# Output PSNR
vp8_mre "${YUV_RAW_INPUT_WIDTH}" \
"${YUV_RAW_INPUT_HEIGHT}" \
+ "${framerate}" \
"${YUV_RAW_INPUT}" \
${output_files} \
+ ${layer_bitrates} \
+ ${temporal_layers} \
+ "${keyframe_insert}" \
0
for output_file in ${output_files}; do