From 6426f74272c33a47cffd0ab0cc7b7a6b286af0ce Mon Sep 17 00:00:00 2001 From: Martin Vignali Date: Sat, 18 Mar 2017 13:45:06 +0100 Subject: [PATCH] fate/exr : add test for uint32 data Signed-off-by: Michael Niedermayer --- tests/fate/image.mak | 6 ++++++ tests/ref/fate/exr-rgb-scanline-b44-uint32 | 6 ++++++ tests/ref/fate/exr-rgb-scanline-pxr24-uint32 | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 tests/ref/fate/exr-rgb-scanline-b44-uint32 create mode 100644 tests/ref/fate/exr-rgb-scanline-pxr24-uint32 diff --git a/tests/fate/image.mak b/tests/fate/image.mak index b299ea642d..ef0495584b 100644 --- a/tests/fate/image.mak +++ b/tests/fate/image.mak @@ -247,6 +247,12 @@ fate-exr-rgb-scanline-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l2 fate-exr-rgb-scanline-raw-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_raw_half_float.exr -pix_fmt rgba64le +FATE_EXR += fate-exr-rgb-scanline-b44-uint32 +fate-exr-rgb-scanline-b44-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_uint32.exr -pix_fmt rgb48le + +FATE_EXR += fate-exr-rgb-scanline-pxr24-uint32 +fate-exr-rgb-scanline-pxr24-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_uint32.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-scanline-b44-uint32 b/tests/ref/fate/exr-rgb-scanline-b44-uint32 new file mode 100644 index 0000000000..abe41b8a7a --- /dev/null +++ b/tests/ref/fate/exr-rgb-scanline-b44-uint32 @@ -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, 576, 0x6b950ce3 diff --git a/tests/ref/fate/exr-rgb-scanline-pxr24-uint32 b/tests/ref/fate/exr-rgb-scanline-pxr24-uint32 new file mode 100644 index 0000000000..abe41b8a7a --- /dev/null +++ b/tests/ref/fate/exr-rgb-scanline-pxr24-uint32 @@ -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, 576, 0x6b950ce3