Home
last modified time | relevance | path

Searched refs:inv_alpha (Results 1 – 2 of 2) sorted by relevance

/GUIX-v6.4.1/common/src/
Dgx_display_driver_4444argb_pixel_blend.c95 GX_UBYTE inv_alpha; in _gx_display_driver_4444argb_pixel_blend() local
143 inv_alpha = (GX_UBYTE)(256 - combined_alpha); in _gx_display_driver_4444argb_pixel_blend()
146 falpha = (GX_UBYTE)(((balpha * inv_alpha) + (falpha * combined_alpha)) >> 12); in _gx_display_driver_4444argb_pixel_blend()
147 fred = (GX_UBYTE)(((bred * inv_alpha) + (fred * combined_alpha)) >> 12); in _gx_display_driver_4444argb_pixel_blend()
148 fgreen = (GX_UBYTE)(((bgreen * inv_alpha) + (fgreen * combined_alpha)) >> 12); in _gx_display_driver_4444argb_pixel_blend()
149 fblue = (GX_UBYTE)(((bblue * inv_alpha) + (fblue * combined_alpha)) >> 12); in _gx_display_driver_4444argb_pixel_blend()
Dgx_display_driver_4444argb_canvas_blend.c104 GX_UBYTE inv_alpha; in _gx_display_driver_4444argb_canvas_blend() local
163 inv_alpha = (GX_UBYTE)(256 - combined_alpha); in _gx_display_driver_4444argb_canvas_blend()
166 falpha = (GX_UBYTE)(((balpha * inv_alpha) + (falpha * combined_alpha)) >> 8); in _gx_display_driver_4444argb_canvas_blend()
167 fred = (GX_UBYTE)(((bred * inv_alpha) + (fred * combined_alpha)) >> 8); in _gx_display_driver_4444argb_canvas_blend()
168 fgreen = (GX_UBYTE)(((bgreen * inv_alpha) + (fgreen * combined_alpha)) >> 8); in _gx_display_driver_4444argb_canvas_blend()
169 fblue = (GX_UBYTE)(((bblue * inv_alpha) + (fblue * combined_alpha)) >> 8); in _gx_display_driver_4444argb_canvas_blend()