mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
Avoid linking in assembler-optimized code that will never be used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30297 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
59fa6f549a
commit
0dd5d0937a
@ -36,6 +36,7 @@
|
||||
#define CPU_3DNOW 1
|
||||
|
||||
|
||||
#if HAVE_MMX
|
||||
/* MMX code - needs a rewrite */
|
||||
|
||||
/*
|
||||
@ -496,6 +497,7 @@ static void MC_put_y_8_mmx (uint8_t * dest, const uint8_t * ref,
|
||||
|
||||
MPEG2_MC_EXTERN (mmx)
|
||||
|
||||
#endif /* HAVE_MMX */
|
||||
|
||||
|
||||
|
||||
@ -802,6 +804,8 @@ static inline void MC_avg4_16 (int height, uint8_t * dest, const uint8_t * ref,
|
||||
} while (--height);
|
||||
}
|
||||
|
||||
#if HAVE_MMX2
|
||||
|
||||
static void MC_avg_o_16_mmxext (uint8_t * dest, const uint8_t * ref,
|
||||
int stride, int height)
|
||||
{
|
||||
@ -901,7 +905,9 @@ static void MC_put_xy_8_mmxext (uint8_t * dest, const uint8_t * ref,
|
||||
|
||||
MPEG2_MC_EXTERN (mmxext)
|
||||
|
||||
#endif /* HAVE_MMX2 */
|
||||
|
||||
#if HAVE_AMD3DNOW
|
||||
|
||||
static void MC_avg_o_16_3dnow (uint8_t * dest, const uint8_t * ref,
|
||||
int stride, int height)
|
||||
@ -1002,4 +1008,6 @@ static void MC_put_xy_8_3dnow (uint8_t * dest, const uint8_t * ref,
|
||||
|
||||
MPEG2_MC_EXTERN (3dnow)
|
||||
|
||||
#endif /* HAVE_AMD3DNOW */
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user