1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

Add v408 codec regression test.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
Reimar Döffinger 2012-04-08 16:19:06 +02:00
parent c311afca0a
commit ed68fd45d3
3 changed files with 13 additions and 0 deletions

View File

@ -345,6 +345,11 @@ do_video_encoding v308.avi "-an -c:v v308"
do_video_decoding "" "-pix_fmt yuv420p" do_video_decoding "" "-pix_fmt yuv420p"
fi fi
if [ -n "$do_v408" ] ; then
do_video_encoding v408.avi "-an -c:v v408 -sws_flags neighbor+bitexact"
do_video_decoding "" "-sws_flags neighbor+bitexact -pix_fmt yuv420p"
fi
if [ -n "$do_yuv" ] ; then if [ -n "$do_yuv" ] ; then
do_video_encoding yuv.avi "-an -vcodec rawvideo -pix_fmt yuv420p" do_video_encoding yuv.avi "-an -vcodec rawvideo -pix_fmt yuv420p"
do_video_decoding "" "-pix_fmt yuv420p" do_video_decoding "" "-pix_fmt yuv420p"

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

@ -0,0 +1,4 @@
98057c4d5ce12a1b1b3ca15839f47c95 *./tests/data/vsynth1/v408.avi
20282060 ./tests/data/vsynth1/v408.avi
c5ccac874dbf808e9088bc3107860042 *./tests/data/v408.vsynth1.out.yuv
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200

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

@ -0,0 +1,4 @@
033d112ec5a1a78882233d0b791e5ef7 *./tests/data/vsynth2/v408.avi
20282060 ./tests/data/vsynth2/v408.avi
dde5895817ad9d219f79a52d0bdfb001 *./tests/data/v408.vsynth2.out.yuv
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200