Commit 5477ef7206 for ffmpeg
commit 5477ef7206fed815c91672c5b5a1b1952186853b
Author: Frank Plowman <post@frankplowman.com>
Date: Sat Oct 31 15:18:09 2026 +0000
tests/fate/vvc: Add fate-vvc-rpr-weighted-pred
Uses weighted prediction and reference picture resampling
simultaneously, a combination which is absent from the conformance suite
and was previously broken. Uses both uni- and bi-prediction.
Signed-off-by: Frank Plowman <post@frankplowman.com>
diff --git a/tests/fate/vvc.mak b/tests/fate/vvc.mak
index f61db79973..e9382257b3 100644
--- a/tests/fate/vvc.mak
+++ b/tests/fate/vvc.mak
@@ -53,6 +53,7 @@ fate-vvc-frames-with-ltr: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/vvc_f
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
fate-vvc-curr-ltrp-alias: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/curr-ltrp-alias.vvc
fate-vvc-mv-clip-wrap: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/mv-clip-wrap.vvc -pix_fmt yuv420p
+fate-vvc-rpr-weighted-pred: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc/rpr-weighted-pred.vvc -pix_fmt yuv420p10le -vf scale
FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER) += $(VVC_TESTS_8BIT) \
fate-vvc-output-ref \
@@ -64,6 +65,7 @@ FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER SCALE_FILTER) +=
$(VVC_TESTS_444_10BIT) \
fate-vvc-frames-with-ltr \
fate-vvc-wpp-single-slice-pic \
+ fate-vvc-rpr-weighted-pred \
FATE_SAMPLES_FFMPEG += $(FATE_VVC-yes)
diff --git a/tests/ref/fate/vvc-rpr-weighted-pred b/tests/ref/fate/vvc-rpr-weighted-pred
new file mode 100644
index 0000000000..c2715de994
--- /dev/null
+++ b/tests/ref/fate/vvc-rpr-weighted-pred
@@ -0,0 +1,8 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x16
+#sar 0: 0/1
+0, 0, 0, 1, 768, 0x34a3ae56
+0, 1, 1, 1, 768, 0xbd97b811
+0, 2, 2, 1, 768, 0x61e59440