diff options
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index 2136049..07355e9 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -291,17 +291,6 @@ typedef struct { size_t composite_max_size; } CacheStore; -typedef void (*BitmapBlendFunc)(uint8_t *dst, intptr_t dst_stride, - uint8_t *src, intptr_t src_stride, - intptr_t height, intptr_t width); -typedef void (*BitmapMulFunc)(uint8_t *dst, intptr_t dst_stride, - uint8_t *src1, intptr_t src1_stride, - uint8_t *src2, intptr_t src2_stride, - intptr_t width, intptr_t height); -typedef void (*BEBlurFunc)(uint8_t *buf, intptr_t w, - intptr_t h, intptr_t stride, - uint16_t *tmp); - struct ass_renderer { ASS_Library *library; FT_Library ftlibrary; @@ -335,12 +324,10 @@ struct ass_renderer { TextInfo text_info; CacheStore cache; + const BitmapEngine *engine; #if CONFIG_RASTERIZER - ASS_Rasterizer rasterizer; + RasterizerData rasterizer; #endif - BitmapBlendFunc add_bitmaps_func; - BitmapBlendFunc sub_bitmaps_func; - BitmapMulFunc mul_bitmaps_func; FreeList *free_head; FreeList *free_tail; |