aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-05-01 14:14:57 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-05-10 14:00:20 +0200
commit6ce57fb3c2ef139bbe164d1811422b91e2dedc26 (patch)
treedc7bd49900a0b1eb39d0b3755c47fd28b3761f0a
parent54b6bef6e13adf377c78c28ede22a4322ab28865 (diff)
downloadffmpeg-6ce57fb3c2ef139bbe164d1811422b91e2dedc26.tar.gz
fate/exr : add test for Y, b44A negative half, and datawindow != displaywindow
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/image.mak13
-rw-r--r--tests/ref/fate/exr-rgb-b44a-half-negative-4x46
-rw-r--r--tests/ref/fate/exr-rgb-scanline-half-piz-dw-t086
-rw-r--r--tests/ref/fate/exr-y-scanline-zip-half-12x86
-rw-r--r--tests/ref/fate/exr-y-tile-zip-half-12x86
5 files changed, 37 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 17bb0cc2e5..7e7be3f119 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -271,6 +271,19 @@ fate-exr-rgb-scanline-float-piz-48x32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/r
FATE_EXR += fate-exr-rgb-scanline-none-negative-red
fate-exr-rgb-scanline-none-negative-red: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_none_negative_red.exr -pix_fmt rgb48le
+
+FATE_EXR += fate-exr-rgb-b44a-half-negative-4x4
+fate-exr-rgb-b44a-half-negative-4x4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_b44a_half_negative_4x4.exr -pix_fmt rgb48le
+
+FATE_EXR += fate-exr-y-tile-zip-half-12x8
+fate-exr-y-tile-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_tile_zip_half_12x8.exr -pix_fmt gray16le
+
+FATE_EXR += fate-exr-y-scanline-zip-half-12x8
+fate-exr-y-scanline-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_scanline_zip_half_12x8.exr -pix_fmt gray16le
+
+FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t08
+fate-exr-rgb-scanline-half-piz-dw-t08: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t08.exr -pix_fmt rgb48le
+
FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
FATE_IMAGE += $(FATE_EXR-yes)
diff --git a/tests/ref/fate/exr-rgb-b44a-half-negative-4x4 b/tests/ref/fate/exr-rgb-b44a-half-negative-4x4
new file mode 100644
index 0000000000..2ff4e9742b
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-b44a-half-negative-4x4
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 4x4
+#sar 0: 1/1
+0, 0, 0, 1, 96, 0x70600260
diff --git a/tests/ref/fate/exr-rgb-scanline-half-piz-dw-t08 b/tests/ref/fate/exr-rgb-scanline-half-piz-dw-t08
new file mode 100644
index 0000000000..a443c98d9d
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-scanline-half-piz-dw-t08
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 501x401
+#sar 0: 1/1
+0, 0, 0, 1, 1205406, 0xc45cc9f8
diff --git a/tests/ref/fate/exr-y-scanline-zip-half-12x8 b/tests/ref/fate/exr-y-scanline-zip-half-12x8
new file mode 100644
index 0000000000..2a62164256
--- /dev/null
+++ b/tests/ref/fate/exr-y-scanline-zip-half-12x8
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 12x8
+#sar 0: 1/1
+0, 0, 0, 1, 192, 0xdd5759b5
diff --git a/tests/ref/fate/exr-y-tile-zip-half-12x8 b/tests/ref/fate/exr-y-tile-zip-half-12x8
new file mode 100644
index 0000000000..2a62164256
--- /dev/null
+++ b/tests/ref/fate/exr-y-tile-zip-half-12x8
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 12x8
+#sar 0: 1/1
+0, 0, 0, 1, 192, 0xdd5759b5