[FFmpeg-cvslog] r14032 - trunk/libavcodec/armv4l/dsputil_arm.c

Måns Rullgård mans
Mon Jun 30 10:23:14 CEST 2008


benoit <subversion at mplayerhq.hu> writes:

> Author: benoit
> Date: Mon Jun 30 09:31:41 2008
> New Revision: 14032
>
> Log:
> Define mm_support() for ARM.
> Patch by Matthieu Castet <castet matthieu free fr>
>
> Modified:
>    trunk/libavcodec/armv4l/dsputil_arm.c
>
> Modified: trunk/libavcodec/armv4l/dsputil_arm.c
> ==============================================================================
> --- trunk/libavcodec/armv4l/dsputil_arm.c	(original)
> +++ trunk/libavcodec/armv4l/dsputil_arm.c	Mon Jun 30 09:31:41 2008
> @@ -203,6 +203,15 @@ static void simple_idct_ipp_add(uint8_t 
>  }
>  #endif
>
> +int mm_support(void)
> +{
> +    int result = 0;
> +#ifdef HAVE_IWMMXT
> +    result |= MM_IWMMXT;
> +#endif /* result */
> +    return result;
> +}

return ENABLE_IWMMXT * MM_IWMMXT;

Why didn't I think of that sooner?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list