5 foreach $key (sort(keys(%quants))) {
6 $frames += $quants{$key};
8 foreach $key (sort({ $a <=> $b } keys(%quants))) {
9 printf("q=%d:\t% 6d, % 6.2f%%\n", $key, $quants{$key}, $quants{$key} *
12 print("$lines lines processed, $frames frames found\n");
13 printf("average quant. is: %f\n", $quant_total/$frames);
25 } elsif (/ q:(([0-9]+)\.[0-9]+) /) {
29 if ((scalar(@ARGV) > 0) && ($thislines > $ARGV[0])) {