Hello,

In attach a patch to add fate test for piz compression (not cover now).

Samples can be found here : https://we.tl/9WadnNpF4t
(and need to be put inside fate-suite/exr)

rgb_scanline_half_piz_bw : Replicate trouble of ticket #3932
rgb_scanline_half_piz_color : a more common piz file
rgb_scanline_half_piz_dw_t01 : the official sample ./DisplayWindow/T01.exr
(who use a different part of the decompression (see recent patch for
fix_huf_decode).

Martin
Jokyo Images
From cbef05fca746de42340f7d60a6ff852548f364f9 Mon Sep 17 00:00:00 2001
From: Martin Vignali <martin.vign...@gmail.com>
Date: Wed, 13 Apr 2016 13:01:56 +0200
Subject: [PATCH] fate/exr : add test for piz compression

---
 tests/fate/image.mak                            | 9 +++++++++
 tests/ref/fate/exr-rgb-scanline-half-piz-bw     | 2 ++
 tests/ref/fate/exr-rgb-scanline-half-piz-color  | 2 ++
 tests/ref/fate/exr-rgb-scanline-half-piz-dw-t01 | 2 ++
 4 files changed, 15 insertions(+)
 create mode 100644 tests/ref/fate/exr-rgb-scanline-half-piz-bw
 create mode 100644 tests/ref/fate/exr-rgb-scanline-half-piz-color
 create mode 100644 tests/ref/fate/exr-rgb-scanline-half-piz-dw-t01

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 9e0736b..0745502 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -56,6 +56,15 @@ fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -
 FATE_EXR += fate-exr-slice-rle
 fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
 
+FATE_EXR += fate-exr-rgb-scanline-half-piz-bw
+fate-exr-rgb-scanline-half-piz-bw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_bw.exr -pix_fmt rgb48le
+
+FATE_EXR += fate-exr-rgb-scanline-half-piz-color
+fate-exr-rgb-scanline-half-piz-color: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_color.exr -pix_fmt rgb48le
+
+FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t01
+fate-exr-rgb-scanline-half-piz-dw-t01: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t01.exr -pix_fmt rgb48le
+
 FATE_EXR += fate-exr-slice-zip1
 fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
 
diff --git a/tests/ref/fate/exr-rgb-scanline-half-piz-bw b/tests/ref/fate/exr-rgb-scanline-half-piz-bw
new file mode 100644
index 0000000..e687af6
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-scanline-half-piz-bw
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,     5508, 0x36d15e2e
diff --git a/tests/ref/fate/exr-rgb-scanline-half-piz-color b/tests/ref/fate/exr-rgb-scanline-half-piz-color
new file mode 100644
index 0000000..af93b51
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-scanline-half-piz-color
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,     8160, 0x9dd67b7d
diff --git a/tests/ref/fate/exr-rgb-scanline-half-piz-dw-t01 b/tests/ref/fate/exr-rgb-scanline-half-piz-dw-t01
new file mode 100644
index 0000000..fb4c3bc
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-scanline-half-piz-dw-t01
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,   720000, 0xe50fc9f8
-- 
1.9.3 (Apple Git-50)

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to