mirror of
https://github.com/mpv-player/mpv
synced 2025-03-31 07:51:55 +00:00
Make blur() public. Will be used in libass.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19853 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
867aa92076
commit
b21382fa5b
@ -88,6 +88,9 @@ int kerning(font_desc_t *desc, int prevc, int c);
|
|||||||
|
|
||||||
void load_font_ft(int width, int height);
|
void load_font_ft(int width, int height);
|
||||||
|
|
||||||
|
void blur(unsigned char *buffer, unsigned short *tmp2, int width, int height,
|
||||||
|
int stride, int *m2, int r, int mwidth);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
static void render_one_glyph(font_desc_t *desc, int c) {}
|
static void render_one_glyph(font_desc_t *desc, int c) {}
|
||||||
|
@ -330,7 +330,7 @@ static void outline0(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// gaussian blur
|
// gaussian blur
|
||||||
static void blur(
|
void blur(
|
||||||
unsigned char *buffer,
|
unsigned char *buffer,
|
||||||
unsigned short *tmp2,
|
unsigned short *tmp2,
|
||||||
int width,
|
int width,
|
||||||
|
Loading…
Reference in New Issue
Block a user