Commit e0ea4c8d5f for ffmpeg
commit e0ea4c8d5f9ecbb71a2b06d4d57440e3e0079e74
Author: Wu Jianhua <toqsxw@outlook.com>
Date: Fri Nov 27 23:27:39 2026 +0800
fate/vvc: add vvc-16bit-lmcs
Source: https://www.itu.int/wftp3/av-arch/jvet-site/bitstream_exchange/VVCv2/under_test/VTM-20.2/16b420P16_A_Sony_2.zip
Decode the first three frames of 16b420P16_A_Sony_2 as yuv420p16le
and encode them at their native 256x144 resolution with VTM 20.2,
using encoder_lowdelay_P_vtm.cfg, cfg/hbd/hbd.cfg and
cfg/hbd/16-bit.cfg. Use 25 fps, QP 40, 16-bit input and output,
and --SIMD=SCALAR.
Set LMCSEnable=1, LMCSSignalType=0, LMCSAdpOption=1,
LMCSInitialCW=900 and LMCSUpdateCtrl=2. Luma mapping and chroma
residual scaling are enabled in all three pictures. The frame CRCs
match the reconstruction from the VTM scalar decoder.
vvc/vvc-16bit-lmcs.vvc (1590 bytes)
SHA-256: 02173fb793e49a6ef5d313f3f41db5c528e33d67abc2cc058199192a53a5fca2
Signed-off-by: Wu Jianhua <toqsxw@outlook.com>
diff --git a/tests/fate/vvc.mak b/tests/fate/vvc.mak
index 0815210cda..82373caf35 100644
--- a/tests/fate/vvc.mak
+++ b/tests/fate/vvc.mak
@@ -49,6 +49,7 @@ $(VVC_TESTS_422_10BIT): SCALE_OPTS := -pix_fmt yuv422p10le -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-16bit-mc: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/vvc-16bit-mc-rpc.vvc -pix_fmt yuv420p16le -vf scale -noautoscale
+fate-vvc-16bit-lmcs: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/vvc-16bit-lmcs.vvc -pix_fmt yuv420p16le -vf scale
fate-vvc-output-ref: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/Hierarchical.bit $(SCALE_OPTS)
fate-vvc-frames-with-ltr: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/vvc_frames_with_ltr.vvc -pix_fmt yuv420p10le -vf scale
fate-vvc-wpp-single-slice-pic: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/wpp-single-slice-pic.vvc -pix_fmt yuv420p10le -vf scale
@@ -65,6 +66,7 @@ FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER SCALE_FILTER) +=
$(VVC_TESTS_422_10BIT) \
$(VVC_TESTS_444_10BIT) \
fate-vvc-16bit-mc \
+ fate-vvc-16bit-lmcs \
fate-vvc-frames-with-ltr \
fate-vvc-wpp-single-slice-pic \
fate-vvc-rpr-weighted-pred \
diff --git a/tests/ref/fate/vvc-16bit-lmcs b/tests/ref/fate/vvc-16bit-lmcs
new file mode 100644
index 0000000000..288c2da2f7
--- /dev/null
+++ b/tests/ref/fate/vvc-16bit-lmcs
@@ -0,0 +1,8 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 256x144
+#sar 0: 0/1
+0, 0, 0, 1, 110592, 0xc338320b
+0, 1, 1, 1, 110592, 0x041226b1
+0, 2, 2, 1, 110592, 0xb94bb2fe