[SCM] libav/experimental: enable iwmmxt support, removing mm_support() stub patch by Tim Chick, chick at computergeek freeserve co uk
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:58:04 UTC 2013
The following commit has been merged in the experimental branch:
commit f88e7c833b17cbc8fef3e26dd14844231720138e
Author: Tim Chick <chick at computergeek.freeserve.co.uk>
Date: Wed Mar 21 23:07:24 2007 +0000
enable iwmmxt support, removing mm_support() stub
patch by Tim Chick, chick at computergeek freeserve co uk
Originally committed as revision 8471 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/armv4l/dsputil_iwmmxt.c b/libavcodec/armv4l/dsputil_iwmmxt.c
index d7401e7..7536100 100644
--- a/libavcodec/armv4l/dsputil_iwmmxt.c
+++ b/libavcodec/armv4l/dsputil_iwmmxt.c
@@ -128,17 +128,13 @@ static void nop(uint8_t *block, const uint8_t *pixels, int line_size, int h)
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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list