[FFmpeg-devel] [PATCH v4] fate/vvc: Add a sample which lose frames before 5c66a3

Zhao Zhili quinkblack at foxmail.com
Wed Sep 18 09:56:22 EEST 2024


From: Zhao Zhili <zhilizhao at tencent.com>

---
sample:
8054b4b8e62c0171476b40206d044590  Hierarchical.bit
https://drive.google.com/file/d/1U5WGWeSsMFiEkhsl_vL4NiMma-LLh02t/view?usp=sharing

Put Hierarchical.bit under $(TARGET_SAMPLES)/vvc

 tests/fate/vvc.mak            |  3 ++-
 tests/ref/fate/vvc-output-ref | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 tests/ref/fate/vvc-output-ref

diff --git a/tests/fate/vvc.mak b/tests/fate/vvc.mak
index 5335460263..fb176b7745 100644
--- a/tests/fate/vvc.mak
+++ b/tests/fate/vvc.mak
@@ -42,8 +42,9 @@ $(VVC_TESTS_8BIT): SCALE_OPTS := -pix_fmt yuv420p
 $(VVC_TESTS_10BIT): SCALE_OPTS := -pix_fmt yuv420p10le -vf scale
 $(VVC_TESTS_444_10BIT): SCALE_OPTS := -pix_fmt yuv444p10le -vf scale
 fate-vvc-conformance-%: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc-conformance/$(subst fate-vvc-conformance-,,$(@)).bit $(SCALE_OPTS)
+fate-vvc-output-ref: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/Hierarchical.bit $(SCALE_OPTS)
 
-FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER) += $(VVC_TESTS_8BIT)
+FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER) += $(VVC_TESTS_8BIT) fate-vvc-output-ref
 FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER SCALE_FILTER) +=            \
                                                     $(VVC_TESTS_10BIT)     \
                                                     $(VVC_TESTS_444_10BIT) \
diff --git a/tests/ref/fate/vvc-output-ref b/tests/ref/fate/vvc-output-ref
new file mode 100644
index 0000000000..0797305b9a
--- /dev/null
+++ b/tests/ref/fate/vvc-output-ref
@@ -0,0 +1,35 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 480x320
+#sar 0: 0/1
+0,          0,          0,        1,   230400, 0x3293f7f1
+0,          1,          1,        1,   230400, 0xe2570fa4
+0,          2,          2,        1,   230400, 0xecd608fb
+0,          3,          3,        1,   230400, 0xea46f9f4
+0,          4,          4,        1,   230400, 0xb715d24a
+0,          5,          5,        1,   230400, 0x69faaf46
+0,          6,          6,        1,   230400, 0xf9a362db
+0,          7,          7,        1,   230400, 0x2dcd19ca
+0,          8,          8,        1,   230400, 0xf8fda185
+0,          9,          9,        1,   230400, 0x48a35bfd
+0,         10,         10,        1,   230400, 0x27efe832
+0,         11,         11,        1,   230400, 0x74279617
+0,         12,         12,        1,   230400, 0x91935248
+0,         13,         13,        1,   230400, 0x29b621e6
+0,         14,         14,        1,   230400, 0x89b1ec0b
+0,         15,         15,        1,   230400, 0x898fdba1
+0,         16,         16,        1,   230400, 0xc6d18e6f
+0,         17,         17,        1,   230400, 0xedff651b
+0,         18,         18,        1,   230400, 0x677e2260
+0,         19,         19,        1,   230400, 0x930918ef
+0,         20,         20,        1,   230400, 0x70da2c30
+0,         21,         21,        1,   230400, 0x699a3b9d
+0,         22,         22,        1,   230400, 0xff3b1b3a
+0,         23,         23,        1,   230400, 0xca11d9a5
+0,         24,         24,        1,   230400, 0x904394e0
+0,         25,         25,        1,   230400, 0x392e5445
+0,         26,         26,        1,   230400, 0x6191f4d8
+0,         27,         27,        1,   230400, 0xa7d7be12
+0,         28,         28,        1,   230400, 0xbb29752c
+0,         29,         29,        1,   230400, 0x14ff297e
-- 
2.42.0



More information about the ffmpeg-devel mailing list