Browse Source

Define mm_support() for ARM.

Patch by Matthieu Castet <castet matthieu free fr>

Originally committed as revision 14032 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Matthieu Castet Benoit Fouet 17 years ago
parent
commit
37dcd091da
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      libavcodec/armv4l/dsputil_arm.c

+ 9
- 0
libavcodec/armv4l/dsputil_arm.c View File

@@ -203,6 +203,15 @@ static void simple_idct_ipp_add(uint8_t *dest, int line_size, DCTELEM *block)
}
#endif

int mm_support(void)
{
int result = 0;
#ifdef HAVE_IWMMXT
result |= MM_IWMMXT;
#endif /* result */
return result;
}

void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx)
{
int idct_algo= avctx->idct_algo;


Loading…
Cancel
Save