[FFmpeg-cvslog] fate: add SGI tests

Vittorio Giovara git at videolan.org
Tue Apr 1 04:59:12 CEST 2014


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Thu Mar 13 00:29:23 2014 +0100| [55c6e59906ab51dd7fd1290e502f26802516f8c7] | committer: Vittorio Giovara

fate: add SGI tests

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

 tests/fate/image.mak          |   32 ++++++++++++++++++++++++++++++++
 tests/ref/fate/sgi-gray       |    2 ++
 tests/ref/fate/sgi-gray16     |    2 ++
 tests/ref/fate/sgi-rgb24      |    2 ++
 tests/ref/fate/sgi-rgb24-rle  |    2 ++
 tests/ref/fate/sgi-rgb48      |    2 ++
 tests/ref/fate/sgi-rgb48-rle  |    2 ++
 tests/ref/fate/sgi-rgba       |    2 ++
 tests/ref/fate/sgi-rgba64     |    2 ++
 tests/ref/fate/sgi-rgba64-rle |    2 ++
 10 files changed, 50 insertions(+)

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 0b59680..3bbe67b 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 0000000..b0e0606
--- /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 0000000..3218edc
--- /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 0000000..30aca1c
--- /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 0000000..1128de5
--- /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 0000000..8f3ca50
--- /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 0000000..2cf0259
--- /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 0000000..058f5f9
--- /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 0000000..f4e939e
--- /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 0000000..1dfac76
--- /dev/null
+++ b/tests/ref/fate/sgi-rgba64-rle
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,   614400, 0xb92d409d



More information about the ffmpeg-cvslog mailing list