summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/mlpdsp.c
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
commitf7813a5324be39d13ab536c245d15dfc602a7849 (patch)
treefad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavcodec/mlpdsp.c
parentb7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff)
basic type mechanism working
Diffstat (limited to 'ffmpeg/libavcodec/mlpdsp.c')
-rw-r--r--ffmpeg/libavcodec/mlpdsp.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/ffmpeg/libavcodec/mlpdsp.c b/ffmpeg/libavcodec/mlpdsp.c
index 9a376e2..b413e86 100644
--- a/ffmpeg/libavcodec/mlpdsp.c
+++ b/ffmpeg/libavcodec/mlpdsp.c
@@ -20,13 +20,14 @@
*/
#include "config.h"
+#include "libavutil/attributes.h"
#include "mlpdsp.h"
#include "mlp.h"
-static void ff_mlp_filter_channel(int32_t *state, const int32_t *coeff,
- int firorder, int iirorder,
- unsigned int filter_shift, int32_t mask, int blocksize,
- int32_t *sample_buffer)
+static void mlp_filter_channel(int32_t *state, const int32_t *coeff,
+ int firorder, int iirorder,
+ unsigned int filter_shift, int32_t mask,
+ int blocksize, int32_t *sample_buffer)
{
int32_t *firbuf = state;
int32_t *iirbuf = state + MAX_BLOCKSIZE + MAX_FIR_ORDER;
@@ -56,9 +57,9 @@ static void ff_mlp_filter_channel(int32_t *state, const int32_t *coeff,
}
}
-void ff_mlpdsp_init(MLPDSPContext *c)
+av_cold void ff_mlpdsp_init(MLPDSPContext *c)
{
- c->mlp_filter_channel = ff_mlp_filter_channel;
+ c->mlp_filter_channel = mlp_filter_channel;
if (ARCH_X86)
ff_mlpdsp_init_x86(c);
}