Commit eb8f8f3189 for ffmpeg

commit eb8f8f3189ed96e44b6f06ce57d74b0427099d38
Author: Wu Jianhua <toqsxw@outlook.com>
Date:   Tue Aug 18 06:07:50 2026 +0800

    fate/vvc: add vvc-16bit-mc

    Source: https://www.itu.int/wftp3/av-arch/jvet-site/bitstream_exchange/VVCv2/under_test/VTM-20.2/16b420P16_A_Sony_2.zip

    Generate this sample from the official 16b420P16_A_Sony_2 stream. Decode
    the first 17 frames and encode them at their native 256x144 resolution
    with VTM 20.2 using encoder_randomaccess_vtm_gop16.cfg and
    cfg/hbd/16-bit.cfg, QP 36, TemporalFilter=0 and LMCSEnable=0. No spatial
    scaling is used.

    Keep the first seven coded pictures (POC 0, 16, 8, 4, 2, 1 and 3) as an exact
    prefix of the VTM output; no second encode is performed during extraction.
    The first six pictures miss dmvr_16, while the seventh brings coverage
    to all 30 16-bit MC functions exercised by the 45 VVCv2 16-bit streams.
    QP 36 is the highest tested QP retaining this union; QP 37 loses
    dmvr_v_16 and CIIP.

    The covered groups are regular and uni luma/chroma interpolation, avg and
    w_avg, CIIP, GPM, DMVR, BDOF, and uni/bi PROF.

    Append a three-picture low-delay P sequence using the first three Sony
    pictures. Use VTM 20.2 with encoder_lowdelay_P_vtm.cfg, cfg/hbd/hbd.cfg
    and cfg/hbd/16-bit.cfg, --SIMD=SCALAR, QP 40, 25 fps, 16-bit input
    and output, LMCSEnable=0, WeightedPredP=1, RPR=1, SwitchPocPeriod=1,
    and ScalingRatioHor=ScalingRatioVer=2. In VTM's weight analysis, read
    reference AC/DC statistics from unscaledPic to handle scaled references.

    The new pictures switch from 256x144 to 128x72 and back, with identity
    weights. Decoding reaches both 16-bit weighted RPR callbacks, and the
    new frame CRCs match VTM reconstruction at native picture sizes.
    The first seven frame CRCs are unchanged.

    vvc/vvc-16bit-mc-rpc.vvc (6416 bytes)
    SHA-256: 02aa61d88f0fa574fa9bae1e16dcb11b23fc155d840b39e8911450dfa0c8c7b3

    Signed-off-by: Wu Jianhua <toqsxw@outlook.com>

diff --git a/tests/fate/vvc.mak b/tests/fate/vvc.mak
index 715c855355..0815210cda 100644
--- a/tests/fate/vvc.mak
+++ b/tests/fate/vvc.mak
@@ -48,6 +48,7 @@ $(VVC_TESTS_10BIT): SCALE_OPTS := -pix_fmt yuv420p10le -vf scale
 $(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-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
@@ -63,6 +64,7 @@ FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER SCALE_FILTER) +=
                                                     $(VVC_TESTS_10BIT)            \
                                                     $(VVC_TESTS_422_10BIT)        \
                                                     $(VVC_TESTS_444_10BIT)        \
+                                                    fate-vvc-16bit-mc             \
                                                     fate-vvc-frames-with-ltr      \
                                                     fate-vvc-wpp-single-slice-pic \
                                                     fate-vvc-rpr-weighted-pred    \
diff --git a/tests/ref/fate/vvc-16bit-mc b/tests/ref/fate/vvc-16bit-mc
new file mode 100644
index 0000000000..38c1978b1a
--- /dev/null
+++ b/tests/ref/fate/vvc-16bit-mc
@@ -0,0 +1,15 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 256x144
+#sar 0: 0/1
+0,          0,          0,        1,   110592, 0xa43805ca
+0,          1,          1,        1,   110592, 0x53ef85a4
+0,          2,          2,        1,   110592, 0xce9fd057
+0,          3,          3,        1,   110592, 0x4155cc5b
+0,          4,          4,        1,   110592, 0x1afa7307
+0,          5,          5,        1,   110592, 0xd1714ae8
+0,          6,          6,        1,   110592, 0x5baf2c73
+0,          7,          7,        1,   110592, 0x7ef32699
+0,          8,          8,        1,    27648, 0x04846347
+0,          9,          9,        1,   110592, 0x2537dccb