summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-07-10 19:31:07 +0200
committerGrigori Goronzy <greg@blackbox>2009-07-10 19:31:07 +0200
commitba770fa05426c04d5a1900b37fc7bcc700584720 (patch)
treea7476f0c2f619e0c89e6011e4464618a6ca8944b /libass/ass_render.c
parent15df379c97159dbbc8d876a769edac0f8efecd75 (diff)
downloadlibass-ba770fa05426c04d5a1900b37fc7bcc700584720.tar.bz2
libass-ba770fa05426c04d5a1900b37fc7bcc700584720.tar.xz
Slight optimizations for \be, \blur
Enlarge bitmap glyphs less for \be, this is especially effective for lots of \be applications. Also make sure that the gaussian blur buffers are only updated if gaussian blur is actually used for a particular glyph.
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r--libass/ass_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index e2eac7b4..f442b897 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -41,7 +41,7 @@
#define MAX_GLYPHS_INITIAL 1024
#define MAX_LINES_INITIAL 64
#define BLUR_MAX_RADIUS 100.0
-#define MAX_BE 100
+#define MAX_BE 127
#define SUBPIXEL_MASK 63
#define SUBPIXEL_ACCURACY 7 // d6 mask for subpixel accuracy adjustment