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()
1104 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1105 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1115 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1116 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1211 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearPalette()
1219 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearPalette()
1225 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1226 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearPalette()
1227 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1228 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearPalette()
1262 …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()
1263 …char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1264 … char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1265 …char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3,… in gdImageScaleBilinearPalette()
1310 gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearTC()
1311 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearTC()
1317 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearTC()
1318 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearTC()
1319 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearTC()
1320 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearTC()
1353 …char red = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1354 …char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1355 …char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1356 …char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3,… in gdImageScaleBilinearTC()
1420 const gdFixed f_a = gd_mulfx(gd_itofx(i), f_dy); in gdImageScaleBicubicFixed()
1421 const gdFixed f_b = gd_mulfx(gd_itofx(j), f_dx); in gdImageScaleBicubicFixed()
1548 if (f_fp2 > 0) f_a = gd_mulfx(f_fp2, gd_mulfx(f_fp2,f_fp2)); in gdImageScaleBicubicFixed()
1549 if (f_fp1 > 0) f_b = gd_mulfx(f_fp1, gd_mulfx(f_fp1,f_fp1)); in gdImageScaleBicubicFixed()
1550 if (f > 0) f_c = gd_mulfx(f, gd_mulfx(f,f)); in gdImageScaleBicubicFixed()
1551 if (f_fm1 > 0) f_d = gd_mulfx(f_fm1, gd_mulfx(f_fm1,f_fm1)); in gdImageScaleBicubicFixed()
1553 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()
1565 if (f_fp2 > 0) f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageScaleBicubicFixed()
1567 if (f_fp1 > 0) f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageScaleBicubicFixed()
1569 if (f > 0) f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageScaleBicubicFixed()
1571 if (f_fm1 > 0) f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageScaleBicubicFixed()
1573 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()
1574 f_R = gd_mulfx(f_RY,f_RX); in gdImageScaleBicubicFixed()
1582 f_red += gd_mulfx(f_rs,f_R); in gdImageScaleBicubicFixed()
1583 f_green += gd_mulfx(f_gs,f_R); in gdImageScaleBicubicFixed()
1584 f_blue += gd_mulfx(f_bs,f_R); in gdImageScaleBicubicFixed()
1585 f_alpha += gd_mulfx(f_ba,f_R); in gdImageScaleBicubicFixed()
1589 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gamma)), 0, 255); in gdImageScaleBicubicFixed()
1590 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gamma)), 0, 255); in gdImageScaleBicubicFixed()
1591 blue = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_blue, f_gamma)), 0, 255); in gdImageScaleBicubicFixed()
1592 alpha = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_alpha, f_gamma)), 0, 127); in gdImageScaleBicubicFixed()
1694 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateNearestNeighbour()
1695 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateNearestNeighbour()
1759 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateGeneric()
1760 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateGeneric()
1817 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBilinear()
1818 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBilinear()
1825 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageRotateBilinear()
1826 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageRotateBilinear()
1827 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageRotateBilinear()
1828 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageRotateBilinear()
1873 …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()
1874 …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()
1875 …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()
1876 …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()
1935 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBicubicFixed()
1936 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBicubicFixed()
2075 f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageRotateBicubicFixed()
2079 f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageRotateBicubicFixed()
2083 f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageRotateBicubicFixed()
2087 f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageRotateBicubicFixed()
2089 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()
2103 f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); in gdImageRotateBicubicFixed()
2107 f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); in gdImageRotateBicubicFixed()
2111 f_c = gd_mulfx(f,gd_mulfx(f,f)); in gdImageRotateBicubicFixed()
2115 f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); in gdImageRotateBicubicFixed()
2118 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()
2119 f_R = gd_mulfx(f_RY, f_RX); in gdImageRotateBicubicFixed()
2126 c = c | (( (int) (gd_fxtof(gd_mulfx(f_R, f_127)) + 50.5f)) << 24); in gdImageRotateBicubicFixed()
2137 f_red += gd_mulfx(f_rs, f_R); in gdImageRotateBicubicFixed()
2138 f_green += gd_mulfx(f_gs, f_R); in gdImageRotateBicubicFixed()
2139 f_blue += gd_mulfx(f_bs, f_R); in gdImageRotateBicubicFixed()
2140 f_alpha += gd_mulfx(f_as, f_R); in gdImageRotateBicubicFixed()
2144 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2145 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2146 blue = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_blue, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
2147 alpha = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_alpha, f_gama)), 0, 127); in gdImageRotateBicubicFixed()