[MPlayer-cvslog] r28083 - in trunk/libvo: sub.c sub.h vo_aa.c
diego
subversion at mplayerhq.hu
Wed Dec 3 19:53:35 CET 2008
Author: diego
Date: Wed Dec 3 19:53:35 2008
New Revision: 28083
Log:
Remove unused declarations and references to vo_draw_text_osd(),
vo_draw_text_progbar(), vo_draw_text_sub().
Modified:
trunk/libvo/sub.c
trunk/libvo/sub.h
trunk/libvo/vo_aa.c
Modified: trunk/libvo/sub.c
==============================================================================
--- trunk/libvo/sub.c (original)
+++ trunk/libvo/sub.c Wed Dec 3 19:53:35 2008
@@ -637,8 +637,6 @@ inline static void vo_update_text_progba
subtitle* vo_sub=NULL;
-// vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride))
-
inline static void vo_update_text_sub(mp_osd_obj_t* obj,int dxs,int dys){
unsigned char *t;
int c,i,j,l,x,y,font,prevc,counter;
Modified: trunk/libvo/sub.h
==============================================================================
--- trunk/libvo/sub.h (original)
+++ trunk/libvo/sub.h Wed Dec 3 19:53:35 2008
@@ -50,14 +50,6 @@ typedef struct mp_osd_obj_s {
} mp_osd_obj_t;
-#if 0
-
-// disable subtitles:
-static inline void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)){
-}
-
-#else
-
#include "subreader.h"
extern sub_data* subdata; //currently used subtitles
@@ -113,9 +105,6 @@ extern int spu_alignment;
extern int spu_aamode;
extern float spu_gaussvar;
-//extern void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
-//extern void vo_draw_text_progbar(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
-//extern void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
extern void vo_remove_text(int dxs,int dys,void (*remove)(int x0,int y0, int w,int h));
@@ -134,6 +123,4 @@ unsigned utf8_get_char(const char **str)
void osd_set_nav_box (uint16_t sx, uint16_t sy, uint16_t ex, uint16_t ey);
#endif
-#endif /* 0 */
-
#endif /* MPLAYER_SUB_H */
Modified: trunk/libvo/vo_aa.c
==============================================================================
--- trunk/libvo/vo_aa.c (original)
+++ trunk/libvo/vo_aa.c Wed Dec 3 19:53:35 2008
@@ -237,7 +237,7 @@ config(uint32_t width, uint32_t height,
/* nothing will change its size, be we need some values initialized */
resize();
- /* now init out own 'font' (to use vo_draw_text_sub without edit them) */
+ /* now init our own 'font' */
if(!vo_font_save) vo_font_save = vo_font;
if(vo_font == vo_font_save) {
vo_font=malloc(sizeof(font_desc_t));//if(!desc) return NULL;
More information about the MPlayer-cvslog
mailing list