Mercurial > libavcodec.hg
annotate dcadsp.h @ 12454:f4355cd85faa libavcodec
Port latest x264 deblock asm (before they moved to using NV12 as internal
format), LGPL'ed with permission from Jason and Loren. This includes mmx2
code, so remove inline asm from h264dsp_mmx.c accordingly.
author | rbultje |
---|---|
date | Fri, 03 Sep 2010 16:52:46 +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 */ |