lavc/opus_celt: replace pow by exp2
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 9 Dec 2015 23:23:00 +0000 (18:23 -0500)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Thu, 17 Dec 2015 22:06:46 +0000 (14:06 -0800)
commit97d2c2d678f6aa4ba5178a5bd16094e73e118ff6
treed34ee8bef55dd417603a921f52ef99d4d474d7b4
parent95b59bfb9d9e47de8438183a035e02667946f27c
lavc/opus_celt: replace pow by exp2

exp2 is faster.

It may be possible to optimize further; e.g the exponents seem to be
multiples of 0.25. This requires study though.

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