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()
1106 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1107 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1117 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1118 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1213 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearPalette()
1221 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearPalette()
1227 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1228 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearPalette()
1229 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1230 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearPalette()
1264 …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()
1265 …char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1266 … char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1267 …char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1312 gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearTC()
1313 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearTC()
1319 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearTC()
1320 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearTC()
1321 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearTC()
1322 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearTC()
1355 …char red = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1356 …char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1357 …char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1358 …char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1422 const gdFixed f_a = gd_mulfx(gd_itofx(i), f_dy); in gdImageScaleBicubicFixed()
1423 const gdFixed f_b = gd_mulfx(gd_itofx(j), f_dx); in gdImageScaleBicubicFixed()
1550 if (f_fp2 > 0) f_a = gd_mulfx(f_fp2, gd_mulfx(f_fp2,f_fp2)); in gdImageScaleBicubicFixed()
1551 if (f_fp1 > 0) f_b = gd_mulfx(f_fp1, gd_mulfx(f_fp1,f_fp1)); in gdImageScaleBicubicFixed()
1552 if (f > 0) f_c = gd_mulfx(f, gd_mulfx(f,f)); in gdImageScaleBicubicFixed()
1553 if (f_fm1 > 0) f_d = gd_mulfx(f_fm1, gd_mulfx(f_fm1,f_fm1)); in gdImageScaleBicubicFixed()
1555 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()
1567 if (f_fp2 > 0) f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageScaleBicubicFixed()
1569 if (f_fp1 > 0) f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageScaleBicubicFixed()
1571 if (f > 0) f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageScaleBicubicFixed()
1573 if (f_fm1 > 0) f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageScaleBicubicFixed()
1575 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()
1576 f_R = gd_mulfx(f_RY,f_RX); in gdImageScaleBicubicFixed()
1584 f_red += gd_mulfx(f_rs,f_R); in gdImageScaleBicubicFixed()
1585 f_green += gd_mulfx(f_gs,f_R); in gdImageScaleBicubicFixed()
1586 f_blue += gd_mulfx(f_bs,f_R); in gdImageScaleBicubicFixed()
1587 f_alpha += gd_mulfx(f_ba,f_R); in gdImageScaleBicubicFixed()
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()
1696 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateNearestNeighbour()
1697 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateNearestNeighbour()
1762 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateGeneric()
1763 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateGeneric()
1821 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBilinear()
1822 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBilinear()
1829 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageRotateBilinear()
1830 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageRotateBilinear()
1831 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageRotateBilinear()
1832 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageRotateBilinear()
1877 …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()
1878 …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()
1879 …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()
1880 …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()
1939 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBicubicFixed()
1940 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBicubicFixed()
2079 f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageRotateBicubicFixed()
2083 f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageRotateBicubicFixed()
2087 f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageRotateBicubicFixed()
2091 f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageRotateBicubicFixed()
2093 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()
2107 f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageRotateBicubicFixed()
2111 f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageRotateBicubicFixed()
2115 f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageRotateBicubicFixed()
2119 f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageRotateBicubicFixed()
2122 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()
2123 f_R = gd_mulfx(f_RY, f_RX); in gdImageRotateBicubicFixed()
2130 c = c | (( (int) (gd_fxtof(gd_mulfx(f_R, f_127)) + 50.5f)) << 24); in gdImageRotateBicubicFixed()
2141 f_red += gd_mulfx(f_rs, f_R); in gdImageRotateBicubicFixed()
2142 f_green += gd_mulfx(f_gs, f_R); in gdImageRotateBicubicFixed()
2143 f_blue += gd_mulfx(f_bs, f_R); in gdImageRotateBicubicFixed()
2144 f_alpha += gd_mulfx(f_as, f_R); in gdImageRotateBicubicFixed()
2148 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2149 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2150 blue = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_blue, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2151 alpha = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_alpha, f_gama)), 0, 127); in gdImageRotateBicubicFixed()