some tuning on tests

This commit is contained in:
Tonton Th 2020-10-30 10:03:35 +01:00
parent 2d072bdfc9
commit 6ff326d7d5
2 changed files with 9 additions and 3 deletions

View File

@ -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;
}
/* --------------------------------------------------------------------- */

View File

@ -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