Searched refs:new_r (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_filter.c233 float new_r, new_g, new_b; local
259 new_r = new_g = new_b = 0;
266 new_r += (float)gdImageRed(srcback, pxl) * filter[j][i];
272 new_r = (new_r/filter_div)+offset;
276 new_r = (new_r > 255.0f)? 255.0f : ((new_r < 0.0f)? 0.0f:new_r);
280 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (in
294 float new_r, new_g, new_b; local
[all...]
H A Dgd_interpolation.c814 double new_r = 0.0f, new_g = 0.0f, new_b = 0.0f, new_a = 0.0f; local
853 new_r += kernel * gdTrueColorGetRed(rgbs);
863 new_r += kernel * gdTrueColorGetRed(rgbs);
871 new_r = CLAMP(new_r, 0, 255);
876 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a));

Completed in 7 milliseconds