[FFmpeg-cvslog] fate/exr : add test for PXR24 Float and tile uncompress

Martin Vignali git at videolan.org
Sun Apr 10 19:53:04 CEST 2016


ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Mon Apr  4 16:42:00 2016 +0200| [b45d542ea62584dfc784dcc253c098872cf982c4] | committer: Paul B Mahol

fate/exr : add test for PXR24 Float and tile uncompress

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b45d542ea62584dfc784dcc253c098872cf982c4
---

 tests/fate/image.mak                             |   12 ++++++++++++
 tests/ref/fate/exr-rgb-scanline-pxr24-float-12x8 |    2 ++
 tests/ref/fate/exr-rgb-tile-float-raw-12x8       |    2 ++
 tests/ref/fate/exr-rgb-tile-float-raw-150x130    |    2 ++
 tests/ref/fate/exr-rgb-tile-half-raw-12x8        |    2 ++
 5 files changed, 20 insertions(+)

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 4155d6b..9e0736b 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -65,6 +65,9 @@ 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-rgb-scanline-pxr24-float-12x8
+fate-exr-rgb-scanline-pxr24-float-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_12x8.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
 
@@ -77,6 +80,15 @@ fate-exr-rgb-scanline-half-b44-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb
 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 += fate-exr-rgb-tile-float-raw-12x8
+fate-exr-rgb-tile-float-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_12x8.exr -pix_fmt rgb48le
+
+FATE_EXR += fate-exr-rgb-tile-float-raw-150x130
+fate-exr-rgb-tile-float-raw-150x130: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_150x130.exr -pix_fmt rgb48le
+
+FATE_EXR += fate-exr-rgb-tile-half-raw-12x8
+fate-exr-rgb-tile-half-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_raw_12x8.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-pxr24-float-12x8 b/tests/ref/fate/exr-rgb-scanline-pxr24-float-12x8
new file mode 100644
index 0000000..0f3a112
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-scanline-pxr24-float-12x8
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,      576, 0x7120e072
diff --git a/tests/ref/fate/exr-rgb-tile-float-raw-12x8 b/tests/ref/fate/exr-rgb-tile-float-raw-12x8
new file mode 100644
index 0000000..1c20982
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-tile-float-raw-12x8
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,      576, 0x6b950ce3
diff --git a/tests/ref/fate/exr-rgb-tile-float-raw-150x130 b/tests/ref/fate/exr-rgb-tile-float-raw-150x130
new file mode 100644
index 0000000..4efacaa
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-tile-float-raw-150x130
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,   117000, 0xabc5eab2
diff --git a/tests/ref/fate/exr-rgb-tile-half-raw-12x8 b/tests/ref/fate/exr-rgb-tile-half-raw-12x8
new file mode 100644
index 0000000..e03753e
--- /dev/null
+++ b/tests/ref/fate/exr-rgb-tile-half-raw-12x8
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,      576, 0x667903f5



More information about the ffmpeg-cvslog mailing list