On Sat, 12 Jul 2025 13:38:37 +0200 Niklas Haas <ffm...@haasn.xyz> wrote: > From: Niklas Haas <g...@haasn.dev> > > This naive hist[p[x]]++ loop suffers badly when there are large regions of > identical values in the image, because of store-to-load forwarding delay. > > Splitting up the histogram into four "parallel" histograms and processing > them one at a time speeds things up significantly, about 40% on my end.
Merging this patch soon. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".