Commit 3af5a91d authored by kabi's avatar kabi

* support FF_MM_FORCE


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1643 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f25b9a87
......@@ -1440,6 +1440,12 @@ static void ff_libmpeg2mmx2_idct_add(uint8_t *dest, int line_size, DCTELEM *bloc
void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
{
mm_flags = mm_support();
if (avctx->dsp_mask && FF_MM_FORCE)
mm_flags |= (avctx->dsp_mask & 0xffff);
else
mm_flags &= (avctx->dsp_mask & 0xffff);
#if 0
fprintf(stderr, "libavcodec: CPU flags:");
if (mm_flags & MM_MMX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment