annotate arm/dcadsp_init_arm.c @ 12488:351a81a23343 libavcodec

Set a constant frame size for encoding G.726 audio.
author jbr
date Sat, 11 Sep 2010 19:52:09 +0000
parents 8d3539d6ba3d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11617
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
1 /*
11619
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
2 * Copyright (c) 2010 Mans Rullgard <mans@mansr.com>
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
3 *
11617
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
4 * This file is part of FFmpeg.
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
5 *
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
10 *
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
14 * Lesser General Public License for more details.
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
15 *
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
19 */
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
20
11619
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
21 #include "config.h"
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
22 #include "libavutil/attributes.h"
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
23 #include "libavcodec/dcadsp.h"
11617
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
24
11619
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
25 void ff_dca_lfe_fir_neon(float *out, const float *in, const float *coefs,
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
26 int decifactor, float scale, float bias);
11617
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
27
11619
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
28 void av_cold ff_dcadsp_init_arm(DCADSPContext *s)
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
29 {
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
30 if (HAVE_NEON)
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
31 s->lfe_fir = ff_dca_lfe_fir_neon;
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
32 }