Commit 37dcd091 authored by Matthieu Castet's avatar Matthieu Castet Committed by Benoit Fouet

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
parent fe4a5b18
...@@ -203,6 +203,15 @@ static void simple_idct_ipp_add(uint8_t *dest, int line_size, DCTELEM *block) ...@@ -203,6 +203,15 @@ static void simple_idct_ipp_add(uint8_t *dest, int line_size, DCTELEM *block)
} }
#endif #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) void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx)
{ {
int idct_algo= avctx->idct_algo; int idct_algo= avctx->idct_algo;
......
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