summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.h
diff options
context:
space:
mode:
authorYoung Han Lee <cpumaker@gmail.com>2011-02-18 09:33:11 +0900
committerMichael Niedermayer <michaelni@gmx.at>2011-03-08 02:09:33 +0100
commit5e06b02005265d8c862e7c6ee3c6f1d0a5bd8c4d (patch)
treedd7f143714725659209cb89592a80d3d90399068 /libavcodec/aacenc.h
parentc0fd48a7021922a0c4072a6bafe00f4ae6316e02 (diff)
aacenc: remove the data arrays
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 2790d7a9ffbd51f33e5367a31ace5c44c30401a1)
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r--libavcodec/aacenc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index 86c68d3e16..3559234ff1 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -52,8 +52,7 @@ typedef struct AACEncContext {
FFTContext mdct1024; ///< long (1024 samples) frame transform context
FFTContext mdct128; ///< short (128 samples) frame transform context
DSPContext dsp;
- DECLARE_ALIGNED(16, FFTSample, output)[2048]; ///< temporary buffer for MDCT input coefficients
- int16_t* samples; ///< saved preprocessed input
+ int16_t *samples; ///< saved preprocessed input
int samplerate_index; ///< MPEG-4 samplerate index
@@ -64,8 +63,8 @@ typedef struct AACEncContext {
int cur_channel;
int last_frame;
float lambda;
+ float *scoefs; ///< scaled coefficients
DECLARE_ALIGNED(16, int, qcoefs)[96]; ///< quantized coefficients
- DECLARE_ALIGNED(16, float, scoefs)[1024]; ///< scaled coefficients
} AACEncContext;
#endif /* AVCODEC_AACENC_H */