Searched refs:max_alpha (Results 1 – 1 of 1) sorted by relevance
1066 uint8_t max_alpha; in alpha_blend() local1069 max_alpha = (1 << (rgb_info.red.size + rgb_info.green.size + in alpha_blend()1075 if (alpha >= max_alpha) in alpha_blend()1077 blend = (alpha * fg + (max_alpha - alpha) * bg); in alpha_blend()1080 l = blend & max_alpha; in alpha_blend()1081 if (h + l >= max_alpha) in alpha_blend()