summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodsp.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2012-01-04 21:32:47 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2012-01-08 17:37:07 -0800
commit6dfcf53092aba9f1ef31629e11515df5752327db (patch)
treeb9d477003112438e6bfd920ce3e4d924aab6fed1 /libavcodec/mpegaudiodsp.h
parent421c99a4a7c116fc2d4e7a6c866c2209852ef581 (diff)
mpegaudiodec: move imdct and windowing function to mpegaudiodsp
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/mpegaudiodsp.h')
-rw-r--r--libavcodec/mpegaudiodsp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodsp.h b/libavcodec/mpegaudiodsp.h
index 8a18db8325..01fd698f3e 100644
--- a/libavcodec/mpegaudiodsp.h
+++ b/libavcodec/mpegaudiodsp.h
@@ -28,6 +28,10 @@ typedef struct MPADSPContext {
int *dither_state, int16_t *samples, int incr);
void (*dct32_float)(float *dst, const float *src);
void (*dct32_fixed)(int *dst, const int *src);
+ void (*imdct36_blocks_float)(float *out, float *buf, float *in,
+ int count, int switch_point, int block_type);
+ void (*imdct36_blocks_fixed)(int *out, int *buf, int *in,
+ int count, int switch_point, int block_type);
} MPADSPContext;
void ff_mpadsp_init(MPADSPContext *s);
@@ -61,4 +65,16 @@ void ff_mpadsp_apply_window_fixed(int32_t *synth_buf, int32_t *window,
int *dither_state, int16_t *samples,
int incr);
+void ff_imdct36_blocks_float(float *out, float *buf, float *in,
+ int count, int switch_point, int block_type);
+
+void ff_imdct36_blocks_fixed(int *out, int *buf, int *in,
+ int count, int switch_point, int block_type);
+
+void ff_init_mpadsp_tabs_float(void);
+void ff_init_mpadsp_tabs_fixed(void);
+
+extern int ff_mdct_win_fixed[8][36];
+extern float ff_mdct_win_float[8][36];
+
#endif /* AVCODEC_MPEGAUDIODSP_H */