From 672e0016c9db4c32d742831daaa273dfd7252125 Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 10 Nov 2001 18:40:49 +0000 Subject: Code cleanup - emms is not required when MMX block is commented out. Special notes for Michael Niedermayer: Are you still here? If you don't like for(cond;cond;cond) C-constructions and prefer asm ones: "jb 1b" then use .align 16 pseudo assembler instructions else loops rather will be not aligned on correct boundary. (16 it's for K7 for pent should be 8). Your parts have a lot such lacks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2799 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/osd.c | 29 ++++++++++++++++------------- libvo/osd_template.c | 29 ++++++++++++++++------------- 2 files changed, 32 insertions(+), 26 deletions(-) (limited to 'libvo') diff --git a/libvo/osd.c b/libvo/osd.c index d27ab86c7e..2452f3b7a5 100644 --- a/libvo/osd.c +++ b/libvo/osd.c @@ -6,6 +6,7 @@ #include "config.h" #include "osd.h" +#include "../mmx_defs.h" void vo_draw_alpha_yv12(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride){ int y; @@ -79,12 +80,13 @@ void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, i int y; for(y=0;y