From 9d99f0afbeedf3e170478c3e8c05789bf2eef48f Mon Sep 17 00:00:00 2001 From: Paras Chadha Date: Tue, 29 Aug 2017 23:06:42 +0530 Subject: FATE: Add FITS tests Signed-off-by: Paras Chadha --- tests/lavf-regression.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/lavf-regression.sh') diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index eda40f25db..d9026de021 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -230,6 +230,15 @@ do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -q #do_avconv_crc $file -i $target_path/$file fi +if [ -n "$do_fits" ] ; then +pix_fmts="gray gray16be gbrp gbrap gbrp16be gbrap16be" +for pix_fmt in $pix_fmts ; do + file=${outfile}${pix_fmt}lavf.fits + do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -pix_fmt $pix_fmt + do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt $pix_fmt +done +fi + # image formats if [ -n "$do_pgm" ] ; then -- cgit v1.2.3