aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/dsputil_init_arm.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-08 15:07:14 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-08 15:07:14 +0000
commitc6c98d0897ce1e040d041a655fb3e7dc14e96c45 (patch)
treec4a37da46c09d39c84e91b7a9159633bc2a30d89 /libavcodec/arm/dsputil_init_arm.c
parent9ec7458ddfe3da9537f225e35670d99f98b654eb (diff)
downloadffmpeg-c6c98d0897ce1e040d041a655fb3e7dc14e96c45.tar.gz
Move mm_support() from libavcodec to libavutil, make it a public
function and rename it to av_get_cpu_flags(). Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/dsputil_init_arm.c')
-rw-r--r--libavcodec/arm/dsputil_init_arm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/arm/dsputil_init_arm.c b/libavcodec/arm/dsputil_init_arm.c
index 27b94613ef..5c132905f6 100644
--- a/libavcodec/arm/dsputil_init_arm.c
+++ b/libavcodec/arm/dsputil_init_arm.c
@@ -73,11 +73,6 @@ static void simple_idct_arm_add(uint8_t *dest, int line_size, DCTELEM *block)
ff_add_pixels_clamped(block, dest, line_size);
}
-int mm_support(void)
-{
- return HAVE_IWMMXT * AV_CPU_FLAG_IWMMXT;
-}
-
void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx)
{
ff_put_pixels_clamped = c->put_pixels_clamped;