Browse Source

enable iwmmxt support, removing mm_support() stub

patch by Tim Chick, chick at computergeek freeserve co uk

Originally committed as revision 8471 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Tim Chick Måns Rullgård 19 years ago
parent
commit
f88e7c833b
1 changed files with 4 additions and 8 deletions
  1. +4
    -8
      libavcodec/armv4l/dsputil_iwmmxt.c

+ 4
- 8
libavcodec/armv4l/dsputil_iwmmxt.c View File

@@ -128,17 +128,13 @@ static void nop(uint8_t *block, const uint8_t *pixels, int line_size, int h)
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);


Loading…
Cancel
Save