Commit 0ca0d09f authored by norvell's avatar norvell
Browse files

Use INV_LEVEL_SCALING instead

parent 94133433
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -343,7 +343,8 @@ stages:
    - fi
    - *build-and-create-reference-outputs

    - comp_args="--mld --ssnr --odg --input_scaling $LEVEL_SCALING"
    - INV_LEVEL_SCALING=$(awk "BEGIN {print 1.0 / $LEVEL_SCALING}")
    - comp_args="--mld --ssnr --odg --scalefac $INV_LEVEL_SCALING"
    - if [ "$ENCODER_TEST" = "true" ]; then
    -   comp_args="${comp_args} --enc_stats"
    - fi
@@ -444,7 +445,8 @@ stages:
    - echo $CI_MERGE_REQUEST_TITLE > tmp.txt
    - allow_regressions_flag=$(grep -c --ignore-case "\[allow[ -]*regression\]" tmp.txt) || true

    - comp_args="--mld --ssnr --odg --input_scaling $LEVEL_SCALING"
    - INV_LEVEL_SCALING=$(awk "BEGIN {print 1.0 / $LEVEL_SCALING}")
    - comp_args="--mld --ssnr --odg --scalefac $INV_LEVEL_SCALING"

    ### run branch first
    # this per default builds the branch and the reference and creates the reference outputs