summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.h
diff options
context:
space:
mode:
authorYoung Han Lee <cpumaker@gmail.com>2011-02-18 09:33:11 +0900
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-07 12:25:36 -0500
commit2790d7a9ffbd51f33e5367a31ace5c44c30401a1 (patch)
treeefe77f4fa14221ba9751973b5400022b891ac4e2 /libavcodec/aacenc.h
parentc92562467e8900fc727d03499afb571a9363c20c (diff)
aacenc: remove the data arrays
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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 */