summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-01 04:24:25 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-01 04:52:20 +0200
commit6537b89843e227b5d78a9832ba66781465edb81b (patch)
tree11b48f725a1f3583d1c4b9a86cbbe91a779965d1 /tests
parent767b1daf4b6a40e34ebe2a18f328074babfd8bd1 (diff)
parent55c6e59906ab51dd7fd1290e502f26802516f8c7 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: fate: add SGI tests Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/image.mak32
-rw-r--r--tests/ref/fate/sgi-gray2
-rw-r--r--tests/ref/fate/sgi-gray162
-rw-r--r--tests/ref/fate/sgi-rgb242
-rw-r--r--tests/ref/fate/sgi-rgb24-rle2
-rw-r--r--tests/ref/fate/sgi-rgb482
-rw-r--r--tests/ref/fate/sgi-rgb48-rle2
-rw-r--r--tests/ref/fate/sgi-rgba2
-rw-r--r--tests/ref/fate/sgi-rgba642
-rw-r--r--tests/ref/fate/sgi-rgba64-rle2
10 files changed, 50 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 41a4f6aaf7..0986914980 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -62,6 +62,38 @@ fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_c
FATE_IMAGE-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
+FATE_SGI += fate-sgi-gray
+fate-sgi-gray: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_gray.sgi -pix_fmt gray
+
+FATE_SGI += fate-sgi-gray16
+fate-sgi-gray16: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_gray16.sgi -pix_fmt gray16
+
+FATE_SGI += fate-sgi-rgb24
+fate-sgi-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgb24.sgi -pix_fmt rgb24
+
+FATE_SGI += fate-sgi-rgb24-rle
+fate-sgi-rgb24-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb24_rle.sgi -pix_fmt rgb24
+
+FATE_SGI += fate-sgi-rgb48
+fate-sgi-rgb48: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgb48.sgi -pix_fmt rgb48be
+
+FATE_SGI += fate-sgi-rgb48-rle
+fate-sgi-rgb48-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb48_rle.sgi -pix_fmt rgb48be
+
+FATE_SGI += fate-sgi-rgba
+fate-sgi-rgba: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgba.sgi -pix_fmt rgba
+
+FATE_SGI += fate-sgi-rgba64
+fate-sgi-rgba64: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgba64.sgi -pix_fmt rgba64be
+
+FATE_SGI += fate-sgi-rgba64-rle
+fate-sgi-rgba64-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/maya_rgba64_rle.sgi -pix_fmt rgba64be
+
+FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
+
+FATE_SAMPLES_AVCONV += $(FATE_SGI-yes)
+fate-sgi: $(FATE_SGI-yes)
+
FATE_SUNRASTER += fate-sunraster-1bit-raw
fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
diff --git a/tests/ref/fate/sgi-gray b/tests/ref/fate/sgi-gray
new file mode 100644
index 0000000000..4d4d3494fa
--- /dev/null
+++ b/tests/ref/fate/sgi-gray
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 65536, 0xe36c12e1
diff --git a/tests/ref/fate/sgi-gray16 b/tests/ref/fate/sgi-gray16
new file mode 100644
index 0000000000..f56e53eb37
--- /dev/null
+++ b/tests/ref/fate/sgi-gray16
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 131072, 0x6855d247
diff --git a/tests/ref/fate/sgi-rgb24 b/tests/ref/fate/sgi-rgb24
new file mode 100644
index 0000000000..7a6e85537f
--- /dev/null
+++ b/tests/ref/fate/sgi-rgb24
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 196608, 0x5b24c51a
diff --git a/tests/ref/fate/sgi-rgb24-rle b/tests/ref/fate/sgi-rgb24-rle
new file mode 100644
index 0000000000..1128de56d9
--- /dev/null
+++ b/tests/ref/fate/sgi-rgb24-rle
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 393216, 0xe96e1de2
diff --git a/tests/ref/fate/sgi-rgb48 b/tests/ref/fate/sgi-rgb48
new file mode 100644
index 0000000000..b0521b7fc5
--- /dev/null
+++ b/tests/ref/fate/sgi-rgb48
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 393216, 0xf6b0d73a
diff --git a/tests/ref/fate/sgi-rgb48-rle b/tests/ref/fate/sgi-rgb48-rle
new file mode 100644
index 0000000000..2cf0259695
--- /dev/null
+++ b/tests/ref/fate/sgi-rgb48-rle
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 786432, 0xbc743bc4
diff --git a/tests/ref/fate/sgi-rgba b/tests/ref/fate/sgi-rgba
new file mode 100644
index 0000000000..9b3d4cb793
--- /dev/null
+++ b/tests/ref/fate/sgi-rgba
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 262144, 0x7b38d40b
diff --git a/tests/ref/fate/sgi-rgba64 b/tests/ref/fate/sgi-rgba64
new file mode 100644
index 0000000000..94e35afd34
--- /dev/null
+++ b/tests/ref/fate/sgi-rgba64
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 524288, 0xce70f51c
diff --git a/tests/ref/fate/sgi-rgba64-rle b/tests/ref/fate/sgi-rgba64-rle
new file mode 100644
index 0000000000..1dfac760fc
--- /dev/null
+++ b/tests/ref/fate/sgi-rgba64-rle
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 614400, 0xb92d409d