[MPlayer-cvslog] r37765 - in trunk/sub: font_load.h font_load_ft.c
reimar
subversion at mplayerhq.hu
Sat Feb 20 13:35:53 CET 2016
Author: reimar
Date: Sat Feb 20 13:35:53 2016
New Revision: 37765
Log:
font_load_ft: make more functions "static".
Modified:
trunk/sub/font_load.h
trunk/sub/font_load_ft.c
Modified: trunk/sub/font_load.h
==============================================================================
--- trunk/sub/font_load.h Sat Feb 20 13:17:55 2016 (r37764)
+++ trunk/sub/font_load.h Sat Feb 20 13:35:53 2016 (r37765)
@@ -100,7 +100,6 @@ extern int force_load_font;
int init_freetype(void);
int done_freetype(void);
-font_desc_t* read_font_desc_ft(const char* fname,int face_index,int movie_width, int movie_height, float font_scale_factor);
void free_font_desc(font_desc_t *desc);
void render_one_glyph(font_desc_t *desc, int c);
@@ -108,9 +107,6 @@ int kerning(font_desc_t *desc, int prevc
void load_font_ft(int width, int height, font_desc_t **desc, const char *name, float font_scale_factor);
-void blur(unsigned char *buffer, unsigned short *tmp2, int width, int height,
- int stride, int *m2, int r, int mwidth);
-
raw_file* load_raw(char *name,int verbose);
font_desc_t* read_font_desc(const char* fname,float factor,int verbose);
Modified: trunk/sub/font_load_ft.c
==============================================================================
--- trunk/sub/font_load_ft.c Sat Feb 20 13:17:55 2016 (r37764)
+++ trunk/sub/font_load_ft.c Sat Feb 20 13:35:53 2016 (r37765)
@@ -349,7 +349,7 @@ static void outline0(
}
// gaussian blur
-void blur(
+static void blur(
unsigned char *buffer,
unsigned short *tmp2,
int width,
@@ -938,7 +938,7 @@ int kerning(font_desc_t *desc, int prevc
return f266ToInt(kern.x);
}
-font_desc_t* read_font_desc_ft(const char *fname, int face_index, int movie_width, int movie_height, float font_scale_factor)
+static font_desc_t* read_font_desc_ft(const char *fname, int face_index, int movie_width, int movie_height, float font_scale_factor)
{
font_desc_t *desc = NULL;
More information about the MPlayer-cvslog
mailing list