Files
ffmpeg-patched/libavfilter
gx d7fd75657d vf_cuda_grid: aspect_mode option — letterbox/pillarbox preserve
New AVOption aspect_mode (0=stretch default, 1=fit). При fit вычисляется
inscribed rect внутри cell сохраняющий src aspect ratio. Letterbox/pillarbox
заполняется BT.709 limited-range black (Y=16, UV=128,128) через existing
Alpha_Fill_Y/UV kernels с alpha=255.

Fixes user complaint: main_plus_preview main cell {0,0,2/3,1.0} = 1.18:1 →
camera 16:9 stretched по высоте. С aspect_mode=1 camera fits ширину 853×479
с letterbox 120px сверху+снизу.

Verified: main_plus_preview snapshot — parking lot now proportional, не
deformed; preview cells (16:9) — perfect fit camera (16:9) без bars.

Cost: 2 extra kernel launches (Alpha_Fill Y+UV) per cell когда aspect_mode=1
и aspect mismatch. ~negligible vs resize.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 09:31:23 +01:00
..
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00
2026-05-17 11:43:10 +01:00