diff mbox series

[FFmpeg-devel] fate/exr: add test for YA16

Message ID 20200427011751.57212-1-mindmark@gmail.com
State New
Headers show
Series [FFmpeg-devel] fate/exr: add test for YA16 | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate fail Make fate failed

Commit Message

Mark Reid April 27, 2020, 1:17 a.m. UTC
From: Mark Reid <mindmark@gmail.com>

Hi, I noticed there was not fate test for this support format of exr.

here is the test file to add to fate
https://www.dropbox.com/s/urzus0svmq1oizd/ya_scanline_zip_half_12x8.exr?dl=0

---
 tests/fate/image.mak                         | 3 +++
 tests/ref/fate/exr-ya-scanline-zip-half-12x8 | 6 ++++++
 2 files changed, 9 insertions(+)
 create mode 100644 tests/ref/fate/exr-ya-scanline-zip-half-12x8

--
2.25.0
diff mbox series

Patch

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 121405aab9..f65119bffc 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -281,6 +281,9 @@  fate-exr-y-tile-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_tile_zi
 FATE_EXR += fate-exr-y-scanline-zip-half-12x8
 fate-exr-y-scanline-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_scanline_zip_half_12x8.exr -pix_fmt gray16le

+FATE_EXR += fate-exr-ya-scanline-zip-half-12x8
+fate-exr-ya-scanline-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/ya_scanline_zip_half_12x8.exr -pix_fmt ya16le
+
 FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t08
 fate-exr-rgb-scanline-half-piz-dw-t08: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t08.exr -pix_fmt rgb48le

diff --git a/tests/ref/fate/exr-ya-scanline-zip-half-12x8 b/tests/ref/fate/exr-ya-scanline-zip-half-12x8
new file mode 100644
index 0000000000..f166396164
--- /dev/null
+++ b/tests/ref/fate/exr-ya-scanline-zip-half-12x8
@@ -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,      384, 0xcb9148cc