lavfi/af_sofalizer: remove exp2 and replace clz by ff_clz
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Tue, 29 Dec 2015 21:16:08 +0000 (13:16 -0800)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 1 Jan 2016 20:12:10 +0000 (12:12 -0800)
commit9dba3f8f09834b68f4671de37ee67a95c09c4378
tree687a7c47938a82cd87f4a7f31f3c1287dc99f103
parent77eeaa2c3dec9d0e374ea5597d002527306261ec
lavfi/af_sofalizer: remove exp2 and replace clz by ff_clz

ff_clz is faster, and uses an intrinsic (at the moment on GCC). exp2 is
a wasteful function for a simple integer exponentiation.

Untested.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavfilter/af_sofalizer.c