DCA: simplify lfe_interpolation_fir()
authorMåns Rullgård <mans@mansr.com>
Mon, 12 Apr 2010 11:14:55 +0000 (11:14 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 12 Apr 2010 11:14:55 +0000 (11:14 +0000)
commit766fefe8e275c693c5acd7b2d7555b2df6e7751a
tree5e48c2dd2cb9c67c8f377094c14d867a67ef8ed3
parentb92d483bac3c833430a48eefbd0bfbe636772c27
DCA: simplify lfe_interpolation_fir()

This reorders the lfe_fir tables, and drops the mirrored half,
such that the loops in lfe_interpolation_fir() can be simplified.
The new loop structure should be easier to implement with SIMD.
Static data size is reduced by 2kB.
3% faster on Cortex-A8.

Originally committed as revision 22849 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dca.c
libavcodec/dcadata.h