Revision 3b924294 libavcodec/ac3enc.c
libavcodec/ac3enc.c | ||
---|---|---|
161 | 161 |
|
162 | 162 |
static void mdct512(AC3MDCTContext *mdct, CoefType *out, SampleType *in); |
163 | 163 |
|
164 |
static void apply_window(SampleType *output, const SampleType *input, |
|
164 |
static void apply_window(DSPContext *dsp, SampleType *output, const SampleType *input,
|
|
165 | 165 |
const SampleType *window, int n); |
166 | 166 |
|
167 | 167 |
static int normalize_samples(AC3EncodeContext *s); |
... | ... | |
262 | 262 |
AC3Block *block = &s->blocks[blk]; |
263 | 263 |
const SampleType *input_samples = &s->planar_samples[ch][blk * AC3_BLOCK_SIZE]; |
264 | 264 |
|
265 |
apply_window(s->windowed_samples, input_samples, s->mdct.window, AC3_WINDOW_SIZE); |
|
265 |
apply_window(&s->dsp, s->windowed_samples, input_samples, s->mdct.window, AC3_WINDOW_SIZE);
|
|
266 | 266 |
|
267 | 267 |
block->exp_shift[ch] = normalize_samples(s); |
268 | 268 |
|
Also available in: Unified diff