[FFmpeg-devel] [PATCH] lavfi/vf_nlmeans: Improve the performance for nlmeans

mypopy at gmail.com mypopy at gmail.com
Fri Feb 1 04:42:28 EET 2019


On Fri, Feb 1, 2019 at 3:57 AM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
> 2019-01-31 14:55 GMT+01:00, Jun Zhao <mypopydev at gmail.com>:
> > Remove the pdiff_lut_scale in nlmeans, when search the weight_luttable
> > in nlmeans_slices(), the old way need to the float-point arithmetic
> > using pdiff_lut_scale. This change will avoid using pdiff_lut_scale
> > in the weight_lut table search, it's will improve the performance about
> > 12%. (1080P size picture).
>
> Please mention the change in heap memory requirement with numbers.
> Remove "old way need to the float-point arithmetic" because new way
> also needs (some) floating-point arithmetic.
> Feel free not to mention pdiff_lut_scale in the commit message.
>
Will update the commit message again, Tks


More information about the ffmpeg-devel mailing list