aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mlpdsp.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-10-11 02:01:41 +0200
committerLuca Barbato <lu_zero@gentoo.org>2012-10-11 12:01:08 +0200
commit2d6caade22334f5c0e999ebfe5f0f20c1b18aafc (patch)
tree6bddc6b68abc5c1ad7a8674a436c2bb53b6fd9e5 /libavcodec/mlpdsp.c
parent25dc79bc1433f2689b69aa1293e311ed69a95a8a (diff)
downloadffmpeg-2d6caade22334f5c0e999ebfe5f0f20c1b18aafc.tar.gz
dsputil: split out mlp dsp function
Diffstat (limited to 'libavcodec/mlpdsp.c')
-rw-r--r--libavcodec/mlpdsp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/mlpdsp.c b/libavcodec/mlpdsp.c
index 7d01c7586d..2944ce8432 100644
--- a/libavcodec/mlpdsp.c
+++ b/libavcodec/mlpdsp.c
@@ -19,7 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "dsputil.h"
+#include "config.h"
+#include "mlpdsp.h"
#include "mlp.h"
static void ff_mlp_filter_channel(int32_t *state, const int32_t *coeff,
@@ -55,9 +56,9 @@ static void ff_mlp_filter_channel(int32_t *state, const int32_t *coeff,
}
}
-void ff_mlp_init(DSPContext* c, AVCodecContext *avctx)
+void ff_mlpdsp_init(MLPDSPContext *c)
{
c->mlp_filter_channel = ff_mlp_filter_channel;
if (ARCH_X86)
- ff_mlp_init_x86(c, avctx);
+ ff_mlpdsp_init_x86(c);
}