comparison h263dec.c @ 2096:83ab15bd1638 libavcodec

10l, non-x86 fix
author alex
date Sat, 26 Jun 2004 09:52:16 +0000
parents 9c29987380e4
children bd09f4d1976f
comparison
equal deleted inserted replaced
2095:5ab35105671a 2096:83ab15bd1638
621 static FILE *f=NULL; 621 static FILE *f=NULL;
622 if(!f) f=fopen("rate_qp_cplx.txt", "w"); 622 if(!f) f=fopen("rate_qp_cplx.txt", "w");
623 fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale); 623 fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale);
624 } 624 }
625 #endif 625 #endif
626 626
627 #ifdef HAVE_MMX
627 if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & MM_MMX) && !(s->flags&CODEC_FLAG_BITEXACT)){ 628 if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & MM_MMX) && !(s->flags&CODEC_FLAG_BITEXACT)){
628 avctx->idct_algo= FF_IDCT_LIBMPEG2MMX; 629 avctx->idct_algo= FF_IDCT_LIBMPEG2MMX;
629 avctx->width= 0; // force reinit 630 avctx->width= 0; // force reinit
630 } 631 }
632 #endif
633
631 /* After H263 & mpeg4 header decode we have the height, width,*/ 634 /* After H263 & mpeg4 header decode we have the height, width,*/
632 /* and other parameters. So then we could init the picture */ 635 /* and other parameters. So then we could init the picture */
633 /* FIXME: By the way H263 decoder is evolving it should have */ 636 /* FIXME: By the way H263 decoder is evolving it should have */
634 /* an H263EncContext */ 637 /* an H263EncContext */
635 638