aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-03-13 00:29:23 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-01 01:19:04 +0200
commit55c6e59906ab51dd7fd1290e502f26802516f8c7 (patch)
tree81f38f62aa8630c7a072f0184f6cb15201d3090a /tests
parentd613091f8858d87789916e2bd7a84ea3144077d4 (diff)
downloadffmpeg-55c6e59906ab51dd7fd1290e502f26802516f8c7.tar.gz
fate: add SGI tests
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 0b596801e5..3bbe67bc60 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/libav_4x_
FATE_SAMPLES_AVCONV-$(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/vulap_gray.sgi -pix_fmt gray
+
+FATE_SGI += fate-sgi-gray16
+fate-sgi-gray16: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_gray16.sgi -pix_fmt gray16
+
+FATE_SGI += fate-sgi-rgb24
+fate-sgi-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_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/vulap_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/vulap_rgba.sgi -pix_fmt rgba
+
+FATE_SGI += fate-sgi-rgba64
+fate-sgi-rgba64: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_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..b0e060699c
--- /dev/null
+++ b/tests/ref/fate/sgi-gray
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 131072, 0xb0702a94
diff --git a/tests/ref/fate/sgi-gray16 b/tests/ref/fate/sgi-gray16
new file mode 100644
index 0000000000..3218edc1b2
--- /dev/null
+++ b/tests/ref/fate/sgi-gray16
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 262144, 0xecdaf084
diff --git a/tests/ref/fate/sgi-rgb24 b/tests/ref/fate/sgi-rgb24
new file mode 100644
index 0000000000..30aca1cead
--- /dev/null
+++ b/tests/ref/fate/sgi-rgb24
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 393216, 0xa9b28fd9
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..8f3ca50b10
--- /dev/null
+++ b/tests/ref/fate/sgi-rgb48
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 786432, 0xee4aa667
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..058f5f99c3
--- /dev/null
+++ b/tests/ref/fate/sgi-rgba
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 524288, 0x4ee5adbb
diff --git a/tests/ref/fate/sgi-rgba64 b/tests/ref/fate/sgi-rgba64
new file mode 100644
index 0000000000..f4e939ec73
--- /dev/null
+++ b/tests/ref/fate/sgi-rgba64
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 1048576, 0xc657e22b
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