Re: [FFmpeg-devel] [PATCH] lavfi/af_sofalizer: remove exp2 and replace clz by ff_clz

2016-01-01 Thread Ganesh Ajjanagadde
On Fri, Jan 1, 2016 at 11:08 AM, Paul B Mahol wrote: > On 1/1/16, Ganesh Ajjanagadde wrote: >> On Tue, Dec 29, 2015 at 1:17 PM, Ganesh Ajjanagadde >> wrote: >>> ff_clz is faster, and uses an intrinsic (at the moment on GCC). exp2 is >>> a wasteful function for a simple integer exponentiation. >>

Re: [FFmpeg-devel] [PATCH] lavfi/af_sofalizer: remove exp2 and replace clz by ff_clz

2016-01-01 Thread Paul B Mahol
On 1/1/16, Ganesh Ajjanagadde wrote: > On Tue, Dec 29, 2015 at 1:17 PM, Ganesh Ajjanagadde > wrote: >> ff_clz is faster, and uses an intrinsic (at the moment on GCC). exp2 is >> a wasteful function for a simple integer exponentiation. >> >> Untested. >> >> Signed-off-by: Ganesh Ajjanagadde >> --

Re: [FFmpeg-devel] [PATCH] lavfi/af_sofalizer: remove exp2 and replace clz by ff_clz

2016-01-01 Thread Ganesh Ajjanagadde
On Tue, Dec 29, 2015 at 1:17 PM, Ganesh Ajjanagadde wrote: > ff_clz is faster, and uses an intrinsic (at the moment on GCC). exp2 is > a wasteful function for a simple integer exponentiation. > > Untested. > > Signed-off-by: Ganesh Ajjanagadde > --- > libavfilter/af_sofalizer.c | 5 +++-- > 1 fi

[FFmpeg-devel] [PATCH] lavfi/af_sofalizer: remove exp2 and replace clz by ff_clz

2015-12-29 Thread Ganesh Ajjanagadde
ff_clz is faster, and uses an intrinsic (at the moment on GCC). exp2 is a wasteful function for a simple integer exponentiation. Untested. Signed-off-by: Ganesh Ajjanagadde --- libavfilter/af_sofalizer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_sof