Mercurial > libavcodec.hg
changeset 7165:b0edd0683fc4 libavcodec
Define mm_support() for ARM.
Patch by Matthieu Castet <castet matthieu free fr>
author | benoit |
---|---|
date | Mon, 30 Jun 2008 07:31:41 +0000 |
parents | 3c7f3265f970 |
children | 74488eb735a6 |
files | armv4l/dsputil_arm.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/armv4l/dsputil_arm.c Sun Jun 29 21:37:03 2008 +0000 +++ b/armv4l/dsputil_arm.c Mon Jun 30 07:31:41 2008 +0000 @@ -203,6 +203,15 @@ } #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;