Home
last modified time | relevance | path

Searched refs:balpha (Results 1 – 16 of 16) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_display_driver_32argb_rotated_pixel_blend.c71 GX_UBYTE balpha, bred, bgreen, bblue; in _gx_display_driver_32argb_rotated_pixel_blend() local
117 balpha = ALPHAVAL_32BPP(bcolor); in _gx_display_driver_32argb_rotated_pixel_blend()
123 combined_alpha = (falpha * balpha) / 0xff; in _gx_display_driver_32argb_rotated_pixel_blend()
126 oalpha = (GX_UBYTE)(falpha + balpha - combined_alpha); in _gx_display_driver_32argb_rotated_pixel_blend()
127 fred = (GX_UBYTE)((fred * falpha + bred * balpha - bred * combined_alpha) / oalpha); in _gx_display_driver_32argb_rotated_pixel_blend()
128 fgreen = (GX_UBYTE)((fgreen * falpha + bgreen * balpha - bgreen * combined_alpha) / oalpha); in _gx_display_driver_32argb_rotated_pixel_blend()
129 fblue = (GX_UBYTE)((fblue * falpha + bblue * balpha - bblue * combined_alpha) / oalpha); in _gx_display_driver_32argb_rotated_pixel_blend()
Dgx_display_driver_32argb_pixel_blend.c89 GX_UBYTE balpha, bred, bgreen, bblue; in _gx_display_driver_32argb_pixel_blend() local
124 balpha = ALPHAVAL(bcolor); in _gx_display_driver_32argb_pixel_blend()
130 combined_alpha = (falpha * balpha) / 0xff; in _gx_display_driver_32argb_pixel_blend()
133 oalpha = (GX_UBYTE)(falpha + balpha - combined_alpha); in _gx_display_driver_32argb_pixel_blend()
134 fred = (GX_UBYTE)((fred * falpha + bred * balpha - bred * combined_alpha) / oalpha); in _gx_display_driver_32argb_pixel_blend()
135 fgreen = (GX_UBYTE)((fgreen * falpha + bgreen * balpha - bgreen * combined_alpha) / oalpha); in _gx_display_driver_32argb_pixel_blend()
136 fblue = (GX_UBYTE)((fblue * falpha + bblue * balpha - bblue * combined_alpha) / oalpha); in _gx_display_driver_32argb_pixel_blend()
Dgx_display_driver_24xrgb_pixel_blend.c93 GX_UBYTE balpha; in _gx_display_driver_24xrgb_pixel_blend() local
129 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_24xrgb_pixel_blend()
132 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_24xrgb_pixel_blend()
133 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_24xrgb_pixel_blend()
134 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_24xrgb_pixel_blend()
Dgx_display_driver_24xrgb_rotated_pixel_blend.c76 GX_UBYTE balpha; in _gx_display_driver_24xrgb_rotated_pixel_blend() local
120 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_24xrgb_rotated_pixel_blend()
123 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_24xrgb_rotated_pixel_blend()
124 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_24xrgb_rotated_pixel_blend()
125 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_24xrgb_rotated_pixel_blend()
Dgx_display_driver_332rgb_pixel_blend.c90 GX_UBYTE balpha; in _gx_display_driver_332rgb_pixel_blend() local
125 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_332rgb_pixel_blend()
128 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_332rgb_pixel_blend()
129 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_332rgb_pixel_blend()
130 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_332rgb_pixel_blend()
Dgx_display_driver_1555xrgb_pixel_blend.c92 GX_UBYTE balpha; in _gx_display_driver_1555xrgb_pixel_blend() local
127 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_1555xrgb_pixel_blend()
130 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_1555xrgb_pixel_blend()
131 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_1555xrgb_pixel_blend()
132 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_1555xrgb_pixel_blend()
Dgx_display_driver_565rgb_pixel_blend.c92 GX_UBYTE balpha; in _gx_display_driver_565rgb_pixel_blend() local
127 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_565rgb_pixel_blend()
130 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_565rgb_pixel_blend()
131 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_565rgb_pixel_blend()
132 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_565rgb_pixel_blend()
Dgx_display_driver_565rgb_rotated_pixel_blend.c90 GX_UBYTE balpha; in _gx_display_driver_565rgb_rotated_pixel_blend() local
134 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_565rgb_rotated_pixel_blend()
137 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_565rgb_rotated_pixel_blend()
138 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_565rgb_rotated_pixel_blend()
139 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_565rgb_rotated_pixel_blend()
Dgx_display_driver_4444argb_canvas_blend.c101 GX_UBYTE balpha; in _gx_display_driver_4444argb_canvas_blend() local
157 balpha = ALPHAVAL(bcolor); in _gx_display_driver_4444argb_canvas_blend()
158 balpha = (GX_UBYTE)(balpha | (balpha << 4)); in _gx_display_driver_4444argb_canvas_blend()
167 falpha = (GX_UBYTE)(((balpha * inv_alpha) + (falpha * combined_alpha)) >> 8); in _gx_display_driver_4444argb_canvas_blend()
Dgx_display_driver_24xrgb_canvas_blend.c100 GX_UBYTE alpha, balpha; in _gx_display_driver_24xrgb_canvas_blend() local
115 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_24xrgb_canvas_blend()
155 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_24xrgb_canvas_blend()
156 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_24xrgb_canvas_blend()
157 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_24xrgb_canvas_blend()
Dgx_display_driver_24xrgb_rotated_canvas_blend.c85 GX_UBYTE alpha, balpha; in _gx_display_driver_24xrgb_rotated_canvas_blend() local
100 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_24xrgb_rotated_canvas_blend()
154 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_24xrgb_rotated_canvas_blend()
155 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_24xrgb_rotated_canvas_blend()
156 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_24xrgb_rotated_canvas_blend()
Dgx_display_driver_1555xrgb_canvas_blend.c101 GX_UBYTE alpha, balpha; in _gx_display_driver_1555xrgb_canvas_blend() local
116 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_1555xrgb_canvas_blend()
156 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_1555xrgb_canvas_blend()
157 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_1555xrgb_canvas_blend()
158 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_1555xrgb_canvas_blend()
Dgx_display_driver_565rgb_canvas_blend.c100 GX_UBYTE alpha, balpha; in _gx_display_driver_565rgb_canvas_blend() local
115 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_565rgb_canvas_blend()
155 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_565rgb_canvas_blend()
156 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_565rgb_canvas_blend()
157 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_565rgb_canvas_blend()
Dgx_display_driver_565rgb_rotated_canvas_blend.c98 GX_UBYTE alpha, balpha; in _gx_display_driver_565rgb_rotated_canvas_blend() local
113 balpha = (GX_UBYTE)(256 - alpha); in _gx_display_driver_565rgb_rotated_canvas_blend()
167 fred = (GX_UBYTE)(((bred * balpha) + (fred * alpha)) >> 8); in _gx_display_driver_565rgb_rotated_canvas_blend()
168 fgreen = (GX_UBYTE)(((bgreen * balpha) + (fgreen * alpha)) >> 8); in _gx_display_driver_565rgb_rotated_canvas_blend()
169 fblue = (GX_UBYTE)(((bblue * balpha) + (fblue * alpha)) >> 8); in _gx_display_driver_565rgb_rotated_canvas_blend()
Dgx_display_driver_4444argb_pixel_blend.c95 GX_UBYTE balpha, bred, bgreen, bblue; in _gx_display_driver_4444argb_pixel_blend() local
134 balpha = ALPHAVAL(bcolor); in _gx_display_driver_4444argb_pixel_blend()
135 ExtendToByte(balpha); in _gx_display_driver_4444argb_pixel_blend()
147 falpha = (GX_UBYTE)(((balpha * inv_alpha) + (falpha * combined_alpha)) >> 12); in _gx_display_driver_4444argb_pixel_blend()
Dgx_display_driver_565rgb_horizontal_pixelmap_line_draw.c92 … (*blend_func)(GX_DRAW_CONTEXT *context, INT x, INT y, GX_COLOR fcolor, GX_UBYTE balpha); in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()