Add EXTRA_OPTIONS to rd_collect_aom
authorLuc Trudeau <luc@trud.ca>
Thu, 8 Jun 2017 01:34:15 +0000 (21:34 -0400)
committerLuc Trudeau <luc@trud.ca>
Thu, 8 Jun 2017 01:34:15 +0000 (21:34 -0400)
tools/rd_collect_aom.sh

index 62737df..b88f6fb 100755 (executable)
@@ -27,7 +27,7 @@ av1-rt)
 esac
 
 for x in $RANGE; do
-  $AOMENC --codec=$CODEC $(echo $QSTR | sed 's/\$x/'$x'/g') -o $BASENAME.ivf $FILE 2> $BASENAME-$x-enc.out
+  $AOMENC --codec=$CODEC $EXTRA_OPTS $(echo $QSTR | sed 's/\$x/'$x'/g') -o $BASENAME.ivf $FILE 2> $BASENAME-$x-enc.out
   $AOMDEC --codec=$CODEC -o $BASENAME.y4m $BASENAME.ivf
   SIZE=$(wc -c $BASENAME.ivf | awk '{ print $1 }')
   $DUMP_PSNR $FILE $BASENAME.y4m > $BASENAME-$x-psnr.out 2> /dev/null