[MPlayer-cvslog] r30297 - trunk/libmpeg2/motion_comp_mmx.c
Zuxy Meng
zuxy.meng at gmail.com
Wed Jan 13 03:24:06 CET 2010
"reimar" <subversion at mplayerhq.hu> 写入消息
news:20100112222121.682823B14A at natsuki.mplayerhq.hu...
> Author: reimar
> Date: Tue Jan 12 23:21:21 2010
> New Revision: 30297
>
> Log:
> Avoid linking in assembler-optimized code that will never be used.
>
> Modified:
> trunk/libmpeg2/motion_comp_mmx.c
>
> Modified: trunk/libmpeg2/motion_comp_mmx.c
> ==============================================================================
> --- trunk/libmpeg2/motion_comp_mmx.c Tue Jan 12 22:16:01 2010 (r30296)
> +++ trunk/libmpeg2/motion_comp_mmx.c Tue Jan 12 23:21:21 2010 (r30297)
> @@ -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 * de
>
> MPEG2_MC_EXTERN (mmx)
>
> +#endif /* HAVE_MMX */
>
>
>
> @@ -802,6 +804,8 @@ static inline void MC_avg4_16 (int heigh
> } 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
>
> 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 *
>
> MPEG2_MC_EXTERN (3dnow)
>
> +#endif /* HAVE_AMD3DNOW */
> +
> #endif
Would u update libmpeg2_changes.diff too?
--
Zuxy
More information about the MPlayer-cvslog
mailing list