Mercurial > libavcodec.hg
changeset 4698:9fad30d1230b libavcodec
enable iwmmxt support, removing mm_support() stub
patch by Tim Chick, chick at computergeek freeserve co uk
author | mru |
---|---|
date | Wed, 21 Mar 2007 23:07:24 +0000 |
parents | 8e460c6a85a7 |
children | 4040ca52670a |
files | armv4l/dsputil_iwmmxt.c |
diffstat | 1 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/armv4l/dsputil_iwmmxt.c Wed Mar 21 22:39:00 2007 +0000 +++ b/armv4l/dsputil_iwmmxt.c Wed Mar 21 23:07:24 2007 +0000 @@ -128,17 +128,13 @@ return; } -int mm_flags; /* multimedia extension flags */ - -int mm_support(void) -{ - return 0; /* TODO, implement proper detection */ -} +/* A run time test is not simple. If this file is compiled in + * then we should install the functions + */ +int mm_flags = MM_IWMMXT; /* multimedia extension flags */ void dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx) { - mm_flags = mm_support(); - if (avctx->dsp_mask) { if (avctx->dsp_mask & FF_MM_FORCE) mm_flags |= (avctx->dsp_mask & 0xffff);