Searched refs:new_b (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;
268 new_b += (float)gdImageBlue(srcback, pxl) * filter[j][i];
274 new_b = (new_b/filter_div)+offset;
278 new_b = (new_b > 255.0f)? 255.0f : ((new_b < 0.0f)? 0.0f:new_b);
280 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_
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
855 new_b += kernel * gdTrueColorGetBlue(rgbs);
865 new_b += kernel * gdTrueColorGetBlue(rgbs);
873 new_b = CLAMP(new_b, 0, 255);
876 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a));

Completed in 19 milliseconds