[Ffmpeg-cvslog] r8471 - trunk/libavcodec/armv4l/dsputil_iwmmxt.c
mru
subversion
Thu Mar 22 00:07:24 CET 2007
Author: mru
Date: Thu Mar 22 00:07:24 2007
New Revision: 8471
Modified:
trunk/libavcodec/armv4l/dsputil_iwmmxt.c
Log:
enable iwmmxt support, removing mm_support() stub
patch by Tim Chick, chick at computergeek freeserve co uk
Modified: trunk/libavcodec/armv4l/dsputil_iwmmxt.c
==============================================================================
--- trunk/libavcodec/armv4l/dsputil_iwmmxt.c (original)
+++ trunk/libavcodec/armv4l/dsputil_iwmmxt.c Thu Mar 22 00:07:24 2007
@@ -128,17 +128,13 @@ static void nop(uint8_t *block, const ui
return;
}
-int mm_flags; /* multimedia extension flags */
-
-int mm_support(void)
-{
- return 0; /* TODO, implement proper detection */
-}
+/* A run time test is not simple. If this file is compiled in
+ * then we should install the functions
+ */
+int mm_flags = MM_IWMMXT; /* multimedia extension flags */
void dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx)
{
- mm_flags = mm_support();
-
if (avctx->dsp_mask) {
if (avctx->dsp_mask & FF_MM_FORCE)
mm_flags |= (avctx->dsp_mask & 0xffff);
More information about the ffmpeg-cvslog
mailing list