ARM NEON Compositor  master
Fast SIMD alpha overlay and blending for ARM
Functions
overlay_alpha.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <alpha-lib/rescale_type.hpp>
+ Include dependency graph for overlay_alpha.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<RescaleType rescale_type = RescaleType::Div255_Round>
void overlay_alpha_fast (const uint8_t *bg_img, const uint8_t *fg_img, uint8_t *out_img, size_t n)
 Fast function to overlay two images of the same size, where the number of pixels is a multiple of 8. More...
 
template<RescaleType rescale_type = RescaleType::Div255_Round>
void overlay_alpha_stride (const uint8_t *bg_img, const uint8_t *fg_img, uint8_t *out_img, size_t bg_full_cols, size_t fg_rows, size_t fg_cols, size_t fg_full_cols)
 Overlay a smaller image with an alpha channel over a larger background image. More...
 
void overlay_alpha_stride (const uint8_t(&bg_img)[4], const uint8_t(&fg_img)[4], uint8_t(&out_img)[4], size_t bg_full_cols, size_t fg_rows, size_t fg_cols, size_t fg_full_cols)
 Overlay a smaller image with an alpha channel over a larger background image. More...