forge
Explore
Log in

Don't you dare go Hollow

Add 1916x1080 h264/hevc samples for the cropping rect

Browse files at this commit

0dc3e2b65a4d3ea4339da5f32c2980ddc48c944fAhmet Kaan GümüşParent: d207f1d
  • test
    • add 1916x1080 h264/hevc samples for the cropping rect
Show full message
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.shmodified+6 -0
@@ -147,6 +147,12 @@ for spec in "${VIDEO_CODECS[@]}"; do
147147 done
148148 # One 4K sample per codec (8-bit, mp4, 23.976) — size/stride edge cases.
149149 gen_video "$vname" "$venc" "$vextra" yuv420p 23.976 24000/1001 3840x2160 2160p mp4
150+ # 1916x1080: not a multiple of the macroblock/CTU size, so the decoder must
151+ # honour the cropping rect / conformance window. The real library has BluRay
152+ # remuxes at exactly this size, and every other fixture here is CTU-aligned.
153+ case $vname in
154+ h264 | hevc) gen_video "$vname" "$venc" "$vextra" yuv420p 23.976 24000/1001 1916x1080 1916x1080 mp4 ;;
155+ esac
150156 done
151157
152158 # -------------------------------------------------------------- summary -----