diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-16 13:32:46 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-16 13:32:46 +0000 |
commit | bf0cb3bdf8d4829f41f4a340e18e9603f8088f86 (patch) | |
tree | 2d2d86f387067fba9ab8b8aaa1fcb6b7dfe089d4 /libass/ass_bitmap.h | |
parent | 85933b51d3aec4a524a4e4119318eefb16421fa6 (diff) | |
download | libass-bf0cb3bdf8d4829f41f4a340e18e9603f8088f86.tar.bz2 libass-bf0cb3bdf8d4829f41f4a340e18e9603f8088f86.tar.xz |
Add \be (blur edges) support to libass.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19854 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_bitmap.h')
-rw-r--r-- | libass/ass_bitmap.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libass/ass_bitmap.h b/libass/ass_bitmap.h index edf47905..7a6d7d45 100644 --- a/libass/ass_bitmap.h +++ b/libass/ass_bitmap.h @@ -1,13 +1,18 @@ #ifndef __ASS_BITMAP_H__ #define __ASS_BITMAP_H__ +typedef struct ass_synth_priv_s ass_synth_priv_t; + +ass_synth_priv_t* ass_synth_init(); +void ass_synth_done(ass_synth_priv_t* priv); + typedef struct bitmap_s { int left, top; int w, h; // width, height unsigned char* buffer; // w x h buffer } bitmap_t; -int glyph_to_bitmap(FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g, bitmap_t** bm_o); +int glyph_to_bitmap(ass_synth_priv_t* priv, FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g, bitmap_t** bm_o, int be); void ass_free_bitmap(bitmap_t* bm); #endif |