Searched refs:DIV255 (Results 1 – 1 of 1) sorted by relevance
63 #define DIV255(X) (divtemp = (X), ((divtemp << 8) + divtemp + 256) >> 16) macro147 const GLint r = DIV255((rgba[i][RCOMP] - dest[i][RCOMP]) * t) + dest[i][RCOMP]; in blend_transparency_ubyte()148 const GLint g = DIV255((rgba[i][GCOMP] - dest[i][GCOMP]) * t) + dest[i][GCOMP]; in blend_transparency_ubyte()149 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP]; in blend_transparency_ubyte()150 const GLint a = DIV255((rgba[i][ACOMP] - dest[i][ACOMP]) * t) + dest[i][ACOMP]; in blend_transparency_ubyte()431 rgba[i][RCOMP] = DIV255(rgba[i][RCOMP] * dest[i][RCOMP]); in blend_modulate()432 rgba[i][GCOMP] = DIV255(rgba[i][GCOMP] * dest[i][GCOMP]); in blend_modulate()433 rgba[i][BCOMP] = DIV255(rgba[i][BCOMP] * dest[i][BCOMP]); in blend_modulate()434 rgba[i][ACOMP] = DIV255(rgba[i][ACOMP] * dest[i][ACOMP]); in blend_modulate()