ac3enc: Add x86-optimized function to speed up log2_tab().
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 13 Feb 2011 19:49:50 +0000 (14:49 -0500)
committerRonald S. Bultje <rsbultje@gmail.com>
Sun, 13 Feb 2011 21:49:39 +0000 (16:49 -0500)
commitfbb6b49dabc3398440c6dfa838aa090a7a6ebc0d
tree050f0baf5915823f816682340bde83417541854c
parent1a973feb45826a1998b4286ecfe1fa7a602b8780
ac3enc: Add x86-optimized function to speed up log2_tab().

AC3DSPContext.ac3_max_msb_abs_int16() finds the maximum MSB of the absolute
value of each element in an array of int16_t.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/ac3dsp.c
libavcodec/ac3dsp.h
libavcodec/ac3enc_fixed.c
libavcodec/x86/ac3dsp.asm
libavcodec/x86/ac3dsp_mmx.c