comparison dcadsp.c @ 11619:8d3539d6ba3d libavcodec

DCA: ARM/NEON optimised lfe_fir
author mru
date Mon, 12 Apr 2010 20:45:33 +0000
parents bb17732c00ef
children
comparison
equal deleted inserted replaced
11618:ce8ad9819cd6 11619:8d3539d6ba3d
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software 18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 21
22 #include "config.h"
22 #include "dcadsp.h" 23 #include "dcadsp.h"
23 24
24 static void dca_lfe_fir_c(float *out, const float *in, const float *coefs, 25 static void dca_lfe_fir_c(float *out, const float *in, const float *coefs,
25 int decifactor, float scale, float bias) 26 int decifactor, float scale, float bias)
26 { 27 {
44 } 45 }
45 46
46 void ff_dcadsp_init(DCADSPContext *s) 47 void ff_dcadsp_init(DCADSPContext *s)
47 { 48 {
48 s->lfe_fir = dca_lfe_fir_c; 49 s->lfe_fir = dca_lfe_fir_c;
50 if (ARCH_ARM) ff_dcadsp_init_arm(s);
49 } 51 }