diff options
Diffstat (limited to 'lib/libass/libass/ass_render.h')
-rw-r--r-- | lib/libass/libass/ass_render.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libass/libass/ass_render.h b/lib/libass/libass/ass_render.h index 6d9db23fb1..b039f480e9 100644 --- a/lib/libass/libass/ass_render.h +++ b/lib/libass/libass/ass_render.h @@ -38,6 +38,9 @@ #include "ass_library.h" #include "ass_drawing.h" +#define GLYPH_CACHE_MAX 1000 +#define BITMAP_CACHE_MAX_SIZE 30 * 1048576 + typedef struct { double xMin; double xMax; @@ -258,5 +261,6 @@ typedef struct { } Segment; void reset_render_context(ASS_Renderer *render_priv); +void ass_free_images(ASS_Image *img); #endif /* LIBASS_RENDER_H */ |