From 0dc3e2b65a4d3ea4339da5f32c2980ddc48c944f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 14 Aug 2026 07:58:02 +0300 Subject: [PATCH] test(fixtures): add 1916x1080 h264/hevc samples for the cropping rect Every other video fixture is CTU-aligned; the local library contains BluRay remuxes at 1916x1080, which is where a conformance-window bug shows up. --- scripts/gen-fixtures.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/gen-fixtures.sh b/scripts/gen-fixtures.sh index 3090ca4f..85665ef7 100755 --- a/scripts/gen-fixtures.sh +++ b/scripts/gen-fixtures.sh @@ -147,6 +147,12 @@ for spec in "${VIDEO_CODECS[@]}"; do done # One 4K sample per codec (8-bit, mp4, 23.976) — size/stride edge cases. gen_video "$vname" "$venc" "$vextra" yuv420p 23.976 24000/1001 3840x2160 2160p mp4 + # 1916x1080: not a multiple of the macroblock/CTU size, so the decoder must + # honour the cropping rect / conformance window. The real library has BluRay + # remuxes at exactly this size, and every other fixture here is CTU-aligned. + case $vname in + h264 | hevc) gen_video "$vname" "$venc" "$vextra" yuv420p 23.976 24000/1001 1916x1080 1916x1080 mp4 ;; + esac done # -------------------------------------------------------------- summary -----