From d3c0ee86a59e7f0f79e268c649ab6be0d8c9b282 Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 20 Oct 2001 13:11:10 +0000 Subject: Qualitative speedup for P3 & K7 cpus git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2307 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_vesa.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 544786c062..5f5020d066 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -217,13 +217,21 @@ static void __vbeCopyData(uint8_t *image) pixel_size = (video_mode_info.BitsPerPixel+7)/8; screen_line_size = video_mode_info.XResolution*pixel_size; image_line_size = image_width*pixel_size; - x_shift = x_offset*pixel_size; - limit = image_height+y_offset; - for(j=0,i=y_offset;i