summaryrefslogtreecommitdiffstats
path: root/libass/ass_bitmap.h
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-07 01:13:02 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-07 01:13:02 +0000
commit94ea507ec23433fe594fec19e41bd96f89cd8083 (patch)
tree4e5aae2f206ae95dd299a7ea41e0007565f4fe47 /libass/ass_bitmap.h
parent4e553a8764f412349e1fa5861b72c1239fa8a64c (diff)
downloadmpv-94ea507ec23433fe594fec19e41bd96f89cd8083.tar.bz2
mpv-94ea507ec23433fe594fec19e41bd96f89cd8083.tar.xz
Allow \be with arguments other than 0 or 1. Implement \blur.
Patch by Grigori G, greg at chown ath cx. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28471 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_bitmap.h')
-rw-r--r--libass/ass_bitmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_bitmap.h b/libass/ass_bitmap.h
index 73f9de4dfe..5f45aae4b2 100644
--- a/libass/ass_bitmap.h
+++ b/libass/ass_bitmap.h
@@ -28,7 +28,7 @@
typedef struct ass_synth_priv_s ass_synth_priv_t;
-ass_synth_priv_t* ass_synth_init(void);
+ass_synth_priv_t* ass_synth_init(double);
void ass_synth_done(ass_synth_priv_t* priv);
typedef struct bitmap_s {
@@ -46,7 +46,7 @@ typedef struct bitmap_s {
* \param bm_g out: pointer to the bitmap of glyph shadow is returned here
* \param be 1 = produces blurred bitmaps, 0 = normal bitmaps
*/
-int glyph_to_bitmap(ass_synth_priv_t* priv, FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g, bitmap_t** bm_o, bitmap_t** bm_s, int be);
+int glyph_to_bitmap(ass_synth_priv_t* priv, ass_synth_priv_t* priv_blur, FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g, bitmap_t** bm_o, bitmap_t** bm_s, int be, double blur_radius);
void ass_free_bitmap(bitmap_t* bm);