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

mindmark at gmail.com mindmark at gmail.com
Mon Apr 27 04:17:51 EEST 2020


From: Mark Reid <mindmark at 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

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
--
2.25.0


More information about the ffmpeg-devel mailing list