Home
last modified time | relevance | path

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

/haiku/headers/libs/agg/
H A Dagg_pixfmt_rgba.h848 template<class T> inline T sd_min(T a, T b) { return (a < b) ? a : b; } in sd_min() function
886 …p[Order::R] = (value_type)((sd_min(sr * da, dr * sa) + sr * d1a + dr * s1a + base_mask) >> base_sh… in blend_pix()
887 …p[Order::G] = (value_type)((sd_min(sg * da, dg * sa) + sg * d1a + dg * s1a + base_mask) >> base_sh… in blend_pix()
888 …p[Order::B] = (value_type)((sd_min(sb * da, db * sa) + sb * d1a + db * s1a + base_mask) >> base_sh… in blend_pix()
1219 … p[Order::R] = (value_type)(sr + dr - ((2 * sd_min(sr*da, dr*sa) + base_mask) >> base_shift)); in blend_pix()
1220 … p[Order::G] = (value_type)(sg + dg - ((2 * sd_min(sg*da, dg*sa) + base_mask) >> base_shift)); in blend_pix()
1221 … p[Order::B] = (value_type)(sb + db - ((2 * sd_min(sb*da, db*sa) + base_mask) >> base_shift)); in blend_pix()