From 6ce57fb3c2ef139bbe164d1811422b91e2dedc26 Mon Sep 17 00:00:00 2001 From: Martin Vignali Date: Mon, 1 May 2017 14:14:57 +0200 Subject: [PATCH] fate/exr : add test for Y, b44A negative half, and datawindow != displaywindow Signed-off-by: Michael Niedermayer --- tests/fate/image.mak | 13 +++++++++++++ tests/ref/fate/exr-rgb-b44a-half-negative-4x4 | 6 ++++++ tests/ref/fate/exr-rgb-scanline-half-piz-dw-t08 | 6 ++++++ tests/ref/fate/exr-y-scanline-zip-half-12x8 | 6 ++++++ tests/ref/fate/exr-y-tile-zip-half-12x8 | 6 ++++++ 5 files changed, 37 insertions(+) create mode 100644 tests/ref/fate/exr-rgb-b44a-half-negative-4x4 create mode 100644 tests/ref/fate/exr-rgb-scanline-half-piz-dw-t08 create mode 100644 tests/ref/fate/exr-y-scanline-zip-half-12x8 create mode 100644 tests/ref/fate/exr-y-tile-zip-half-12x8 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