mm_flags = mm_support();  if (avctx->dsp_mask) { if (avctx->dsp_mask & FF_MM_FORCE) mm_flags |= (avctx->dsp_mask & 0xffff); else mm_flags &= ~(avctx->dsp_mask & 0xffff); }  if (!(mm_flags & MM_IWMMXT)) return;
void dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx){    c->add_pixels_clamped = add_pixels_clamped_iwmmxt;    c->put_pixels_tab[0][0] = put_pixels16_iwmmxt;    c->put_pixels_tab[0][1] = put_pixels16_x2_iwmmxt;    c->put_pixels_tab[0][2] = put_pixels16_y2_iwmmxt;    c->put_pixels_tab[0][3] = put_pixels16_xy2_iwmmxt;    c->put_no_rnd_pixels_tab[0][0] = put_pixels16_iwmmxt;    c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_iwmmxt;    c->put_no_rnd_pixels_tab[0][2] = put_no_rnd_pixels16_y2_iwmmxt;    c->put_no_rnd_pixels_tab[0][3] = put_no_rnd_pixels16_xy2_iwmmxt;    c->put_pixels_tab[1][0] = put_pixels8_iwmmxt;    c->put_pixels_tab[1][1] = put_pixels8_x2_iwmmxt;    c->put_pixels_tab[1][2] = put_pixels8_y2_iwmmxt;    c->put_pixels_tab[1][3] = put_pixels8_xy2_iwmmxt;    c->put_no_rnd_pixels_tab[1][0] = put_pixels8_iwmmxt;    c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pixels8_x2_iwmmxt;    c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pixels8_y2_iwmmxt;    c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pixels8_xy2_iwmmxt;    c->avg_pixels_tab[0][0] = avg_pixels16_iwmmxt;    c->avg_pixels_tab[0][1] = avg_pixels16_x2_iwmmxt;    c->avg_pixels_tab[0][2] = avg_pixels16_y2_iwmmxt;    c->avg_pixels_tab[0][3] = avg_pixels16_xy2_iwmmxt;    c->avg_no_rnd_pixels_tab[0][0] = avg_pixels16_iwmmxt;    c->avg_no_rnd_pixels_tab[0][1] = avg_no_rnd_pixels16_x2_iwmmxt;    c->avg_no_rnd_pixels_tab[0][2] = avg_no_rnd_pixels16_y2_iwmmxt;    c->avg_no_rnd_pixels_tab[0][3] = avg_no_rnd_pixels16_xy2_iwmmxt;    c->avg_pixels_tab[1][0] = avg_pixels8_iwmmxt;    c->avg_pixels_tab[1][1] = avg_pixels8_x2_iwmmxt;    c->avg_pixels_tab[1][2] = avg_pixels8_y2_iwmmxt;    c->avg_pixels_tab[1][3] = avg_pixels8_xy2_iwmmxt;    c->avg_no_rnd_pixels_tab[1][0] = avg_no_rnd_pixels8_iwmmxt;    c->avg_no_rnd_pixels_tab[1][1] = avg_no_rnd_pixels8_x2_iwmmxt;    c->avg_no_rnd_pixels_tab[1][2] = avg_no_rnd_pixels8_y2_iwmmxt;    c->avg_no_rnd_pixels_tab[1][3] = avg_no_rnd_pixels8_xy2_iwmmxt;}