2016-03-26 21:14 GMT+01:00 Martin Vignali <martin.vign...@gmail.com>:
> Hello, > > In attach a patch for fate test of B44/B44A compression inside openexr > file. > samples can be download here : http://we.tl/QwJcxVn9CV > need to be put inside : ./fate-suite/exr/ > > Detail of tests : > > rgba_scanline_float_b44.exr : test scanline B44 float file > (uncompress data) > > rgba_multiscanline_half_b44.exr : b44 file with alpha. have multiple > scanlines > > rgba_scanline_half_b44_12x8.exr : have b44 and b44A block, all pixels > inside b44 block are used in the final picture > > rgba_scanline_half_b44_13x9.exr : have b44 and b44A block, some pixels in > B44 block are not used in the final picture > > > > Martin > Jokyo Images > > > Ping for the patch.
From adb891b3789ed355a012e4924b293fe025dd7992 Mon Sep 17 00:00:00 2001 From: Martin Vignali <martin.vign...@gmail.com> Date: Sat, 26 Mar 2016 21:02:07 +0100 Subject: [PATCH] fate/exr : add test for b44/b44a compression --- tests/fate/image.mak | 12 ++++++++++++ tests/ref/fate/exr-rgb-scanline-float-b44 | 2 ++ tests/ref/fate/exr-rgb-scanline-half-b44-12x8 | 2 ++ tests/ref/fate/exr-rgb-scanline-half-b44-13x9 | 2 ++ tests/ref/fate/exr-rgba-multiscanline-half-b44 | 2 ++ 5 files changed, 20 insertions(+) create mode 100644 tests/ref/fate/exr-rgb-scanline-float-b44 create mode 100644 tests/ref/fate/exr-rgb-scanline-half-b44-12x8 create mode 100644 tests/ref/fate/exr-rgb-scanline-half-b44-13x9 create mode 100644 tests/ref/fate/exr-rgba-multiscanline-half-b44 diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 2224e3e..4155d6b 100644 --- a/tests/fate/image.mak +++ b/tests/fate/image.mak @@ -65,6 +65,18 @@ fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.e 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 += fate-exr-rgba-multiscanline-half-b44 +fate-exr-rgba-multiscanline-half-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_multiscanline_half_b44.exr -pix_fmt rgba64le + +FATE_EXR += fate-exr-rgb-scanline-float-b44 +fate-exr-rgb-scanline-float-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_b44.exr -pix_fmt rgb48le + +FATE_EXR += fate-exr-rgb-scanline-half-b44-12x8 +fate-exr-rgb-scanline-half-b44-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_12x8.exr -pix_fmt rgb48le + +FATE_EXR += fate-exr-rgb-scanline-half-b44-13x9 +fate-exr-rgb-scanline-half-b44-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_13x9.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-float-b44 b/tests/ref/fate/exr-rgb-scanline-float-b44 new file mode 100644 index 0000000..d8f3934 --- /dev/null +++ b/tests/ref/fate/exr-rgb-scanline-float-b44 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 576, 0x39c8e03e diff --git a/tests/ref/fate/exr-rgb-scanline-half-b44-12x8 b/tests/ref/fate/exr-rgb-scanline-half-b44-12x8 new file mode 100644 index 0000000..ce1e009 --- /dev/null +++ b/tests/ref/fate/exr-rgb-scanline-half-b44-12x8 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 576, 0x506469f9 diff --git a/tests/ref/fate/exr-rgb-scanline-half-b44-13x9 b/tests/ref/fate/exr-rgb-scanline-half-b44-13x9 new file mode 100644 index 0000000..e40608d --- /dev/null +++ b/tests/ref/fate/exr-rgb-scanline-half-b44-13x9 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 702, 0x6914838a diff --git a/tests/ref/fate/exr-rgba-multiscanline-half-b44 b/tests/ref/fate/exr-rgba-multiscanline-half-b44 new file mode 100644 index 0000000..e82481d --- /dev/null +++ b/tests/ref/fate/exr-rgba-multiscanline-half-b44 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 1877480, 0x6f28b860 -- 1.9.3 (Apple Git-50)
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel