[FFmpeg-devel] [PATCH]Add regression tests for gray16 and rgb48 png

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jan 16 01:31:57 CET 2012


Hi!

Attached patch adds regression tests for gray16 and rgb48 png encoding.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 47cadda..e5fd78c 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -155,6 +155,8 @@ fi
 
 if [ -n "$do_png" ] ; then
 do_image_formats png
+do_image_formats png "-pix_fmt gray16be"
+do_image_formats png "-pix_fmt rgb48be"
 fi
 
 if [ -n "$do_bmp" ] ; then
diff --git a/tests/ref/lavf/png b/tests/ref/lavf/png
index 4343adb..4e64628 100644
--- a/tests/ref/lavf/png
+++ b/tests/ref/lavf/png
@@ -1,3 +1,9 @@
 c162094e51dc1a3203de43e496086dfd *./tests/data/images/png/02.png
 ./tests/data/images/png/%02d.png CRC=0x6da01946
 248612 ./tests/data/images/png/02.png
+63805114b3723490833789277246276f *./tests/data/images/png/02.png
+./tests/data/images/png/%02d.png CRC=0x831a2963
+41666 ./tests/data/images/png/02.png
+b4c1f0b706a296ba6e791d436757dc5f *./tests/data/images/png/02.png
+./tests/data/images/png/%02d.png CRC=0x5984c023
+511879 ./tests/data/images/png/02.png


More information about the ffmpeg-devel mailing list