fate: add Y41P encoding/decoding test

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Paul B Mahol 2012-01-29 00:31:17 +00:00 committed by Michael Niedermayer
parent c065255bba
commit cbf1dc4eb4
3 changed files with 13 additions and 0 deletions

View File

@ -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"

4
tests/ref/vsynth1/y41p Normal file
View File

@ -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

4
tests/ref/vsynth2/y41p Normal file
View File

@ -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