Searched refs:f_gamma (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/gd/libgd/ |
H A D | gd_interpolation.c | 1364 const gdFixed f_gamma = gd_ftofx(1.04f); in gdImageScaleBicubicFixed() local 1563 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1564 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1565 blue = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_blue, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1566 alpha = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_alpha, f_gamma)), 0, 127); in gdImageScaleBicubicFixed()
|
Completed in 11 milliseconds