From 988dad5fc7f13d7be266b139ddf29a8c8c9a3d02 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 18 Aug 2012 12:03:40 +0200 Subject: osd: get rid of useless initialization function The function merely printed redundant messages that were not visible by default. --- libvo/osd.c | 18 ------------------ libvo/osd.h | 2 -- 2 files changed, 20 deletions(-) (limited to 'libvo') diff --git a/libvo/osd.c b/libvo/osd.c index 9adcc3f664..2fd294a13a 100644 --- a/libvo/osd.c +++ b/libvo/osd.c @@ -153,24 +153,6 @@ void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, i #endif } -void vo_draw_alpha_init(void){ -//FIXME the optimized stuff is a lie for 15/16bpp as they aren't optimized yet - if( mp_msg_test(MSGT_OSD,MSGL_V) ) - { -#if ARCH_X86 - // ordered per speed fasterst first - if(gCpuCaps.hasMMX2) - mp_msg(MSGT_OSD,MSGL_INFO,"Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay\n"); - else if(gCpuCaps.hasMMX) - mp_msg(MSGT_OSD,MSGL_INFO,"Using MMX Optimized OnScreenDisplay\n"); - else - mp_msg(MSGT_OSD,MSGL_INFO,"Using X86 Optimized OnScreenDisplay\n"); -#else - mp_msg(MSGT_OSD,MSGL_INFO,"Using Unoptimized OnScreenDisplay\n"); -#endif - } -} - void vo_draw_alpha_rgb12(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride) { int y; diff --git a/libvo/osd.h b/libvo/osd.h index 8f57e6b444..4e8064a93f 100644 --- a/libvo/osd.h +++ b/libvo/osd.h @@ -22,8 +22,6 @@ #ifndef MPLAYER_OSD_H #define MPLAYER_OSD_H -void vo_draw_alpha_init(void); // build tables - void vo_draw_alpha_yv12(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride); void vo_draw_alpha_yuy2(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride); void vo_draw_alpha_rgb24(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride); -- cgit v1.2.3