diff mbox series

[FFmpeg-devel,3/3] tests/fate/hevc: add a periodic intra refresh decode test

Message ID 20240910063942.23588-8-anton@khirnov.net
State New
Headers show
Series [FFmpeg-devel,1/3] lavc/hevcdec: remove a duplicate variable | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 fail Make fate failed
andriy/make_x86 success Make finished
andriy/make_fate_x86 fail Make fate failed

Commit Message

Anton Khirnov Sept. 10, 2024, 6:39 a.m. UTC
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

Comments

Anton Khirnov Sept. 10, 2024, 6:43 a.m. UTC | #1
Quoting Anton Khirnov (2024-09-10 08:39:47)
> Please put https://ups.khirnov.net/3dc9efb9d882bbbf05876bfa67d5257fb0ee93065b43dc5512539ac3dfe91208/pir.hevc
> to hevc/pir.hevc

Ccing samples-request
James Almer Sept. 10, 2024, 1:56 p.m. UTC | #2
On 9/10/2024 3:39 AM, Anton Khirnov wrote:
> 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

Uploaded.
diff mbox series

Patch

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