mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-14 06:02:48 +00:00
Keep the merged upstream row kernel for shorter streaks and unsupported inputs. Use bounded overlap-save convolution of its merged bilinear coefficients when channel pairs, parallelism and memory estimates favor FFT. Preserve alpha cutoff behavior, cancellation, selections and depth/model-neutral filtering. Validate 303 algorithm tests in debug and release, plus native checks and full image comparisons. Repeated current-upstream comparisons show 2.31x at 24 MP and 4.15x at 1.5 MP for angle 30 / distance 1000 on the measured host. Co-authored-by: optimalbytee <optimalbytee@users.noreply.github.com>