summaryrefslogtreecommitdiff
path: root/libavcodec/g722.h
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2015-02-15 12:21:21 +0100
committerMartin Storsjö <martin@martin.st>2015-02-15 22:47:10 +0200
commit67690683130faf37dd9d969ced15eba2a1940ade (patch)
tree5ec3655cec9624bfd4cb1438fc152de935e34318 /libavcodec/g722.h
parent4abfa387b8234736f6e0e541951e3d5eb60eb843 (diff)
g722: Split out g722_qmf_apply() function into g722dsp.c
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/g722.h')
-rw-r--r--libavcodec/g722.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/g722.h b/libavcodec/g722.h
index 71d03fc5fa..483017018b 100644
--- a/libavcodec/g722.h
+++ b/libavcodec/g722.h
@@ -27,6 +27,7 @@
#include <stdint.h>
#include "avcodec.h"
+#include "g722dsp.h"
#define PREV_SAMPLES_BUF_SIZE 1024
@@ -61,6 +62,8 @@ typedef struct G722Context {
int value;
int prev;
} *paths[2];
+
+ G722DSPContext dsp;
} G722Context;
extern const int16_t ff_g722_high_inv_quant[4];
@@ -72,6 +75,4 @@ void ff_g722_update_low_predictor(struct G722Band *band, const int ilow);
void ff_g722_update_high_predictor(struct G722Band *band, const int dhigh,
const int ihigh);
-void ff_g722_apply_qmf(const int16_t *prev_samples, int *xout1, int *xout2);
-
#endif /* AVCODEC_G722_H */