Searched refs:new_g (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;
267 new_g += (float)gdImageGreen(srcback, pxl) * filter[j][i];
273 new_g = (new_g/filter_div)+offset;
277 new_g = (new_g > 255.0f)? 255.0f : ((new_g < 0.0f)? 0.0f:new_g);
280 new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (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
854 new_g += kernel * gdTrueColorGetGreen(rgbs);
864 new_g += kernel * gdTrueColorGetGreen(rgbs);
872 new_g = CLAMP(new_g, 0, 255);
876 return gdTrueColorAlpha(((int)new_r), ((int)new_g), ((int)new_b), ((int)new_a));

Completed in 9 milliseconds