Mercurial > mplayer.hg
diff libvo/vo_vesa.c @ 3202:e9b18714e3dc
Minor optimization
author | nick |
---|---|
date | Thu, 29 Nov 2001 18:00:57 +0000 |
parents | 56faed773768 |
children | 0b172eb639f1 |
line wrap: on
line diff
--- a/libvo/vo_vesa.c Thu Nov 29 17:31:58 2001 +0000 +++ b/libvo/vo_vesa.c Thu Nov 29 18:00:57 2001 +0000 @@ -34,6 +34,7 @@ #include "linux/vbelib.h" #include "bswap.h" #include "aspect.h" +#include "vesa_lvo.h" #include "../postproc/swscale.h" #include "../postproc/rgb2rgb.h" @@ -245,8 +246,6 @@ { if(verbose > 2) printf("vo_vesa: draw_slice was called: w=%u h=%u x=%u y=%u\n",w,h,x,y); - if(lvo_name) return vlvo_draw_slice(image,stride,w,h,x,y); - else if(vesa_zoom) { uint8_t *dst[3]= {dga_buffer, NULL, NULL}; @@ -314,8 +313,6 @@ uint32_t w,h; if(verbose > 2) printf("vo_vesa: draw_osd was called\n"); - if(lvo_name) vlvo_draw_osd(); - else { w = HAS_DGA()?video_mode_info.XResolution:image_width; h = HAS_DGA()?video_mode_info.YResolution:image_height; @@ -327,8 +324,6 @@ { if(verbose > 2) printf("vo_vesa: flip_page was called\n"); - if(lvo_name) vlvo_flip_page(); - else if(flip_trigger) { if(!HAS_DGA()) __vbeCopyData(dga_buffer); @@ -365,8 +360,6 @@ uint8_t *data = src[0]; if(verbose > 2) printf("vo_vesa: draw_frame was called\n"); - if(lvo_name) return vlvo_draw_frame(src); - else if(rgb2rgb_fnc) { if(HAS_DGA())