diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-07-15 03:00:59 -0500 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2016-07-15 06:01:50 -0500 |
commit | 748d479107b1e19a4f52f0f6acb47f78b2260430 (patch) | |
tree | ac0cd072a7cd8bf2894821bb476451c63d4770aa /libass/ass_func_template.h | |
parent | 669d06d814da42f7046689c97f578756d6cb6aa7 (diff) | |
download | libass-748d479107b1e19a4f52f0f6acb47f78b2260430.tar.bz2 libass-748d479107b1e19a4f52f0f6acb47f78b2260430.tar.xz |
WIP: RGBA API
Diffstat (limited to 'libass/ass_func_template.h')
-rw-r--r-- | libass/ass_func_template.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libass/ass_func_template.h b/libass/ass_func_template.h index 3fea779..6c72021 100644 --- a/libass/ass_func_template.h +++ b/libass/ass_func_template.h @@ -42,6 +42,11 @@ void DECORATE(mul_bitmaps)(uint8_t *dst, intptr_t dst_stride, uint8_t *src2, intptr_t src2_stride, intptr_t width, intptr_t height); +void DECORATE(rgba_blend)(uint8_t *dst, intptr_t dst_stride, + uint8_t *src, intptr_t src_stride, + intptr_t src_w, intptr_t src_h, + uint32_t color); + void DECORATE(be_blur)(uint8_t *buf, intptr_t w, intptr_t h, intptr_t stride, uint16_t *tmp); @@ -115,6 +120,8 @@ const BitmapEngine DECORATE(bitmap_engine) = { .mul_bitmaps = ass_mul_bitmaps_c, #endif + .rgba_blend = ass_rgba_blend_c, + #ifdef __x86_64__ .be_blur = DECORATE(be_blur), #else |