summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-02-24 21:51:31 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-01 01:13:17 +0200
commit06688e96fb9577bc7466a380bf7a14fa745208db (patch)
tree21ef43a688be743eaaed27437b37073467da00ee /tests
parent38389058c3308758c6365abd0f6b45c5e62bb90b (diff)
fate: add exr tests
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/image.mak20
-rw-r--r--tests/ref/fate/exr-slice-pxr242
-rw-r--r--tests/ref/fate/exr-slice-raw2
-rw-r--r--tests/ref/fate/exr-slice-rle2
-rw-r--r--tests/ref/fate/exr-slice-zip12
-rw-r--r--tests/ref/fate/exr-slice-zip162
6 files changed, 30 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index bf5270b3b8..0b596801e5 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -33,6 +33,26 @@ fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/libav_4x_c
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
+FATE_EXR += fate-exr-slice-raw
+fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
+
+FATE_EXR += fate-exr-slice-rle
+fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
+
+FATE_EXR += fate-exr-slice-zip1
+fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
+
+FATE_EXR += fate-exr-slice-zip16
+fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
+
+FATE_EXR += fate-exr-slice-pxr24
+fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le
+
+FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
+
+FATE_SAMPLES_AVCONV += $(FATE_EXR-yes)
+fate-exr: $(FATE_EXR-yes)
+
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
diff --git a/tests/ref/fate/exr-slice-pxr24 b/tests/ref/fate/exr-slice-pxr24
new file mode 100644
index 0000000000..c46e897b13
--- /dev/null
+++ b/tests/ref/fate/exr-slice-pxr24
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 3840000, 0xdcfb341d
diff --git a/tests/ref/fate/exr-slice-raw b/tests/ref/fate/exr-slice-raw
new file mode 100644
index 0000000000..a8b4b27331
--- /dev/null
+++ b/tests/ref/fate/exr-slice-raw
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 3169800, 0x6a356d0d
diff --git a/tests/ref/fate/exr-slice-rle b/tests/ref/fate/exr-slice-rle
new file mode 100644
index 0000000000..a8b4b27331
--- /dev/null
+++ b/tests/ref/fate/exr-slice-rle
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 3169800, 0x6a356d0d
diff --git a/tests/ref/fate/exr-slice-zip1 b/tests/ref/fate/exr-slice-zip1
new file mode 100644
index 0000000000..a8b4b27331
--- /dev/null
+++ b/tests/ref/fate/exr-slice-zip1
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 3169800, 0x6a356d0d
diff --git a/tests/ref/fate/exr-slice-zip16 b/tests/ref/fate/exr-slice-zip16
new file mode 100644
index 0000000000..a8b4b27331
--- /dev/null
+++ b/tests/ref/fate/exr-slice-zip16
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 3169800, 0x6a356d0d