Mercurial > mplayer.hg
comparison libmpeg2/idct.c @ 19134:1b3b5258a94e
10l, i broke this with my last commit. should be fixed now.
author | rfelker |
---|---|
date | Wed, 19 Jul 2006 05:47:21 +0000 |
parents | 0783dd397f74 |
children | 60a39d71e247 |
comparison
equal
deleted
inserted
replaced
19133:f569aadfa921 | 19134:1b3b5258a94e |
---|---|
237 } | 237 } |
238 } | 238 } |
239 | 239 |
240 void mpeg2_idct_init (uint32_t accel) | 240 void mpeg2_idct_init (uint32_t accel) |
241 { | 241 { |
242 #if defined(ARCH_X86) || defined(ARCH_X86_64) | 242 #ifdef HAVE_MMX2 |
243 if (accel & MPEG2_ACCEL_X86_MMXEXT) { | 243 if (accel & MPEG2_ACCEL_X86_MMXEXT) { |
244 mpeg2_idct_copy = mpeg2_idct_copy_mmxext; | 244 mpeg2_idct_copy = mpeg2_idct_copy_mmxext; |
245 mpeg2_idct_add = mpeg2_idct_add_mmxext; | 245 mpeg2_idct_add = mpeg2_idct_add_mmxext; |
246 mpeg2_idct_mmx_init (); | 246 mpeg2_idct_mmx_init (); |
247 } else if (accel & MPEG2_ACCEL_X86_MMX) { | 247 } else |
248 #endif | |
249 #ifdef HAVE_MMX | |
250 if (accel & MPEG2_ACCEL_X86_MMX) { | |
248 mpeg2_idct_copy = mpeg2_idct_copy_mmx; | 251 mpeg2_idct_copy = mpeg2_idct_copy_mmx; |
249 mpeg2_idct_add = mpeg2_idct_add_mmx; | 252 mpeg2_idct_add = mpeg2_idct_add_mmx; |
250 mpeg2_idct_mmx_init (); | 253 mpeg2_idct_mmx_init (); |
251 } else | 254 } else |
252 #endif | 255 #endif |