Lines Matching refs:gdFixed

91 typedef long gdFixed;  typedef
1113 const gdFixed f_dx = gd_ftofx(dx); in gdImageScaleNearestNeighbour()
1114 const gdFixed f_dy = gd_ftofx(dy); in gdImageScaleNearestNeighbour()
1136 const gdFixed f_i = gd_itofx(i); in gdImageScaleNearestNeighbour()
1137 const gdFixed f_j = gd_itofx(j); in gdImageScaleNearestNeighbour()
1138 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1139 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1147 const gdFixed f_i = gd_itofx(i); in gdImageScaleNearestNeighbour()
1148 const gdFixed f_j = gd_itofx(j); in gdImageScaleNearestNeighbour()
1149 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1150 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1168 gdFixed f_dx = gd_ftofx(dx); in gdImageScaleBilinearPalette()
1169 gdFixed f_dy = gd_ftofx(dy); in gdImageScaleBilinearPalette()
1170 gdFixed f_1 = gd_itofx(1); in gdImageScaleBilinearPalette()
1196 const gdFixed f_i = gd_itofx(i); in gdImageScaleBilinearPalette()
1197 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearPalette()
1204 gdFixed f_j = gd_itofx(j); in gdImageScaleBilinearPalette()
1205 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearPalette()
1208 gdFixed f_f = f_a - gd_itofx(m); in gdImageScaleBilinearPalette()
1209 gdFixed f_g = f_b - gd_itofx(n); in gdImageScaleBilinearPalette()
1211 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1212 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearPalette()
1213 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1214 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearPalette()
1219 register gdFixed f_r1, f_r2, f_r3, f_r4, in gdImageScaleBilinearPalette()
1270 gdFixed f_dx = gd_ftofx(dx); in gdImageScaleBilinearTC()
1271 gdFixed f_dy = gd_ftofx(dy); in gdImageScaleBilinearTC()
1272 gdFixed f_1 = gd_itofx(1); in gdImageScaleBilinearTC()
1293 gdFixed f_i = gd_itofx(i); in gdImageScaleBilinearTC()
1294 gdFixed f_j = gd_itofx(j); in gdImageScaleBilinearTC()
1295 gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearTC()
1296 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearTC()
1299 gdFixed f_f = f_a - gd_itofx(m); in gdImageScaleBilinearTC()
1300 gdFixed f_g = f_b - gd_itofx(n); in gdImageScaleBilinearTC()
1302 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearTC()
1303 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearTC()
1304 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearTC()
1305 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearTC()
1310 register gdFixed f_r1, f_r2, f_r3, f_r4, in gdImageScaleBilinearTC()
1368 const gdFixed f_dx = gd_ftofx((float)src_w / (float)new_width); in gdImageScaleBicubicFixed()
1369 const gdFixed f_dy = gd_ftofx((float)src_h / (float)new_height); in gdImageScaleBicubicFixed()
1370 const gdFixed f_1 = gd_itofx(1); in gdImageScaleBicubicFixed()
1371 const gdFixed f_2 = gd_itofx(2); in gdImageScaleBicubicFixed()
1372 const gdFixed f_4 = gd_itofx(4); in gdImageScaleBicubicFixed()
1373 const gdFixed f_6 = gd_itofx(6); in gdImageScaleBicubicFixed()
1374 const gdFixed f_gamma = gd_ftofx(1.04f); in gdImageScaleBicubicFixed()
1404 const gdFixed f_a = gd_mulfx(gd_itofx(i), f_dy); in gdImageScaleBicubicFixed()
1405 const gdFixed f_b = gd_mulfx(gd_itofx(j), f_dx); in gdImageScaleBicubicFixed()
1408 const gdFixed f_f = f_a - gd_itofx(m); in gdImageScaleBicubicFixed()
1409 const gdFixed f_g = f_b - gd_itofx(n); in gdImageScaleBicubicFixed()
1412 register gdFixed f_red = 0, f_green = 0, f_blue = 0, f_alpha = 0; in gdImageScaleBicubicFixed()
1524 const gdFixed f = gd_itofx(k)-f_f; in gdImageScaleBicubicFixed()
1525 const gdFixed f_fm1 = f - f_1; in gdImageScaleBicubicFixed()
1526 const gdFixed f_fp1 = f + f_1; in gdImageScaleBicubicFixed()
1527 const gdFixed f_fp2 = f + f_2; in gdImageScaleBicubicFixed()
1528 register gdFixed f_a = 0, f_b = 0, f_d = 0, f_c = 0; in gdImageScaleBicubicFixed()
1529 register gdFixed f_RY; in gdImageScaleBicubicFixed()
1540 const gdFixed f = gd_itofx(l) - f_g; in gdImageScaleBicubicFixed()
1541 const gdFixed f_fm1 = f - f_1; in gdImageScaleBicubicFixed()
1542 const gdFixed f_fp1 = f + f_1; in gdImageScaleBicubicFixed()
1543 const gdFixed f_fp2 = f + f_2; in gdImageScaleBicubicFixed()
1544 register gdFixed f_a = 0, f_b = 0, f_c = 0, f_d = 0; in gdImageScaleBicubicFixed()
1545 register gdFixed f_RX, f_R, f_rs, f_gs, f_bs, f_ba; in gdImageScaleBicubicFixed()
1646 const gdFixed f_0_5 = gd_ftofx(0.5f); in gdImageRotateNearestNeighbour()
1647 const gdFixed f_H = gd_itofx(src_h/2); in gdImageRotateNearestNeighbour()
1648 const gdFixed f_W = gd_itofx(src_w/2); in gdImageRotateNearestNeighbour()
1649 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateNearestNeighbour()
1650 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateNearestNeighbour()
1676 gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateNearestNeighbour()
1677 gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateNearestNeighbour()
1678 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateNearestNeighbour()
1679 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateNearestNeighbour()
1703 const gdFixed f_0_5 = gd_ftofx(0.5f); in gdImageRotateGeneric()
1704 const gdFixed f_H = gd_itofx(src_h/2); in gdImageRotateGeneric()
1705 const gdFixed f_W = gd_itofx(src_w/2); in gdImageRotateGeneric()
1706 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateGeneric()
1707 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateGeneric()
1716 const gdFixed f_slop_y = f_sin; in gdImageRotateGeneric()
1717 const gdFixed f_slop_x = f_cos; in gdImageRotateGeneric()
1718 const gdFixed f_slop = f_slop_x > 0 && f_slop_y > 0 ? in gdImageRotateGeneric()
1741 gdFixed f_i = gd_itofx((int)i - (int)new_height/ 2); in gdImageRotateGeneric()
1742 gdFixed f_j = gd_itofx((int)j - (int)new_width / 2); in gdImageRotateGeneric()
1743 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateGeneric()
1744 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateGeneric()
1770 const gdFixed f_0_5 = gd_ftofx(0.5f); in gdImageRotateBilinear()
1771 const gdFixed f_H = gd_itofx(src_h/2); in gdImageRotateBilinear()
1772 const gdFixed f_W = gd_itofx(src_w/2); in gdImageRotateBilinear()
1773 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBilinear()
1774 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBilinear()
1775 const gdFixed f_1 = gd_itofx(1); in gdImageRotateBilinear()
1799 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBilinear()
1800 const gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateBilinear()
1801 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBilinear()
1802 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBilinear()
1807 const gdFixed f_f = f_m - gd_itofx(m); in gdImageRotateBilinear()
1808 const gdFixed f_g = f_n - gd_itofx(n); in gdImageRotateBilinear()
1809 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageRotateBilinear()
1810 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageRotateBilinear()
1811 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageRotateBilinear()
1812 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageRotateBilinear()
1841 const gdFixed f_r1 = gd_itofx(gdTrueColorGetRed(pixel1)); in gdImageRotateBilinear()
1842 const gdFixed f_r2 = gd_itofx(gdTrueColorGetRed(pixel2)); in gdImageRotateBilinear()
1843 const gdFixed f_r3 = gd_itofx(gdTrueColorGetRed(pixel3)); in gdImageRotateBilinear()
1844 const gdFixed f_r4 = gd_itofx(gdTrueColorGetRed(pixel4)); in gdImageRotateBilinear()
1845 const gdFixed f_g1 = gd_itofx(gdTrueColorGetGreen(pixel1)); in gdImageRotateBilinear()
1846 const gdFixed f_g2 = gd_itofx(gdTrueColorGetGreen(pixel2)); in gdImageRotateBilinear()
1847 const gdFixed f_g3 = gd_itofx(gdTrueColorGetGreen(pixel3)); in gdImageRotateBilinear()
1848 const gdFixed f_g4 = gd_itofx(gdTrueColorGetGreen(pixel4)); in gdImageRotateBilinear()
1849 const gdFixed f_b1 = gd_itofx(gdTrueColorGetBlue(pixel1)); in gdImageRotateBilinear()
1850 const gdFixed f_b2 = gd_itofx(gdTrueColorGetBlue(pixel2)); in gdImageRotateBilinear()
1851 const gdFixed f_b3 = gd_itofx(gdTrueColorGetBlue(pixel3)); in gdImageRotateBilinear()
1852 const gdFixed f_b4 = gd_itofx(gdTrueColorGetBlue(pixel4)); in gdImageRotateBilinear()
1853 const gdFixed f_a1 = gd_itofx(gdTrueColorGetAlpha(pixel1)); in gdImageRotateBilinear()
1854 const gdFixed f_a2 = gd_itofx(gdTrueColorGetAlpha(pixel2)); in gdImageRotateBilinear()
1855 const gdFixed f_a3 = gd_itofx(gdTrueColorGetAlpha(pixel3)); in gdImageRotateBilinear()
1856 const gdFixed f_a4 = gd_itofx(gdTrueColorGetAlpha(pixel4)); in gdImageRotateBilinear()
1857 …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()
1858 …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()
1859 …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()
1860 …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()
1885 const gdFixed f_0_5 = gd_ftofx(0.5f); in gdImageRotateBicubicFixed()
1886 const gdFixed f_H = gd_itofx(src_h/2); in gdImageRotateBicubicFixed()
1887 const gdFixed f_W = gd_itofx(src_w/2); in gdImageRotateBicubicFixed()
1888 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBicubicFixed()
1889 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBicubicFixed()
1890 const gdFixed f_1 = gd_itofx(1); in gdImageRotateBicubicFixed()
1891 const gdFixed f_2 = gd_itofx(2); in gdImageRotateBicubicFixed()
1892 const gdFixed f_4 = gd_itofx(4); in gdImageRotateBicubicFixed()
1893 const gdFixed f_6 = gd_itofx(6); in gdImageRotateBicubicFixed()
1894 const gdFixed f_gama = gd_ftofx(1.04f); in gdImageRotateBicubicFixed()
1917 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBicubicFixed()
1918 const gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateBicubicFixed()
1919 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBicubicFixed()
1920 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBicubicFixed()
1925 const gdFixed f_f = f_m - gd_itofx(m); in gdImageRotateBicubicFixed()
1926 const gdFixed f_g = f_n - gd_itofx(n); in gdImageRotateBicubicFixed()
1929 gdFixed f_red=0, f_green=0, f_blue=0, f_alpha=0; in gdImageRotateBicubicFixed()
2050 const gdFixed f = gd_itofx(k)-f_f; in gdImageRotateBicubicFixed()
2051 const gdFixed f_fm1 = f - f_1; in gdImageRotateBicubicFixed()
2052 const gdFixed f_fp1 = f + f_1; in gdImageRotateBicubicFixed()
2053 const gdFixed f_fp2 = f + f_2; in gdImageRotateBicubicFixed()
2054 gdFixed f_a = 0, f_b = 0,f_c = 0, f_d = 0; in gdImageRotateBicubicFixed()
2055 gdFixed f_RY; in gdImageRotateBicubicFixed()
2076 const gdFixed f = gd_itofx(l) - f_g; in gdImageRotateBicubicFixed()
2077 const gdFixed f_fm1 = f - f_1; in gdImageRotateBicubicFixed()
2078 const gdFixed f_fp1 = f + f_1; in gdImageRotateBicubicFixed()
2079 const gdFixed f_fp2 = f + f_2; in gdImageRotateBicubicFixed()
2080 gdFixed f_a = 0, f_b = 0, f_c = 0, f_d = 0; in gdImageRotateBicubicFixed()
2081 gdFixed f_RX, f_R; in gdImageRotateBicubicFixed()
2083 register gdFixed f_rs, f_gs, f_bs, f_as; in gdImageRotateBicubicFixed()
2108 gdFixed f_127 = gd_itofx(127); in gdImageRotateBicubicFixed()