Mercurial > libavcodec.hg
comparison armv4l/dsputil_arm.c @ 7166:74488eb735a6 libavcodec
Simplify mm_support() for ARM (by Mns).
author | benoit |
---|---|
date | Mon, 30 Jun 2008 11:16:47 +0000 |
parents | b0edd0683fc4 |
children | 160d5c1ae60a |
comparison
equal
deleted
inserted
replaced
7165:b0edd0683fc4 | 7166:74488eb735a6 |
---|---|
203 } | 203 } |
204 #endif | 204 #endif |
205 | 205 |
206 int mm_support(void) | 206 int mm_support(void) |
207 { | 207 { |
208 int result = 0; | 208 return ENABLE_IWMMXT * MM_IWMMXT; |
209 #ifdef HAVE_IWMMXT | |
210 result |= MM_IWMMXT; | |
211 #endif /* result */ | |
212 return result; | |
213 } | 209 } |
214 | 210 |
215 void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx) | 211 void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx) |
216 { | 212 { |
217 int idct_algo= avctx->idct_algo; | 213 int idct_algo= avctx->idct_algo; |