aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-09-04 12:46:32 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-13 12:10:11 +0200
commitc079ebdc57962e3474c149db76480f9d060a96a1 (patch)
tree86bf934d8572e1d130b0fdc23951634abac97dd4
parent536bb988889eec08c5a1d5fd733f9e98569ae65e (diff)
downloadffmpeg-c079ebdc57962e3474c149db76480f9d060a96a1.tar.gz
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.
-rw-r--r--tests/fate/hevc.mak3
-rw-r--r--tests/ref/fate/hevc-pir15
2 files changed, 18 insertions, 0 deletions
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