Re: [FFmpeg-devel] [PATCH V1] lavfi/normalize: improve the performance

2019-06-21 Thread Reimar Döffinger
On Thu, Jun 20, 2019 at 09:43:46PM +0800, Jun Zhao wrote: > From: Jun Zhao > > Remove unnecessary max value found, it's will improve the performance > about 10%. Used the test command like: > ffmpeg -i 1080P.mp4 -an -vf normalize -f null /dev/null, the FPS change > from 96fps to 107fps. > >

[FFmpeg-devel] [PATCH V1] lavfi/normalize: improve the performance

2019-06-20 Thread Jun Zhao
From: Jun Zhao Remove unnecessary max value found, it's will improve the performance about 10%. Used the test command like: ffmpeg -i 1080P.mp4 -an -vf normalize -f null /dev/null, the FPS change from 96fps to 107fps. Signed-off-by: Jun Zhao --- libavfilter/vf_normalize.c |7 +++ 1