Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #239983

Category ffmpeg
Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
Changed at Thu 17 Jul 2025 12:33:59
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision bc8d06d54188a3c1ba878b7e0bca66b9e4b3ceea

Comments

avfilter/vf_thumbnail: unroll and use multiple histograms
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.

Changed files