diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-01-29 12:00:56 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-29 18:11:40 +0100 |
commit | 8e46e1222250e7786e21a478c32bec949d70e3bb (patch) | |
tree | 54d2d9202d64508825add106b4f0c8c37e4958f5 | |
parent | 15d838b7454faf0550168e548a14ba555d078f51 (diff) | |
download | ffmpeg-8e46e1222250e7786e21a478c32bec949d70e3bb.tar.gz |
fate: add yuv4 encoding/decoding test
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-x | tests/codec-regression.sh | 5 | ||||
-rw-r--r-- | tests/ref/vsynth1/yuv4 | 4 | ||||
-rw-r--r-- | tests/ref/vsynth2/yuv4 | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh index a81cb6ef97..37c6e86b54 100755 --- a/tests/codec-regression.sh +++ b/tests/codec-regression.sh @@ -334,6 +334,11 @@ do_video_encoding yuv.avi "-an -vcodec rawvideo -pix_fmt yuv420p" do_video_decoding "" "-pix_fmt yuv420p" fi +if [ -n "$do_yuv4" ] ; then +do_video_encoding yuv4.avi "-an -c:v yuv4" +do_video_decoding +fi + if [ -n "$do_y41p" ] ; then do_video_encoding y41p.avi "-an -c:v y41p" do_video_decoding diff --git a/tests/ref/vsynth1/yuv4 b/tests/ref/vsynth1/yuv4 new file mode 100644 index 0000000000..63c1298281 --- /dev/null +++ b/tests/ref/vsynth1/yuv4 @@ -0,0 +1,4 @@ +e0d593eb635432f421b93224e425ee03 *./tests/data/vsynth1/yuv4.avi + 7610060 ./tests/data/vsynth1/yuv4.avi +c5ccac874dbf808e9088bc3107860042 *./tests/data/yuv4.vsynth1.out.yuv +stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth2/yuv4 b/tests/ref/vsynth2/yuv4 new file mode 100644 index 0000000000..99d7e820cd --- /dev/null +++ b/tests/ref/vsynth2/yuv4 @@ -0,0 +1,4 @@ +3d24f1d320c4ead1efbf3c952a902379 *./tests/data/vsynth2/yuv4.avi + 7610060 ./tests/data/vsynth2/yuv4.avi +dde5895817ad9d219f79a52d0bdfb001 *./tests/data/yuv4.vsynth2.out.yuv +stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200 |