[FFmpeg-soc] [soc]: r2744 - aacenc/aacenc.c
kostya
subversion at mplayerhq.hu
Wed Jul 9 14:46:24 CEST 2008
Author: kostya
Date: Wed Jul 9 14:46:23 2008
New Revision: 2744
Log:
DSPContext will be useful here
Modified:
aacenc/aacenc.c
Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c (original)
+++ aacenc/aacenc.c Wed Jul 9 14:46:23 2008
@@ -171,6 +171,7 @@ typedef struct {
PutBitContext pb;
MDCTContext mdct1024;
MDCTContext mdct128;
+ DSPContext dsp;
DECLARE_ALIGNED_16(FFTSample, output[2048]);
DECLARE_ALIGNED_16(FFTSample, tmp[1024]);
@@ -228,6 +229,7 @@ static int aac_encode_init(AVCodecContex
s->swb_sizes128 = swb_size_128[i];
s->swb_num128 = num_swb_128[i];
+ dsputil_init(&s->dsp, avctx);
ff_mdct_init(&s->mdct1024, 11, 0);
ff_mdct_init(&s->mdct128, 8, 0);
// window init
More information about the FFmpeg-soc
mailing list