]> git.sesse.net Git - ffmpeg/commitdiff
fate: add exr tests
authorPaul B Mahol <onemda@gmail.com>
Sun, 24 Feb 2013 21:51:31 +0000 (21:51 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sun, 12 May 2013 11:47:30 +0000 (11:47 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tests/fate/image.mak
tests/ref/fate/exr-slice-raw [new file with mode: 0644]
tests/ref/fate/exr-slice-rle [new file with mode: 0644]
tests/ref/fate/exr-slice-zip1 [new file with mode: 0644]
tests/ref/fate/exr-slice-zip16 [new file with mode: 0644]

index 2a6a4b27e7b6b32d0424d44512564dd1a19390d3..06af97080c2fc15f3eccd27bffa58ee4b454c243 100644 (file)
@@ -1,6 +1,23 @@
 FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
 fate-dpx: CMD = framecrc -i $(SAMPLES)/dpx/lighthouse_rgb48.dpx
 
+FATE_EXR += fate-exr-slice-raw
+fate-exr-slice-raw: CMD = framecrc -i $(SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
+
+FATE_EXR += fate-exr-slice-rle
+fate-exr-slice-rle: CMD = framecrc -i $(SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
+
+FATE_EXR += fate-exr-slice-zip1
+fate-exr-slice-zip1: CMD = framecrc -i $(SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
+
+FATE_EXR += fate-exr-slice-zip16
+fate-exr-slice-zip16: CMD = framecrc -i $(SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
+
+FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
+
+FATE_IMAGE += $(FATE_EXR-yes)
+fate-exr: $(FATE_EXR-yes)
+
 FATE_IMAGE-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
 fate-pictor: CMD = framecrc -i $(SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
 
diff --git a/tests/ref/fate/exr-slice-raw b/tests/ref/fate/exr-slice-raw
new file mode 100644 (file)
index 0000000..a8b4b27
--- /dev/null
@@ -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 (file)
index 0000000..a8b4b27
--- /dev/null
@@ -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 (file)
index 0000000..a8b4b27
--- /dev/null
@@ -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 (file)
index 0000000..a8b4b27
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,  3169800, 0x6a356d0d