[FFmpeg-devel] [PATCH 3/3] tests/fate/hevc: add a periodic intra refresh decode test
Anton Khirnov
anton at khirnov.net
Tue Sep 10 09:39:47 EEST 2024
Would trigger #10887 before it was fixed, sample cut from the one
attached to the bug.
---
Please put https://ups.khirnov.net/3dc9efb9d882bbbf05876bfa67d5257fb0ee93065b43dc5512539ac3dfe91208/pir.hevc
to hevc/pir.hevc
---
tests/fate/hevc.mak | 3 +++
tests/ref/fate/hevc-pir | 15 +++++++++++++++
2 files changed, 18 insertions(+)
create mode 100644 tests/ref/fate/hevc-pir
diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index 720603c112..88aeb9cebd 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -258,6 +258,9 @@ FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-cabac-tudepth
fate-hevc-small422chroma: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/food.hevc -pix_fmt yuv422p10le -vf scale
FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) += fate-hevc-small422chroma
+fate-hevc-pir: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/pir.hevc
+FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-pir
+
FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)
diff --git a/tests/ref/fate/hevc-pir b/tests/ref/fate/hevc-pir
new file mode 100644
index 0000000000..ff9a51ec4c
--- /dev/null
+++ b/tests/ref/fate/hevc-pir
@@ -0,0 +1,15 @@
+#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1920x1080
+#sar 0: 1/1
+0, 0, 0, 1, 3110400, 0x7f744ab9
+0, 1, 1, 1, 3110400, 0x5f077ff0
+0, 2, 2, 1, 3110400, 0x25932fe2
+0, 3, 3, 1, 3110400, 0x5b2cd739
+0, 4, 4, 1, 3110400, 0xbbfe65ec
+0, 5, 5, 1, 3110400, 0xb53eab5f
+0, 6, 6, 1, 3110400, 0x9f318977
+0, 7, 7, 1, 3110400, 0x205cc30c
+0, 8, 8, 1, 3110400, 0x06ea7dfc
+0, 9, 9, 1, 3110400, 0x7597691a
--
2.43.0
More information about the ffmpeg-devel
mailing list