Mercurial > libavcodec.hg
annotate dcadsp.h @ 12530:63edd10ad4bc libavcodec tip
Try to fix crashes introduced by r25218
r25218 made assumptions about the existence of past reference frames that
weren't necessarily true.
author | darkshikari |
---|---|
date | Tue, 28 Sep 2010 09:06:22 +0000 |
parents | 8d3539d6ba3d |
children |
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 | 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 */ |