From a8b117f800152bd19f1f99f9a76b5b1933927441 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos@ag.or.at>
Date: Mon, 16 Jan 2012 10:57:56 +0100
Subject: [PATCH] Add gray16 and rgb48 png encoding regression tests.

---
 tests/lavf-regression.sh | 2 ++
 tests/ref/lavf/png       | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 47cadda0b02..e5fd78ca259 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 4343adb3b79..4e646284eb0 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
-- 
GitLab