Searched refs:f_gamma (Results 1 – 1 of 1) sorted by relevance
/PHP-7.0/ext/gd/libgd/ |
H A D | gd_interpolation.c | 1472 const gdFixed f_gamma = gd_ftofx(1.04f); in gdImageScaleBicubicFixed() local 1671 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1672 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1673 blue = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_blue, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1674 alpha = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_alpha, f_gamma)), 0, 127); in gdImageScaleBicubicFixed()
|
Completed in 10 milliseconds