Searched refs:clamp_div255round (Results 1 – 1 of 1) sorted by relevance
40 static inline int clamp_div255round(int prod) { in clamp_div255round() function483 return clamp_div255round(sc * (255 - da) + dc * (255 - sa) + sc * dc); in blendfunc_multiply_byte()514 return clamp_div255round(rc + tmp); in overlay_byte()582 return clamp_div255round(rc); in colordodge_byte()606 return clamp_div255round(rc); in colorburn_byte()626 return clamp_div255round(rc + sc * (255 - da) + dc * (255 - sa)); in hardlight_byte()656 return clamp_div255round(rc + sc * (255 - da) + dc * (255 - sa)); in softlight_byte()690 return clamp_div255round(r); in exclusion_byte()781 clamp_div255round(sc * (255 - da) + dc * (255 - sa) + blendval)