Home
last modified time | relevance | path

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

/haiku/headers/libs/agg/
H A Dagg_pixfmt_rgba.h336 calc_type s1a = base_mask - sa; in blend_pix() local
337 p[Order::R] = (value_type)(sr + ((p[Order::R] * s1a + base_mask) >> base_shift)); in blend_pix()
338 p[Order::G] = (value_type)(sg + ((p[Order::G] * s1a + base_mask) >> base_shift)); in blend_pix()
339 p[Order::B] = (value_type)(sb + ((p[Order::B] * s1a + base_mask) >> base_shift)); in blend_pix()
619 calc_type s1a = base_mask - sa; in blend_pix() local
621 … p[Order::R] = (value_type)((p[Order::R] * s1a + sr * d1a + base_mask) >> base_shift); in blend_pix()
622 … p[Order::G] = (value_type)((p[Order::G] * s1a + sg * d1a + base_mask) >> base_shift); in blend_pix()
623 … p[Order::B] = (value_type)((p[Order::B] * s1a + sb * d1a + base_mask) >> base_shift); in blend_pix()
737 calc_type s1a = base_mask - sa; in blend_pix() local
742 … p[Order::R] = (value_type)((sr * dr + sr * d1a + dr * s1a + base_mask) >> base_shift); in blend_pix()
[all …]