Searched refs:inv_alpha (Results 1 – 2 of 2) sorted by relevance
95 GX_UBYTE inv_alpha; in _gx_display_driver_4444argb_pixel_blend() local143 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()
104 GX_UBYTE inv_alpha; in _gx_display_driver_4444argb_canvas_blend() local163 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()