[FFmpeg-cvslog] tests/fate/hevc: add a periodic intra refresh decode test
Anton Khirnov
git at videolan.org
Fri Sep 13 13:16:13 EEST 2024
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Sep 4 12:46:32 2024 +0200| [c079ebdc57962e3474c149db76480f9d060a96a1] | committer: Anton Khirnov
tests/fate/hevc: add a periodic intra refresh decode test
Would trigger #10887 before it was fixed, sample cut from the one
attached to the bug.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c079ebdc57962e3474c149db76480f9d060a96a1
---
tests/fate/hevc.mak | 3 +++
tests/ref/fate/hevc-pir | 15 +++++++++++++++
2 files changed, 18 insertions(+)
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
More information about the ffmpeg-cvslog
mailing list