[FFmpeg-cvslog] fate: Update Screenpresso tests

Vittorio Giovara git at videolan.org
Mon May 9 00:47:27 CEST 2016


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Tue Mar 29 20:30:49 2016 +0200| [8dde92b95a197eb809d798aacb34dbe52a0689a8] | committer: Vittorio Giovara

fate: Update Screenpresso tests

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8dde92b95a197eb809d798aacb34dbe52a0689a8
---

 tests/fate/screen.mak                               |   13 +++++++++++--
 tests/ref/fate/screenpresso-16bit                   |    9 +++++++++
 tests/ref/fate/{screenpresso => screenpresso-24bit} |    0
 tests/ref/fate/screenpresso-32bit                   |    5 +++++
 4 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
index 7a87dd2..9d0fb0f 100644
--- a/tests/fate/screen.mak
+++ b/tests/fate/screen.mak
@@ -56,8 +56,17 @@ fate-rscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/32bpp.avi -an
 FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, RSCC) += $(FATE_RSCC)
 fate-rscc: $(FATE_RSCC)
 
-FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, SCREENPRESSO) += fate-screenpresso
-fate-screenpresso: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/bunny.avi
+FATE_SCREENPRESSO += fate-screenpresso-16bit
+fate-screenpresso-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/16bpp_555.avi -an
+
+FATE_SCREENPRESSO += fate-screenpresso-24bit
+fate-screenpresso-24bit: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/bunny.avi -an
+
+FATE_SCREENPRESSO += fate-screenpresso-32bit
+fate-screenpresso-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/32bpp.avi -an
+
+FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, SCREENPRESSO) += $(FATE_SCREENPRESSO)
+fate-screenpresso: $(FATE_SCREENPRESSO)
 
 FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, TDSC) += fate-tdsc
 fate-tdsc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/tdsc/tdsc.asf -an -pix_fmt bgr24
diff --git a/tests/ref/fate/screenpresso-16bit b/tests/ref/fate/screenpresso-16bit
new file mode 100644
index 0000000..d9a7d89
--- /dev/null
+++ b/tests/ref/fate/screenpresso-16bit
@@ -0,0 +1,9 @@
+#tb 0: 100/2397
+0,          0,          0,        1,   153600, 0x69a234de
+0,          1,          1,        1,   153600, 0x7f43aee5
+0,          2,          2,        1,   153600, 0x81030634
+0,          3,          3,        1,   153600, 0xf570d0ef
+0,          4,          4,        1,   153600, 0x386e8cec
+0,          5,          5,        1,   153600, 0xbe53af8f
+0,          6,          6,        1,   153600, 0xf92f48bd
+0,          7,          7,        1,   153600, 0x594472c5
diff --git a/tests/ref/fate/screenpresso b/tests/ref/fate/screenpresso-24bit
similarity index 100%
rename from tests/ref/fate/screenpresso
rename to tests/ref/fate/screenpresso-24bit
diff --git a/tests/ref/fate/screenpresso-32bit b/tests/ref/fate/screenpresso-32bit
new file mode 100644
index 0000000..5e1a3b5
--- /dev/null
+++ b/tests/ref/fate/screenpresso-32bit
@@ -0,0 +1,5 @@
+#tb 0: 100/2397
+0,          0,          0,        1,   307200, 0xa01f27cc
+0,          1,          1,        1,   307200, 0x5d83c4d0
+0,          2,          2,        1,   307200, 0xb7d7919f
+0,          3,          3,        1,   307200, 0x4d201450



More information about the ffmpeg-cvslog mailing list