fate/exr : add tests for piz uncompress
authorMartin Vignali <martin.vignali@gmail.com>
Sun, 23 Apr 2017 13:15:31 +0000 (15:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 1 May 2017 09:40:57 +0000 (11:40 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/image.mak
tests/ref/fate/exr-rgb-scanline-float-piz-48x32 [new file with mode: 0644]
tests/ref/fate/exr-rgb-scanline-half-piz-bw [new file with mode: 0644]
tests/ref/fate/exr-rgb-scanline-half-piz-color [new file with mode: 0644]
tests/ref/fate/exr-rgb-scanline-half-piz-dw-t01 [new file with mode: 0644]

index 2b569cf..4a2cb81 100644 (file)
@@ -256,6 +256,18 @@ fate-exr-rgb-scanline-pxr24-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_
 FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets
 fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float_zero_offsets.exr -pix_fmt rgb48le
 
+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-rgb-scanline-float-piz-48x32
+fate-exr-rgb-scanline-float-piz-48x32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_piz_48x32.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-piz-48x32 b/tests/ref/fate/exr-rgb-scanline-float-piz-48x32
new file mode 100644 (file)
index 0000000..d1a5d90
--- /dev/null
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 48x32
+#sar 0: 1/1
+0,          0,          0,        1,     9216, 0x5b3f7a8e
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 (file)
index 0000000..6e08d52
--- /dev/null
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x27
+#sar 0: 1/1
+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 (file)
index 0000000..2151079
--- /dev/null
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x40
+#sar 0: 1/1
+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 (file)
index 0000000..e135aed
--- /dev/null
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 400x300
+#sar 0: 1/1
+0,          0,          0,        1,   720000, 0xe50fc9f8