From 55c6e59906ab51dd7fd1290e502f26802516f8c7 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Thu, 13 Mar 2014 00:29:23 +0100 Subject: fate: add SGI tests --- 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(+) create mode 100644 tests/ref/fate/sgi-gray create mode 100644 tests/ref/fate/sgi-gray16 create mode 100644 tests/ref/fate/sgi-rgb24 create mode 100644 tests/ref/fate/sgi-rgb24-rle create mode 100644 tests/ref/fate/sgi-rgb48 create mode 100644 tests/ref/fate/sgi-rgb48-rle create mode 100644 tests/ref/fate/sgi-rgba create mode 100644 tests/ref/fate/sgi-rgba64 create mode 100644 tests/ref/fate/sgi-rgba64-rle 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 -- cgit v1.2.3