[FFmpeg-cvslog] fate: add Y41P encoding/decoding test

Paul B Mahol git at videolan.org
Sun Jan 29 02:53:02 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Jan 29 00:31:17 2012 +0000| [cbf1dc4eb4b49c5c35ba69b3edef2fe8ea8087ec] | committer: Michael Niedermayer

fate: add Y41P encoding/decoding test

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbf1dc4eb4b49c5c35ba69b3edef2fe8ea8087ec
---

 tests/codec-regression.sh |    5 +++++
 tests/ref/vsynth1/y41p    |    4 ++++
 tests/ref/vsynth2/y41p    |    4 ++++
 3 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 48d585a..5871c2d 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -329,6 +329,11 @@ do_video_encoding yuv.avi "-an -vcodec rawvideo -pix_fmt yuv420p"
 do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
+if [ -n "$do_y41p" ] ; then
+do_video_encoding y41p.avi "-an -c:v y41p"
+do_video_decoding
+fi
+
 if [ -n "$do_zlib" ] ; then
 do_video_encoding zlib.avi "-an -vcodec zlib"
 do_video_decoding "" "-pix_fmt yuv420p"
diff --git a/tests/ref/vsynth1/y41p b/tests/ref/vsynth1/y41p
new file mode 100644
index 0000000..36f45f1
--- /dev/null
+++ b/tests/ref/vsynth1/y41p
@@ -0,0 +1,4 @@
+70bbcb52acac0a3cb3217719669a8242 *./tests/data/vsynth1/y41p.avi
+ 7610060 ./tests/data/vsynth1/y41p.avi
+665f6045e3b3031f719fa4a44f63daba *./tests/data/y41p.vsynth1.out.yuv
+stddev:   30.54 PSNR: 18.43 MAXDIFF:  222 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth2/y41p b/tests/ref/vsynth2/y41p
new file mode 100644
index 0000000..e603c6b
--- /dev/null
+++ b/tests/ref/vsynth2/y41p
@@ -0,0 +1,4 @@
+8e0139963e79180a0fc1c154e36cebe5 *./tests/data/vsynth2/y41p.avi
+ 7610060 ./tests/data/vsynth2/y41p.avi
+0e0996e1d8b62f02af91fabb3c0a6f76 *./tests/data/y41p.vsynth2.out.yuv
+stddev:    9.87 PSNR: 28.24 MAXDIFF:   61 bytes:  7603200/  7603200



More information about the ffmpeg-cvslog mailing list