[FFmpeg-cvslog] r23501 - in trunk: Makefile tests/codec-regression.sh tests/ref/vsynth1/rgb tests/ref/vsynth1/rgb/rgb.vsynth1.regression tests/ref/vsynth1/yuv tests/ref/vsynth1/yuv/yuv.vsynth1.regression tests/ref...

michael subversion
Sun Jun 6 02:05:13 CEST 2010


Author: michael
Date: Sun Jun  6 02:05:12 2010
New Revision: 23501

Log:
Add simple rgb/yuv in avi regression test.

Added:
   trunk/tests/ref/vsynth1/rgb/
   trunk/tests/ref/vsynth1/rgb/rgb.vsynth1.regression
   trunk/tests/ref/vsynth1/yuv/
   trunk/tests/ref/vsynth1/yuv/yuv.vsynth1.regression
   trunk/tests/ref/vsynth2/rgb/
   trunk/tests/ref/vsynth2/rgb/rgb.vsynth2.regression
   trunk/tests/ref/vsynth2/yuv/
   trunk/tests/ref/vsynth2/yuv/yuv.vsynth2.regression
Modified:
   trunk/Makefile
   trunk/tests/codec-regression.sh

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Sun Jun  6 01:13:52 2010	(r23500)
+++ trunk/Makefile	Sun Jun  6 02:05:12 2010	(r23501)
@@ -191,6 +191,7 @@ VCODEC_TESTS-$(call ENCDEC,MPEG2VIDEO)  
 VCODEC_TESTS-$(call ENCDEC,MPEG4)            += mpeg4 mpeg4adv mpeg4nr mpeg4thread error rc
 VCODEC_TESTS-$(call ENCDEC,MSMPEG4V1)        += msmpeg4
 VCODEC_TESTS-$(call ENCDEC,MSMPEG4V2)        += msmpeg4v2
+VCODEC_TESTS-$(call ENCDEC,RAWVIDEO)         += rgb yuv
 VCODEC_TESTS-$(call ENCDEC,ROQ)              += roq
 VCODEC_TESTS-$(call ENCDEC,RV10)             += rv10
 VCODEC_TESTS-$(call ENCDEC,RV20)             += rv20

Modified: trunk/tests/codec-regression.sh
==============================================================================
--- trunk/tests/codec-regression.sh	Sun Jun  6 01:13:52 2010	(r23500)
+++ trunk/tests/codec-regression.sh	Sun Jun  6 02:05:12 2010	(r23501)
@@ -248,6 +248,16 @@ do_video_encoding roqav.roq "" "-vframes
 do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
+if [ -n "$do_rgb" ] ; then
+do_video_encoding rgb.avi "" "-an -vcodec rawvideo -pix_fmt bgr24"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
+if [ -n "$do_yuv" ] ; then
+do_video_encoding yuv.avi "" "-an -vcodec rawvideo -pix_fmt yuv420p"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
 if [ -n "$do_mp2" ] ; then
 do_audio_encoding mp2.mp2 "-ar 44100"
 do_audio_decoding

Added: trunk/tests/ref/vsynth1/rgb/rgb.vsynth1.regression
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/tests/ref/vsynth1/rgb/rgb.vsynth1.regression	Sun Jun  6 02:05:12 2010	(r23501)
@@ -0,0 +1,4 @@
+05f0719cb52486d9a4beb9cfae3f2571 *./tests/data/vsynth1/rgb.avi
+15213260 ./tests/data/vsynth1/rgb.avi
+243325fb2cae1a9245efd49aff936327 *./tests/data/rgb.vsynth1.out.yuv
+stddev:    3.42 PSNR: 37.43 bytes:  7603200/  7603200

Added: trunk/tests/ref/vsynth1/yuv/yuv.vsynth1.regression
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/tests/ref/vsynth1/yuv/yuv.vsynth1.regression	Sun Jun  6 02:05:12 2010	(r23501)
@@ -0,0 +1,4 @@
+aa6b9e862aebcf8902a6d770e7729d59 *./tests/data/vsynth1/yuv.avi
+7610060 ./tests/data/vsynth1/yuv.avi
+c5ccac874dbf808e9088bc3107860042 *./tests/data/yuv.vsynth1.out.yuv
+stddev:    0.00 PSNR:999.99 bytes:  7603200/  7603200

Added: trunk/tests/ref/vsynth2/rgb/rgb.vsynth2.regression
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/tests/ref/vsynth2/rgb/rgb.vsynth2.regression	Sun Jun  6 02:05:12 2010	(r23501)
@@ -0,0 +1,4 @@
+f2e9c419023c743bf99aa5b2e55ad233 *./tests/data/vsynth2/rgb.avi
+15213260 ./tests/data/vsynth2/rgb.avi
+b2418e0e3a9a8619b31219cbcf24dc82 *./tests/data/rgb.vsynth2.out.yuv
+stddev:    1.26 PSNR: 46.06 bytes:  7603200/  7603200

Added: trunk/tests/ref/vsynth2/yuv/yuv.vsynth2.regression
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/tests/ref/vsynth2/yuv/yuv.vsynth2.regression	Sun Jun  6 02:05:12 2010	(r23501)
@@ -0,0 +1,4 @@
+30a400773ab26f2c83e469198b156f1d *./tests/data/vsynth2/yuv.avi
+7610060 ./tests/data/vsynth2/yuv.avi
+dde5895817ad9d219f79a52d0bdfb001 *./tests/data/yuv.vsynth2.out.yuv
+stddev:    0.00 PSNR:999.99 bytes:  7603200/  7603200



More information about the ffmpeg-cvslog mailing list