annotate dcadsp.h @ 12483:0159a19bfff7 libavcodec

aacdec: Rework channel mapping compatibility hacks. For a PCE based configuration map the channels solely based on tags. For an indexed configuration map the channels solely based on position. This works with all known exotic samples including al17, elem_id0, bad_concat, and lfe_is_sce.
author alexc
date Fri, 10 Sep 2010 18:01:48 +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 /*
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
2 * This file is part of FFmpeg.
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
3 *
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
4 * 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
5 * 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
6 * 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
7 * 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
8 *
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
9 * 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
10 * 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
11 * 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
12 * Lesser General Public License for more details.
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
13 *
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
14 * 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
15 * 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
16 * 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
17 */
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
18
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
19 #ifndef AVCODEC_DCADSP_H
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
20 #define AVCODEC_DCADSP_H
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
21
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
22 typedef struct DCADSPContext {
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
23 void (*lfe_fir)(float *out, const float *in, const float *coefs,
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
24 int decifactor, float scale, float bias);
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
25 } DCADSPContext;
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
26
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
27 void ff_dcadsp_init(DCADSPContext *s);
11619
8d3539d6ba3d DCA: ARM/NEON optimised lfe_fir
mru
parents: 11617
diff changeset
28 void ff_dcadsp_init_arm(DCADSPContext *s);
11617
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
29
bb17732c00ef DCA: break out lfe_interpolation_fir() inner loops to a function
mru
parents:
diff changeset
30 #endif /* AVCODEC_DCADSP_H */