Searched refs:f_gamma (Results 1 – 1 of 1) sorted by relevance
/PHP-7.2/ext/gd/libgd/ |
H A D | gd_interpolation.c | 1392 const gdFixed f_gamma = gd_ftofx(1.04f); in gdImageScaleBicubicFixed() local 1591 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1592 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1593 blue = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_blue, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1594 alpha = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_alpha, f_gamma)), 0, 127); in gdImageScaleBicubicFixed()
|
Completed in 14 milliseconds