target_exec=$4
target_path=$5
threads=${6:-1}
+cpuflags=${8:-all}
datadir="./tests/data"
target_datadir="${target_path}/${datadir}"
. $(dirname $0)/md5.sh
-AVCONV_OPTS="-nostats -y"
+AVCONV_OPTS="-nostats -y -cpuflags $cpuflags"
COMMON_OPTS="-flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact"
DEC_OPTS="$COMMON_OPTS -threads $threads"
ENC_OPTS="$COMMON_OPTS -threads 1 -dct fastint"
elif [ $f = $pcm_dst ] ; then
$tiny_psnr $f $pcm_ref 2
else
- wc -c $f
- fi
-}
-
-do_avconv_nomd5()
-{
- f="$1"
- shift
- set -- $* ${target_path}/$f
- run_avconv $*
- if [ $f = $raw_dst ] ; then
- $tiny_psnr $f $raw_ref
- elif [ $f = $pcm_dst ] ; then
- $tiny_psnr $f $pcm_ref 2
- else
- wc -c $f
+ echo $(wc -c $f)
fi
}