]> granicus.if.org Git - libvpx/commitdiff
Fix vp8_multi_resolution_encoder test failure.
authorJerome Jiang <jianj@google.com>
Tue, 24 Apr 2018 23:37:18 +0000 (16:37 -0700)
committerJerome Jiang <jianj@google.com>
Wed, 25 Apr 2018 00:28:44 +0000 (17:28 -0700)
BUG=webm:1528

Change-Id: I8eb8278c2e61577159308dd5329be0577b82d1a6

test/vp8_multi_resolution_encoder.sh

index a8b7fe78eea4917efb69eb699c13021902ed82c1..33fd5b0d8c586c03a4f83011141cb8916c532db9 100755 (executable)
@@ -46,19 +46,31 @@ vp8_multi_resolution_encoder_three_formats() {
   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
       # 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