Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-06-06 04:05:12 +0400
committerMichael Niedermayer <michaelni@gmx.at>2010-06-06 04:05:12 +0400
commit59b847d3a9ba77df9806dcd0770232e4006537d1 (patch)
tree82856d8c03544a2ab7a6d366f160c588a4ba20b2 /tests
parent7686ab07acd10595664cc90455c254efb9fb63b7 (diff)
Add simple rgb/yuv in avi regression test.
Originally committed as revision 23501 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh10
-rw-r--r--tests/ref/vsynth1/rgb/rgb.vsynth1.regression4
-rw-r--r--tests/ref/vsynth1/yuv/yuv.vsynth1.regression4
-rw-r--r--tests/ref/vsynth2/rgb/rgb.vsynth2.regression4
-rw-r--r--tests/ref/vsynth2/yuv/yuv.vsynth2.regression4
5 files changed, 26 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index ce958ce78e..faa066bffd 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -248,6 +248,16 @@ do_video_encoding roqav.roq "" "-vframes 5"
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
diff --git a/tests/ref/vsynth1/rgb/rgb.vsynth1.regression b/tests/ref/vsynth1/rgb/rgb.vsynth1.regression
new file mode 100644
index 0000000000..d8708988eb
--- /dev/null
+++ b/tests/ref/vsynth1/rgb/rgb.vsynth1.regression
@@ -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
diff --git a/tests/ref/vsynth1/yuv/yuv.vsynth1.regression b/tests/ref/vsynth1/yuv/yuv.vsynth1.regression
new file mode 100644
index 0000000000..fdb4d9eb68
--- /dev/null
+++ b/tests/ref/vsynth1/yuv/yuv.vsynth1.regression
@@ -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
diff --git a/tests/ref/vsynth2/rgb/rgb.vsynth2.regression b/tests/ref/vsynth2/rgb/rgb.vsynth2.regression
new file mode 100644
index 0000000000..4dae1053b8
--- /dev/null
+++ b/tests/ref/vsynth2/rgb/rgb.vsynth2.regression
@@ -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
diff --git a/tests/ref/vsynth2/yuv/yuv.vsynth2.regression b/tests/ref/vsynth2/yuv/yuv.vsynth2.regression
new file mode 100644
index 0000000000..7bf5cae89a
--- /dev/null
+++ b/tests/ref/vsynth2/yuv/yuv.vsynth2.regression
@@ -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