regression tests for dv
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Aug 2005 19:44:02 +0000 (19:44 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Aug 2005 19:44:02 +0000 (19:44 +0000)
Originally committed as revision 4541 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/ffmpeg.regression.ref
tests/regression.sh
tests/rotozoom.regression.ref

index b313decf69538fb87259c3da414d4e9661802758..bd5f1980f185622d6a54276fac9d17727fc5660a 100644 (file)
@@ -127,6 +127,10 @@ de8eac1454746a37eae0b1ff88c0f849 *./data/a-snow53.avi
 3535414 ./data/a-snow53.avi
 799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
 stddev:  0.00 PSNR:99.99 bytes:7602176
+6f80191e31d7ebe1aebde0a7b8a6d12c *./data/a-dv.dv
+7200000 ./data/a-dv.dv
+5d4e7b87003931ed0de6b02538e4e5d1 *./data/out.yuv
+stddev:  9.25 PSNR:28.80 bytes:7602176
 b5b6275f58f012de73644bbaa9080097 *./data/a-svq1.mov
 1383999 ./data/a-svq1.mov
 ccc201054669e94717022bb4f2aea4ce *./data/out.yuv
index d29220b4e92e9480b3c263a6d034b335b6449dc5..80e28feb5a6d0ae628fc2c895380803884f2667c 100755 (executable)
@@ -77,6 +77,7 @@ else
     do_svq1=y
     do_snow=y
     do_adpcm_yam=y
+    do_dv=y
 fi
 
 
@@ -461,6 +462,16 @@ do_ffmpeg $file -y -strict -2 -f pgmyuv -i $raw_src -an -vcodec snow -pred 1 -qp
 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst 
 fi
 
+###################################
+if [ -n "$do_dv" ] ; then
+# dv encoding
+file=${outfile}dv.dv
+do_ffmpeg $file -dct_algo 2 -y -f pgmyuv -i $raw_src -s pal -an $file
+
+# dv decoding
+do_ffmpeg $raw_dst -y -i $file -f rawvideo -s cif $raw_dst 
+fi
+
 ###################################
 if [ -n "$do_svq1" ] ; then
 # svq1 encoding
index 824e6ba05e687f7c18c55b231ba2835390a9cf4e..dd087403cf6ce055dfe297b5ed345cae1290b8ba 100644 (file)
@@ -127,6 +127,10 @@ d0a8bdb25d7ed641eab0debcac396eb7 *./data/a-snow53.avi
 2725842 ./data/a-snow53.avi
 dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
 stddev:  0.00 PSNR:99.99 bytes:7602176
+feb77e60f0d3c4cb6856a949cf135f21 *./data/a-dv.dv
+7200000 ./data/a-dv.dv
+8d6956ba685c53e97dd2a7501d2fe917 *./data/out.yuv
+stddev:  3.33 PSNR:37.66 bytes:7602176
 920c610ec324b772d882b0717e375943 *./data/a-svq1.mov
 768683 ./data/a-svq1.mov
 89b1946242e6998e05fc9a6e09668edd *./data/out.yuv