Lines Matching refs:gd_mulfx

112 #define gd_mulfx(x,y) (((x) * (y)) >> 8)  macro
652 c = c | (( (int) (gd_fxtof(gd_mulfx(coverage, f_127)) + 50.5f)) << 24); in _setEdgePixel()
1186 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1187 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1197 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1198 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1293 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearPalette()
1301 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearPalette()
1307 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1308 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearPalette()
1309 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1310 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearPalette()
1344 …d char red = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1345 …char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1346 … char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1347 …char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1392 gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearTC()
1393 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearTC()
1399 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearTC()
1400 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearTC()
1401 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearTC()
1402 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearTC()
1435 …char red = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1436 …char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1437 …char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1438 …char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1502 const gdFixed f_a = gd_mulfx(gd_itofx(i), f_dy); in gdImageScaleBicubicFixed()
1503 const gdFixed f_b = gd_mulfx(gd_itofx(j), f_dx); in gdImageScaleBicubicFixed()
1630 if (f_fp2 > 0) f_a = gd_mulfx(f_fp2, gd_mulfx(f_fp2,f_fp2)); in gdImageScaleBicubicFixed()
1631 if (f_fp1 > 0) f_b = gd_mulfx(f_fp1, gd_mulfx(f_fp1,f_fp1)); in gdImageScaleBicubicFixed()
1632 if (f > 0) f_c = gd_mulfx(f, gd_mulfx(f,f)); in gdImageScaleBicubicFixed()
1633 if (f_fm1 > 0) f_d = gd_mulfx(f_fm1, gd_mulfx(f_fm1,f_fm1)); in gdImageScaleBicubicFixed()
1635 f_RY = gd_divfx((f_a - gd_mulfx(f_4,f_b) + gd_mulfx(f_6,f_c) - gd_mulfx(f_4,f_d)),f_6); in gdImageScaleBicubicFixed()
1647 if (f_fp2 > 0) f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageScaleBicubicFixed()
1649 if (f_fp1 > 0) f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageScaleBicubicFixed()
1651 if (f > 0) f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageScaleBicubicFixed()
1653 if (f_fm1 > 0) f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageScaleBicubicFixed()
1655 f_RX = gd_divfx((f_a-gd_mulfx(f_4,f_b)+gd_mulfx(f_6,f_c)-gd_mulfx(f_4,f_d)),f_6); in gdImageScaleBicubicFixed()
1656 f_R = gd_mulfx(f_RY,f_RX); in gdImageScaleBicubicFixed()
1664 f_red += gd_mulfx(f_rs,f_R); in gdImageScaleBicubicFixed()
1665 f_green += gd_mulfx(f_gs,f_R); in gdImageScaleBicubicFixed()
1666 f_blue += gd_mulfx(f_bs,f_R); in gdImageScaleBicubicFixed()
1667 f_alpha += gd_mulfx(f_ba,f_R); in gdImageScaleBicubicFixed()
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()
1776 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateNearestNeighbour()
1777 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateNearestNeighbour()
1842 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateGeneric()
1843 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateGeneric()
1901 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBilinear()
1902 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBilinear()
1909 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageRotateBilinear()
1910 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageRotateBilinear()
1911 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageRotateBilinear()
1912 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageRotateBilinear()
1957 …const gdFixed f_red = gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3, f_r3) + gd_mulf… in gdImageRotateBilinear()
1958 …const gdFixed f_green = gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3, f_g3) + gd_mu… in gdImageRotateBilinear()
1959 …const gdFixed f_blue = gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3, f_b3) + gd_mul… in gdImageRotateBilinear()
1960 …const gdFixed f_alpha = gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3, f_a3) + gd_mu… in gdImageRotateBilinear()
2019 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBicubicFixed()
2020 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBicubicFixed()
2159 f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageRotateBicubicFixed()
2163 f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageRotateBicubicFixed()
2167 f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageRotateBicubicFixed()
2171 f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageRotateBicubicFixed()
2173 f_RY = gd_divfx((f_a-gd_mulfx(f_4,f_b)+gd_mulfx(f_6,f_c)-gd_mulfx(f_4,f_d)),f_6); in gdImageRotateBicubicFixed()
2187 f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageRotateBicubicFixed()
2191 f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageRotateBicubicFixed()
2195 f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageRotateBicubicFixed()
2199 f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageRotateBicubicFixed()
2202 f_RX = gd_divfx((f_a - gd_mulfx(f_4, f_b) + gd_mulfx(f_6, f_c) - gd_mulfx(f_4, f_d)), f_6); in gdImageRotateBicubicFixed()
2203 f_R = gd_mulfx(f_RY, f_RX); in gdImageRotateBicubicFixed()
2210 c = c | (( (int) (gd_fxtof(gd_mulfx(f_R, f_127)) + 50.5f)) << 24); in gdImageRotateBicubicFixed()
2221 f_red += gd_mulfx(f_rs, f_R); in gdImageRotateBicubicFixed()
2222 f_green += gd_mulfx(f_gs, f_R); in gdImageRotateBicubicFixed()
2223 f_blue += gd_mulfx(f_bs, f_R); in gdImageRotateBicubicFixed()
2224 f_alpha += gd_mulfx(f_as, f_R); in gdImageRotateBicubicFixed()
2228 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2229 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2230 blue = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_blue, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2231 alpha = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_alpha, f_gama)), 0, 127); in gdImageRotateBicubicFixed()