Mercurial > libavcodec.hg
comparison i386/mpegvideo_mmx.c @ 312:8cf5507e6ca5 libavcodec
mpeg4 mpeg quantizer support
author | michaelni |
---|---|
date | Sun, 07 Apr 2002 02:03:32 +0000 |
parents | ddb1a0e94cf4 |
children | 15efd80cf51e |
comparison
equal
deleted
inserted
replaced
311:ac677a84d5df | 312:8cf5507e6ca5 |
---|---|
438 #include "mpegvideo_mmx_template.c" | 438 #include "mpegvideo_mmx_template.c" |
439 | 439 |
440 void MPV_common_init_mmx(MpegEncContext *s) | 440 void MPV_common_init_mmx(MpegEncContext *s) |
441 { | 441 { |
442 if (mm_flags & MM_MMX) { | 442 if (mm_flags & MM_MMX) { |
443 if (s->out_format == FMT_H263) | 443 s->dct_unquantize_h263 = dct_unquantize_h263_mmx; |
444 s->dct_unquantize = dct_unquantize_h263_mmx; | 444 s->dct_unquantize_mpeg = dct_unquantize_mpeg1_mmx; |
445 else | 445 |
446 s->dct_unquantize = dct_unquantize_mpeg1_mmx; | |
447 | |
448 draw_edges = draw_edges_mmx; | 446 draw_edges = draw_edges_mmx; |
449 | 447 |
450 if(mm_flags & MM_MMXEXT){ | 448 if(mm_flags & MM_MMXEXT){ |
451 dct_quantize= dct_quantize_MMX2; | 449 dct_quantize= dct_quantize_MMX2; |
452 }else{ | 450 }else{ |