1
0
Fork 0
mirror of https://github.com/ultravideo/uvg266.git synced 2024-12-18 19:14:07 +00:00
uvg266/tests/test_gop.sh

26 lines
1.4 KiB
Bash
Raw Normal View History

#!/bin/sh
# Test GOP, with and without OWF.
set -eu
. "${0%/*}/util.sh"
2017-06-22 06:44:01 +00:00
common_args='-p0 --threads=2 --wpp --rd=0 --no-rdoq --no-deblock --no-sao --no-signhide --subme=0 --pu-depth-inter=1-3 --pu-depth-intra=2-3'
valgrind_test 264x130 10 $common_args --gop=8 -p0 --owf=1
valgrind_test 264x130 10 $common_args --gop=8 -p0 --owf=4
valgrind_test 264x130 20 $common_args --gop=8 -p16 --owf=0
valgrind_test 264x130 10 $common_args --gop=8 -p1 --owf=4
2017-06-22 06:44:01 +00:00
valgrind_test 264x130 10 $common_args --gop=lp-g4d3t1 -p5 --owf=4
2018-10-04 11:33:54 +00:00
valgrind_test 264x130 10 $common_args --gop=8 -p8 --owf=4 --no-open-gop
valgrind_test 264x130 30 $common_args --gop=8 -p16 --owf=16
2020-03-19 09:18:08 +00:00
valgrind_test 264x130 10 $common_args --gop=16 -p0 --owf=1
valgrind_test 264x130 10 $common_args --gop=16 -p0 --owf=4
valgrind_test 264x130 40 $common_args --gop=16 -p32 --owf=0
2018-10-04 11:33:54 +00:00
# Do more extensive tests in a private gitlab CI runner
if [ ! -z ${GITLAB_CI+x} ];then valgrind_test 264x130 20 $common_args --gop=8 -p8 --owf=0 --no-open-gop; fi
if [ ! -z ${GITLAB_CI+x} ];then valgrind_test 264x130 40 $common_args --gop=8 -p32 --owf=4 --no-open-gop; fi
if [ ! -z ${GITLAB_CI+x} ];then valgrind_test 264x130 70 $common_args --gop=8 -p64 --owf=4 --no-open-gop; fi
if [ ! -z ${GITLAB_CI+x} ];then valgrind_test 264x130 50 $common_args --gop=8 -p40 --owf=4 --no-open-gop; fi
if [ ! -z ${GITLAB_CI+x} ];then valgrind_test 264x130 10 $common_args --gop=8 -p8 --owf=0 --no-open-gop --bipred; fi