summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache_template.h
diff options
context:
space:
mode:
author11rcombs <rodger.combs@gmail.com>2014-01-25 19:06:12 -0600
committer11rcombs <rodger.combs@gmail.com>2014-01-25 19:09:15 -0600
commit5dd56af2f97419ce5a72d1dab2e9c19b34c1dd57 (patch)
tree1997f519ae3d5f75a76a3cee3dd95034e513210a /libass/ass_cache_template.h
parentfa3b6fa3ee1de42232f0513539af2464a3c9203a (diff)
downloadlibass-5dd56af2f97419ce5a72d1dab2e9c19b34c1dd57.tar.bz2
libass-5dd56af2f97419ce5a72d1dab2e9c19b34c1dd57.tar.xz
Combine bitmaps before applying blur and shadow
Diffstat (limited to 'libass/ass_cache_template.h')
-rw-r--r--libass/ass_cache_template.h41
1 files changed, 28 insertions, 13 deletions
diff --git a/libass/ass_cache_template.h b/libass/ass_cache_template.h
index 3d8185f..8f7f2af 100644
--- a/libass/ass_cache_template.h
+++ b/libass/ass_cache_template.h
@@ -123,21 +123,36 @@ END(DrawingHashKey)
// Cache for composited bitmaps
START(composite, composite_hash_key)
- GENERIC(int, aw)
- GENERIC(int, ah)
- GENERIC(int, bw)
- GENERIC(int, bh)
- GENERIC(int, ax)
- GENERIC(int, ay)
- GENERIC(int, bx)
- GENERIC(int, by)
- GENERIC(int, as)
- GENERIC(int, bs)
- GENERIC(unsigned char *, a)
- GENERIC(unsigned char *, b)
+ GENERIC(unsigned, w)
+ GENERIC(unsigned, h)
+ GENERIC(unsigned, o_w)
+ GENERIC(unsigned, o_h)
+ GENERIC(int, is_drawing)
+ GENERIC(unsigned, chars)
+ GENERIC(int, be)
+ GENERIC(double, blur)
+ GENERIC(int, border_style)
+ GENERIC(int, has_border)
+ GENERIC(double, border_x)
+ GENERIC(double, border_y)
+ GENERIC(double, shadow_x)
+ GENERIC(double, shadow_y)
+ GENERIC(double, frx)
+ GENERIC(double, fry)
+ GENERIC(double, frz)
+ GENERIC(double, fax)
+ GENERIC(double, fay)
+ GENERIC(double, scale_x)
+ GENERIC(double, scale_y)
+ GENERIC(double, hspacing)
+ GENERIC(unsigned, italic)
+ GENERIC(unsigned, bold)
+ GENERIC(int, flags)
+ GENERIC(unsigned, has_outline)
+ FTVECTOR(advance)
+ STRING(str)
END(CompositeHashKey)
-
#undef START
#undef GENERIC
#undef STRING