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

2019-01-31 Thread myp...@gmail.com
On Fri, Feb 1, 2019 at 3:57 AM Carl Eugen Hoyos wrote: > > 2019-01-31 14:55 GMT+01:00, Jun Zhao : > > 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 usi

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

2019-01-31 Thread Carl Eugen Hoyos
2019-01-31 14:55 GMT+01:00, Jun Zhao : > 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 imp

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

2019-01-31 Thread Jun Zhao
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 pic