comparison atrac1.c @ 10827:3d011a01a6a0 libavcodec

Add support for hard-coded MDCT-related ff_sine_windows tables.
author reimar
date Sat, 09 Jan 2010 13:28:04 +0000
parents ec0e313a00aa
children 34a65026fa06
comparison
equal deleted inserted replaced
10826:59c35482189e 10827:3d011a01a6a0
337 /* Init the mdct transforms */ 337 /* Init the mdct transforms */
338 ff_mdct_init(&q->mdct_ctx[0], 6, 1, -1.0/ (1 << 15)); 338 ff_mdct_init(&q->mdct_ctx[0], 6, 1, -1.0/ (1 << 15));
339 ff_mdct_init(&q->mdct_ctx[1], 8, 1, -1.0/ (1 << 15)); 339 ff_mdct_init(&q->mdct_ctx[1], 8, 1, -1.0/ (1 << 15));
340 ff_mdct_init(&q->mdct_ctx[2], 9, 1, -1.0/ (1 << 15)); 340 ff_mdct_init(&q->mdct_ctx[2], 9, 1, -1.0/ (1 << 15));
341 341
342 ff_sine_window_init(ff_sine_32, 32); 342 ff_init_ff_sine_windows(5);
343 343
344 atrac_generate_tables(); 344 atrac_generate_tables();
345 345
346 dsputil_init(&q->dsp, avctx); 346 dsputil_init(&q->dsp, avctx);
347 347