XenevaOS
Loading...
Searching...
No Matches
Functions
alpha.h File Reference
#include <stdint.h>
Include dependency graph for alpha.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void glass_precompute_blur (uint32_t *out_blur, uint32_t *tmp, const uint32_t *canvas, int canvas_w, int canvas_h, int rx, int ry, int rw, int rh, int radius)
 
void __pixel_blend_neon (uint32_t *dst, const uint32_t *src, int width)
 
void _blend_scanline_glass_neon (uint32_t *canvas_row, const uint32_t *win_row, const uint32_t *blur_row, int width)
 
void _shadow_blur_horizontal (uint32_t *dst, const uint32_t *src, int w, int h, int radius)
 
void _shadow_blur_vertical (uint32_t *dst, const uint32_t *src, int w, int h, int radius)
 
void _shadow_compose_neon (uint32_t *canv, int canvas_w, int canvas_h, const uint32_t *shadow_buf, int shadow_w, int shadow_h, int win_x, int win_y)
 
void _apply_rounded_corner (uint32_t *backbuff, int radius, int winw, int winh)
 

Detailed Description

BSD 2-Clause License

Copyright (c) 2022-2026, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Function Documentation

◆ __pixel_blend_neon()

void __pixel_blend_neon ( uint32_t dst,
const uint32_t src,
int  width 
)
extern

Load 4 src and 4 dst pixels

◆ _apply_rounded_corner()

void _apply_rounded_corner ( uint32_t backbuff,
int  radius,
int  winw,
int  winh 
)
extern

◆ _blend_scanline_glass_neon()

void _blend_scanline_glass_neon ( uint32_t canvas_row,
const uint32_t win_row,
const uint32_t blur_row,
int  width 
)
extern

scaler tail

◆ _shadow_blur_horizontal()

void _shadow_blur_horizontal ( uint32_t dst,
const uint32_t src,
int  w,
int  h,
int  radius 
)
extern

◆ _shadow_blur_vertical()

void _shadow_blur_vertical ( uint32_t dst,
const uint32_t src,
int  w,
int  h,
int  radius 
)
extern

◆ _shadow_compose_neon()

void _shadow_compose_neon ( uint32_t canv,
int  canvas_w,
int  canvas_h,
const uint32_t shadow_buf,
int  shadow_w,
int  shadow_h,
int  win_x,
int  win_y 
)
extern

◆ glass_precompute_blur()

void glass_precompute_blur ( uint32_t out_blur,
uint32_t tmp,
const uint32_t canvas,
int  canvas_w,
int  canvas_h,
int  rx,
int  ry,
int  rw,
int  rh,
int  radius 
)
extern