comparison h263dec.c @ 12456:a5ddb39627fd libavcodec

Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_ symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
author stefano
date Sat, 04 Sep 2010 09:59:08 +0000
parents 3fc4c625b6f3
children 9fef0a8ddd63
comparison
equal deleted inserted replaced
12455:14f85520cd02 12456:a5ddb39627fd
551 fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale); 551 fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale);
552 } 552 }
553 #endif 553 #endif
554 554
555 #if HAVE_MMX 555 #if HAVE_MMX
556 if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build>=0 && avctx->idct_algo == FF_IDCT_AUTO && (mm_support() & FF_MM_MMX)){ 556 if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build>=0 && avctx->idct_algo == FF_IDCT_AUTO && (mm_support() & AV_CPU_FLAG_MMX)){
557 avctx->idct_algo= FF_IDCT_XVIDMMX; 557 avctx->idct_algo= FF_IDCT_XVIDMMX;
558 avctx->coded_width= 0; // force reinit 558 avctx->coded_width= 0; // force reinit
559 // dsputil_init(&s->dsp, avctx); 559 // dsputil_init(&s->dsp, avctx);
560 s->picture_number=0; 560 s->picture_number=0;
561 } 561 }