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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Jan 31 21:57:38 EET 2019

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.

Carl Eugen

More information about the ffmpeg-devel mailing list