aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.h
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/dsputil.h
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/dsputil.h')
-rw-r--r--libavcodec/dsputil.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index d88efaf3c6..6c56a65885 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -610,10 +610,6 @@ static inline int get_penalty_factor(int lambda, int lambda2, int type){
*/
#define emms_c()
-/* should be defined by architectures supporting
- one or more MultiMedia extension */
-int mm_support(void);
-
void dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx);
void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx);
void dsputil_init_bfin(DSPContext* c, AVCodecContext *avctx);
@@ -657,10 +653,6 @@ static inline void emms(void)
#define STRIDE_ALIGN 16
-#else
-
-#define mm_support() 0
-
#endif
#ifndef STRIDE_ALIGN