From 6ff326d7d54d284b2cf7fa3bb6521a63ba2c00b9 Mon Sep 17 00:00:00 2001 From: tth Date: Fri, 30 Oct 2020 10:03:35 +0100 Subject: [PATCH] some tuning on tests --- funcs/t.c | 6 ++++++ funcs/vroum.sh | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/funcs/t.c b/funcs/t.c index 0782967b..758ddd7b 100644 --- a/funcs/t.c +++ b/funcs/t.c @@ -82,6 +82,8 @@ if (foo) { return foo; } +fimg_destroy(&src); fimg_destroy(&dst); + return 0; } @@ -122,6 +124,8 @@ if (foo) { return foo; } +fimg_destroy(&src); fimg_destroy(&dst); + return 0; } /* --------------------------------------------------------------------- */ @@ -162,6 +166,8 @@ if (foo) { return foo; } +fimg_destroy(&src); fimg_destroy(&dst); + return 0; } /* --------------------------------------------------------------------- */ diff --git a/funcs/vroum.sh b/funcs/vroum.sh index aa661844..3931b42f 100755 --- a/funcs/vroum.sh +++ b/funcs/vroum.sh @@ -3,10 +3,10 @@ src=/dev/shm/foo.fimg out=out.fimg -maxi=149 +maxi=249 W="320" H="240" -grabopt=" -s ${W}x${H}w -vv -p 0 -n 600 -c none " +grabopt=" -s ${W}x${H}w -vv -p 0 -n 60 -c none " mkdir /tmp/V @@ -20,7 +20,7 @@ do grabvidseq -$grabopt -o $src fval=$(echo "$foo / $maxi" | bc -l) - ./t -vv -k 0.333 -o $out ctr2x2 $src + ./t -vv -k 0.333 -o $out classif $src # fimgstats $out