Mercurial > libavcodec.hg
comparison mpegaudiodec.c @ 12040:b4888704c11e libavcodec
Altivec-optimized mp{1,2,3} windowing
author | vitor |
---|---|
date | Thu, 01 Jul 2010 21:04:12 +0000 |
parents | 3f3d08bb5cf8 |
children | 6681ac7bc917 |
comparison
equal
deleted
inserted
replaced
12039:d5705b52b76e | 12040:b4888704c11e |
---|---|
323 s->avctx = avctx; | 323 s->avctx = avctx; |
324 s->apply_window_mp3 = apply_window_mp3_c; | 324 s->apply_window_mp3 = apply_window_mp3_c; |
325 #if HAVE_MMX | 325 #if HAVE_MMX |
326 ff_mpegaudiodec_init_mmx(s); | 326 ff_mpegaudiodec_init_mmx(s); |
327 #endif | 327 #endif |
328 if (HAVE_ALTIVEC && CONFIG_FLOAT) ff_mpegaudiodec_init_altivec(s); | |
329 | |
328 avctx->sample_fmt= OUT_FMT; | 330 avctx->sample_fmt= OUT_FMT; |
329 s->error_recognition= avctx->error_recognition; | 331 s->error_recognition= avctx->error_recognition; |
330 | 332 |
331 if (!init && !avctx->parse_only) { | 333 if (!init && !avctx->parse_only) { |
332 int offset; | 334 int offset; |