From a6658532de343e7bf1c613e720cfacbc0a821b93 Mon Sep 17 00:00:00 2001 From: tth Date: Wed, 28 Oct 2020 13:00:12 +0100 Subject: [PATCH] remove useless message, fix parameter bug in vroum --- funcs/displacement.c | 3 --- funcs/vroum.sh | 10 +++++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/funcs/displacement.c b/funcs/displacement.c index 9821d6c1..00fab780 100644 --- a/funcs/displacement.c +++ b/funcs/displacement.c @@ -79,9 +79,6 @@ for (y=0; yheight; y++) { } - if (verbosity > 2) { - fprintf(stderr, "%4d / %4d\n", y, psrc->height); - } } if (verbosity) fprintf(stderr, "%s -> in %d out %d\n", __func__, in, out); diff --git a/funcs/vroum.sh b/funcs/vroum.sh index c6a6748e..aa661844 100755 --- a/funcs/vroum.sh +++ b/funcs/vroum.sh @@ -3,10 +3,10 @@ src=/dev/shm/foo.fimg out=out.fimg -maxi=49 -W="640" -H="480" -grabopt=" -s 640x480 -vv -p 0 -n 500 -c cos01 " +maxi=149 +W="320" +H="240" +grabopt=" -s ${W}x${H}w -vv -p 0 -n 600 -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 displace $src + ./t -vv -k 0.333 -o $out ctr2x2 $src # fimgstats $out