mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
regression tests: add jpeg2000
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2fbf691038
commit
07a96dc1e9
@ -161,6 +161,11 @@ do_video_encoding mjpeg.avi "-qscale 9 -an -vcodec mjpeg -pix_fmt yuvj420p"
|
||||
do_video_decoding "" "-pix_fmt yuv420p"
|
||||
fi
|
||||
|
||||
if [ -n "$do_jpeg2000" ] ; then
|
||||
do_video_encoding jpeg2000.avi "-qscale 7 -an -vcodec j2k -strict experimental -pix_fmt rgb24"
|
||||
do_video_decoding "-vcodec j2k -strict experimental" "-pix_fmt yuv420p"
|
||||
fi
|
||||
|
||||
if [ -n "$do_ljpeg" ] ; then
|
||||
do_video_encoding ljpeg.avi "-an -vcodec ljpeg -strict -1"
|
||||
do_video_decoding
|
||||
|
4
tests/ref/vsynth1/jpeg2000
Normal file
4
tests/ref/vsynth1/jpeg2000
Normal file
@ -0,0 +1,4 @@
|
||||
8da8ef50cccb9996f4bebbc585c4edb4 *./tests/data/vsynth1/jpeg2000.avi
|
||||
2306914 ./tests/data/vsynth1/jpeg2000.avi
|
||||
ee9b245b3b07eed90bc6f2147bbd916c *./tests/data/jpeg2000.vsynth1.out.yuv
|
||||
stddev: 5.47 PSNR: 33.37 MAXDIFF: 64 bytes: 7603200/ 7603200
|
4
tests/ref/vsynth2/jpeg2000
Normal file
4
tests/ref/vsynth2/jpeg2000
Normal file
@ -0,0 +1,4 @@
|
||||
b30dc1851c0fb37726d977ec1d5ad527 *./tests/data/vsynth2/jpeg2000.avi
|
||||
1151156 ./tests/data/vsynth2/jpeg2000.avi
|
||||
ec5218eec33a021945c28c72093382a5 *./tests/data/jpeg2000.vsynth2.out.yuv
|
||||
stddev: 4.54 PSNR: 34.99 MAXDIFF: 61 bytes: 7603200/ 7603200
|
Loading…
Reference in New Issue
Block a user