Commit ae9f4540cb for ffmpeg
commit ae9f4540cb6a549118aacef8361dc2f8da9d5f4a
Author: Zhao Zhili <quinkblack@foxmail.com>
Date: Tue Nov 10 10:34:41 2026 +0800
tests/fate/hevc: cover pictures with several slices per tile
Add a test for pictures whose tiles are each split into several
slices, decoded with two frame threads.
diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index c2b557a91e..9825f438d6 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -381,6 +381,11 @@ fate-hevc-12bit-qp74: CMD = framemd5 -i $(TARGET_SAMPLES)/hevc/12bit-444-qp74.he
fate-hevc-12bit-qp75: CMD = framemd5 -i $(TARGET_SAMPLES)/hevc/12bit-444-qp75.hevc -pix_fmt yuv444p12le -vf scale
FATE_HEVC-$(call FRAMEMD5, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) += fate-hevc-12bit-qp74 fate-hevc-12bit-qp75
+# Several slices per tile: the slices are collected and decoded in CTB row order.
+fate-hevc-tile-row-order-multislice: CMD = framecrc -tile_interleave 1 -i $(TARGET_SAMPLES)/hevc/tile_row_order_multislice.hevc -pix_fmt yuv420p
+fate-hevc-tile-row-order-multislice: THREADS = 2
+FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER) += fate-hevc-tile-row-order-multislice
+
FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)
diff --git a/tests/ref/fate/hevc-tile-row-order-multislice b/tests/ref/fate/hevc-tile-row-order-multislice
new file mode 100644
index 0000000000..cc2481959b
--- /dev/null
+++ b/tests/ref/fate/hevc-tile-row-order-multislice
@@ -0,0 +1,37 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 800x192
+#sar 0: 1/1
+0, 0, 0, 1, 230400, 0x2356cc29
+0, 1, 1, 1, 230400, 0xd9e90ea9
+0, 2, 2, 1, 230400, 0x514ab687
+0, 3, 3, 1, 230400, 0x2e04ecad
+0, 4, 4, 1, 230400, 0x173fafec
+0, 5, 5, 1, 230400, 0x087748c0
+0, 6, 6, 1, 230400, 0x39e87032
+0, 7, 7, 1, 230400, 0x8e966a75
+0, 8, 8, 1, 230400, 0xb431f95a
+0, 9, 9, 1, 230400, 0xae34f203
+0, 10, 10, 1, 230400, 0xe7079654
+0, 11, 11, 1, 230400, 0x7b7866f0
+0, 12, 12, 1, 230400, 0x76885931
+0, 13, 13, 1, 230400, 0xcca28457
+0, 14, 14, 1, 230400, 0x2305437d
+0, 15, 15, 1, 230400, 0x54c69763
+0, 16, 16, 1, 230400, 0x85962a00
+0, 17, 17, 1, 230400, 0x45fcfe40
+0, 18, 18, 1, 230400, 0xc99927ae
+0, 19, 19, 1, 230400, 0x5172c5a8
+0, 20, 20, 1, 230400, 0x42d62b2c
+0, 21, 21, 1, 230400, 0xe6981ea4
+0, 22, 22, 1, 230400, 0x36b6fe8c
+0, 23, 23, 1, 230400, 0x10e20ade
+0, 24, 24, 1, 230400, 0x08bc1dd3
+0, 25, 25, 1, 230400, 0x2e5a7e0e
+0, 26, 26, 1, 230400, 0xa457d70f
+0, 27, 27, 1, 230400, 0xc2a15aaf
+0, 28, 28, 1, 230400, 0x8f7da7c7
+0, 29, 29, 1, 230400, 0xdece3849
+0, 30, 30, 1, 230400, 0xca53bb29
+0, 31, 31, 1, 230400, 0x1b248c37