aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-03-29 20:30:49 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-04-04 15:41:57 +0200
commit8dde92b95a197eb809d798aacb34dbe52a0689a8 (patch)
tree1bc8ef6557c00603d18930e248ce1a4866a616fe
parentec8a69fab657f9cce624e8b0f4069d12696890bf (diff)
downloadffmpeg-8dde92b95a197eb809d798aacb34dbe52a0689a8.tar.gz
fate: Update Screenpresso tests
-rw-r--r--tests/fate/screen.mak13
-rw-r--r--tests/ref/fate/screenpresso-16bit9
-rw-r--r--tests/ref/fate/screenpresso-24bit (renamed from tests/ref/fate/screenpresso)0
-rw-r--r--tests/ref/fate/screenpresso-32bit5
4 files changed, 25 insertions, 2 deletions
diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
index 7a87dd2094..9d0fb0f977 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 0000000000..d9a7d89769
--- /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
index bbdffb4433..bbdffb4433 100644
--- a/tests/ref/fate/screenpresso
+++ b/tests/ref/fate/screenpresso-24bit
diff --git a/tests/ref/fate/screenpresso-32bit b/tests/ref/fate/screenpresso-32bit
new file mode 100644
index 0000000000..5e1a3b55e3
--- /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