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.
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.