diff options
author | Matthieu Castet <castet.matthieu@free.fr> | 2008-06-30 11:31:41 +0400 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-06-30 11:31:41 +0400 |
commit | 37dcd091da0aa94cc674d16b445fdfccd84900bc (patch) | |
tree | c56e4ef684f4fd0786c41b76b070d46eb1f7c2c0 /libavcodec/armv4l/dsputil_arm.c | |
parent | fe4a5b185fdb5a96c1c66018e113b5144b01f6f3 (diff) |
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
Diffstat (limited to 'libavcodec/armv4l/dsputil_arm.c')
-rw-r--r-- | libavcodec/armv4l/dsputil_arm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/armv4l/dsputil_arm.c b/libavcodec/armv4l/dsputil_arm.c index c476f4b1ac..43d03a7fa5 100644 --- a/libavcodec/armv4l/dsputil_arm.c +++ b/libavcodec/armv4l/dsputil_arm.c @@ -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; |