s->denoise_dct= denoise_dct_mmx;
if (mm_flags & MM_SSE2) { s->denoise_dct= denoise_dct_sse2; } else { s->denoise_dct= denoise_dct_mmx; }
void MPV_common_init_mmx(MpegEncContext *s){    if (mm_flags & MM_MMX) {        const int dct_algo = s->avctx->dct_algo;                s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_mmx;        s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_mmx;        s->dct_unquantize_mpeg1_intra = dct_unquantize_mpeg1_intra_mmx;        s->dct_unquantize_mpeg1_inter = dct_unquantize_mpeg1_inter_mmx;        s->dct_unquantize_mpeg2_intra = dct_unquantize_mpeg2_intra_mmx;        s->dct_unquantize_mpeg2_inter = dct_unquantize_mpeg2_inter_mmx;        draw_edges = draw_edges_mmx;                s->denoise_dct= denoise_dct_mmx;        if(dct_algo==FF_DCT_AUTO || dct_algo==FF_DCT_MMX){            if(mm_flags & MM_MMXEXT){                s->dct_quantize= dct_quantize_MMX2;            } else {                s->dct_quantize= dct_quantize_MMX;            }        }    }}