Home
last modified time | relevance | path

Searched refs:uchar_clamp (Results 1 – 1 of 1) sorted by relevance

/PHP-8.3/ext/gd/libgd/
H A Dgd_interpolation.c937 uchar_clamp(double clr, unsigned char max) { in uchar_clamp() function
978 p_dst_row[x] = gdTrueColorAlpha(uchar_clamp(r, 0xFF), uchar_clamp(g, 0xFF), in _gdScaleRow()
979 uchar_clamp(b, 0xFF), in _gdScaleRow()
980 uchar_clamp(a, 0x7F)); /* alpha is 0..127 */ in _gdScaleRow()
1027 pRes->tpixels[y][uCol] = gdTrueColorAlpha(uchar_clamp(r, 0xFF), uchar_clamp(g, 0xFF), in _gdScaleCol()
1028 uchar_clamp(b, 0xFF), in _gdScaleCol()
1029 uchar_clamp(a, 0x7F)); /* alpha is 0..127 */ in _gdScaleCol()

Completed in 22 milliseconds