1 #ifndef _LV_ALPHA_BLEND_H
2 #define _LV_ALPHA_BLEND_H
4 #include <libvisual/lvconfig.h>
5 #include <libvisual/lv_defines.h>
6 #include <libvisual/lv_types.h>
10 LV_API
void visual_alpha_blend_8 (uint8_t *LV_RESTRICT dest,
const uint8_t *LV_RESTRICT src1,
const uint8_t *LV_RESTRICT src2, visual_size_t size, uint8_t alpha);
11 LV_API
void visual_alpha_blend_16 (uint8_t *LV_RESTRICT dest,
const uint8_t *LV_RESTRICT src1,
const uint8_t *LV_RESTRICT src2, visual_size_t size, uint8_t alpha);
12 LV_API
void visual_alpha_blend_24 (uint8_t *LV_RESTRICT dest,
const uint8_t *LV_RESTRICT src1,
const uint8_t *LV_RESTRICT src2, visual_size_t size, uint8_t alpha);
13 LV_API
void visual_alpha_blend_32 (uint8_t *LV_RESTRICT dest,
const uint8_t *LV_RESTRICT src1,
const uint8_t *LV_RESTRICT src2, visual_size_t size, uint8_t alpha);