summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.h
diff options
context:
space:
mode:
authorNathan Caldwell <saintdev@gmail.com>2011-12-14 19:43:56 -0700
committerAlex Converse <alex.converse@gmail.com>2012-01-23 11:40:46 -0800
commit9b8e2a870957293898998209c6e9bed290cc9bef (patch)
tree64df91d37b8580b9b1d0b45fe91d2adf5a3846ee /libavcodec/aacenc.h
parent04af2efaae661fd48334bab52f6561450a403f20 (diff)
downloadffmpeg-9b8e2a870957293898998209c6e9bed290cc9bef.tar.gz
aacenc: Deinterleave input samples before processing.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r--libavcodec/aacenc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index 211c70a805..44ab13bf47 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -58,7 +58,7 @@ typedef struct AACEncContext {
FFTContext mdct1024; ///< long (1024 samples) frame transform context
FFTContext mdct128; ///< short (128 samples) frame transform context
DSPContext dsp;
- float *samples; ///< saved preprocessed input
+ float *planar_samples[6]; ///< saved preprocessed input
int samplerate_index; ///< MPEG-4 samplerate index
int channels; ///< channel count
@@ -73,6 +73,10 @@ typedef struct AACEncContext {
float lambda;
DECLARE_ALIGNED(16, int, qcoefs)[96]; ///< quantized coefficients
DECLARE_ALIGNED(32, float, scoefs)[1024]; ///< scaled coefficients
+
+ struct {
+ float *samples;
+ } buffer;
} AACEncContext;
extern float ff_aac_pow34sf_tab[428];