[FFmpeg-devel] [PATCH] libavcodec/fft_template: improve performance of the ff_fft_init in fft_template

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Dec 17 16:05:20 EET 2018


2018-12-17 10:13 GMT+01:00, Steven Liu <lq at chinaffmpeg.org>:
> After patch:
> init nbits = 17, get 10000 samples, duration: 15221
> Before patch:
> init nbits = 17, get 10000 samples, duration: 16105
>
> test script:
> DURATION=0
> for((i=0;i<10000;i++)) do
> ./libavcodec/tests/fft -n 17 &>output
> T_DURATION=`grep "duration" output | awk -F"=" '{ print $2}'`
> DURATION=`expr $DURATION + $T_DURATION`
> done
> TOTAL=`expr $DURATION / 10000`
> echo $TOTAL

This script does not allow to reproduce afaict.
(There is no "duration" here in output)

Carl Eugen


More information about the ffmpeg-devel mailing list