Lines Matching refs:gdFixed
92 typedef long gdFixed; typedef
1084 const gdFixed f_dx = gd_ftofx(dx); in gdImageScaleNearestNeighbour()
1085 const gdFixed f_dy = gd_ftofx(dy); in gdImageScaleNearestNeighbour()
1107 const gdFixed f_i = gd_itofx(i); in gdImageScaleNearestNeighbour()
1108 const gdFixed f_j = gd_itofx(j); in gdImageScaleNearestNeighbour()
1109 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1110 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1118 const gdFixed f_i = gd_itofx(i); in gdImageScaleNearestNeighbour()
1119 const gdFixed f_j = gd_itofx(j); in gdImageScaleNearestNeighbour()
1120 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleNearestNeighbour()
1121 const gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleNearestNeighbour()
1139 gdFixed f_dx = gd_ftofx(dx); in gdImageScaleBilinearPalette()
1140 gdFixed f_dy = gd_ftofx(dy); in gdImageScaleBilinearPalette()
1141 gdFixed f_1 = gd_itofx(1); in gdImageScaleBilinearPalette()
1167 const gdFixed f_i = gd_itofx(i); in gdImageScaleBilinearPalette()
1168 const gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearPalette()
1175 gdFixed f_j = gd_itofx(j); in gdImageScaleBilinearPalette()
1176 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearPalette()
1179 gdFixed f_f = f_a - gd_itofx(m); in gdImageScaleBilinearPalette()
1180 gdFixed f_g = f_b - gd_itofx(n); in gdImageScaleBilinearPalette()
1182 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1183 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearPalette()
1184 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearPalette()
1185 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearPalette()
1190 register gdFixed f_r1, f_r2, f_r3, f_r4, in gdImageScaleBilinearPalette()
1241 gdFixed f_dx = gd_ftofx(dx); in gdImageScaleBilinearTC()
1242 gdFixed f_dy = gd_ftofx(dy); in gdImageScaleBilinearTC()
1243 gdFixed f_1 = gd_itofx(1); in gdImageScaleBilinearTC()
1264 gdFixed f_i = gd_itofx(i); in gdImageScaleBilinearTC()
1265 gdFixed f_j = gd_itofx(j); in gdImageScaleBilinearTC()
1266 gdFixed f_a = gd_mulfx(f_i, f_dy); in gdImageScaleBilinearTC()
1267 gdFixed f_b = gd_mulfx(f_j, f_dx); in gdImageScaleBilinearTC()
1270 gdFixed f_f = f_a - gd_itofx(m); in gdImageScaleBilinearTC()
1271 gdFixed f_g = f_b - gd_itofx(n); in gdImageScaleBilinearTC()
1273 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageScaleBilinearTC()
1274 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageScaleBilinearTC()
1275 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageScaleBilinearTC()
1276 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageScaleBilinearTC()
1281 register gdFixed f_r1, f_r2, f_r3, f_r4, in gdImageScaleBilinearTC()
1339 const gdFixed f_dx = gd_ftofx((float)src_w / (float)new_width); in gdImageScaleBicubicFixed()
1340 const gdFixed f_dy = gd_ftofx((float)src_h / (float)new_height); in gdImageScaleBicubicFixed()
1341 const gdFixed f_1 = gd_itofx(1); in gdImageScaleBicubicFixed()
1342 const gdFixed f_2 = gd_itofx(2); in gdImageScaleBicubicFixed()
1343 const gdFixed f_4 = gd_itofx(4); in gdImageScaleBicubicFixed()
1344 const gdFixed f_6 = gd_itofx(6); in gdImageScaleBicubicFixed()
1345 const gdFixed f_gamma = gd_ftofx(1.04f); in gdImageScaleBicubicFixed()
1375 const gdFixed f_a = gd_mulfx(gd_itofx(i), f_dy); in gdImageScaleBicubicFixed()
1376 const gdFixed f_b = gd_mulfx(gd_itofx(j), f_dx); in gdImageScaleBicubicFixed()
1379 const gdFixed f_f = f_a - gd_itofx(m); in gdImageScaleBicubicFixed()
1380 const gdFixed f_g = f_b - gd_itofx(n); in gdImageScaleBicubicFixed()
1383 register gdFixed f_red = 0, f_green = 0, f_blue = 0, f_alpha = 0; in gdImageScaleBicubicFixed()
1495 const gdFixed f = gd_itofx(k)-f_f; in gdImageScaleBicubicFixed()
1496 const gdFixed f_fm1 = f - f_1; in gdImageScaleBicubicFixed()
1497 const gdFixed f_fp1 = f + f_1; in gdImageScaleBicubicFixed()
1498 const gdFixed f_fp2 = f + f_2; in gdImageScaleBicubicFixed()
1499 register gdFixed f_a = 0, f_b = 0, f_d = 0, f_c = 0; in gdImageScaleBicubicFixed()
1500 register gdFixed f_RY; in gdImageScaleBicubicFixed()
1511 const gdFixed f = gd_itofx(l) - f_g; in gdImageScaleBicubicFixed()
1512 const gdFixed f_fm1 = f - f_1; in gdImageScaleBicubicFixed()
1513 const gdFixed f_fp1 = f + f_1; in gdImageScaleBicubicFixed()
1514 const gdFixed f_fp2 = f + f_2; in gdImageScaleBicubicFixed()
1515 register gdFixed f_a = 0, f_b = 0, f_c = 0, f_d = 0; in gdImageScaleBicubicFixed()
1516 register gdFixed f_RX, f_R, f_rs, f_gs, f_bs, f_ba; in gdImageScaleBicubicFixed()
1617 const gdFixed f_0_5 = gd_ftofx(0.5f); in gdImageRotateNearestNeighbour()
1618 const gdFixed f_H = gd_itofx(src_h/2); in gdImageRotateNearestNeighbour()
1619 const gdFixed f_W = gd_itofx(src_w/2); in gdImageRotateNearestNeighbour()
1620 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateNearestNeighbour()
1621 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateNearestNeighbour()
1647 gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateNearestNeighbour()
1648 gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateNearestNeighbour()
1649 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateNearestNeighbour()
1650 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateNearestNeighbour()
1674 const gdFixed f_0_5 = gd_ftofx(0.5f); in gdImageRotateGeneric()
1675 const gdFixed f_H = gd_itofx(src_h/2); in gdImageRotateGeneric()
1676 const gdFixed f_W = gd_itofx(src_w/2); in gdImageRotateGeneric()
1677 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateGeneric()
1678 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateGeneric()
1687 const gdFixed f_slop_y = f_sin; in gdImageRotateGeneric()
1688 const gdFixed f_slop_x = f_cos; in gdImageRotateGeneric()
1689 const gdFixed f_slop = f_slop_x > 0 && f_slop_y > 0 ? in gdImageRotateGeneric()
1712 gdFixed f_i = gd_itofx((int)i - (int)new_height/ 2); in gdImageRotateGeneric()
1713 gdFixed f_j = gd_itofx((int)j - (int)new_width / 2); in gdImageRotateGeneric()
1714 gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateGeneric()
1715 gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateGeneric()
1741 const gdFixed f_0_5 = gd_ftofx(0.5f); in gdImageRotateBilinear()
1742 const gdFixed f_H = gd_itofx(src_h/2); in gdImageRotateBilinear()
1743 const gdFixed f_W = gd_itofx(src_w/2); in gdImageRotateBilinear()
1744 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBilinear()
1745 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBilinear()
1746 const gdFixed f_1 = gd_itofx(1); in gdImageRotateBilinear()
1770 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBilinear()
1771 const gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateBilinear()
1772 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBilinear()
1773 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBilinear()
1778 const gdFixed f_f = f_m - gd_itofx(m); in gdImageRotateBilinear()
1779 const gdFixed f_g = f_n - gd_itofx(n); in gdImageRotateBilinear()
1780 const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); in gdImageRotateBilinear()
1781 const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); in gdImageRotateBilinear()
1782 const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); in gdImageRotateBilinear()
1783 const gdFixed f_w4 = gd_mulfx(f_f, f_g); in gdImageRotateBilinear()
1812 const gdFixed f_r1 = gd_itofx(gdTrueColorGetRed(pixel1)); in gdImageRotateBilinear()
1813 const gdFixed f_r2 = gd_itofx(gdTrueColorGetRed(pixel2)); in gdImageRotateBilinear()
1814 const gdFixed f_r3 = gd_itofx(gdTrueColorGetRed(pixel3)); in gdImageRotateBilinear()
1815 const gdFixed f_r4 = gd_itofx(gdTrueColorGetRed(pixel4)); in gdImageRotateBilinear()
1816 const gdFixed f_g1 = gd_itofx(gdTrueColorGetGreen(pixel1)); in gdImageRotateBilinear()
1817 const gdFixed f_g2 = gd_itofx(gdTrueColorGetGreen(pixel2)); in gdImageRotateBilinear()
1818 const gdFixed f_g3 = gd_itofx(gdTrueColorGetGreen(pixel3)); in gdImageRotateBilinear()
1819 const gdFixed f_g4 = gd_itofx(gdTrueColorGetGreen(pixel4)); in gdImageRotateBilinear()
1820 const gdFixed f_b1 = gd_itofx(gdTrueColorGetBlue(pixel1)); in gdImageRotateBilinear()
1821 const gdFixed f_b2 = gd_itofx(gdTrueColorGetBlue(pixel2)); in gdImageRotateBilinear()
1822 const gdFixed f_b3 = gd_itofx(gdTrueColorGetBlue(pixel3)); in gdImageRotateBilinear()
1823 const gdFixed f_b4 = gd_itofx(gdTrueColorGetBlue(pixel4)); in gdImageRotateBilinear()
1824 const gdFixed f_a1 = gd_itofx(gdTrueColorGetAlpha(pixel1)); in gdImageRotateBilinear()
1825 const gdFixed f_a2 = gd_itofx(gdTrueColorGetAlpha(pixel2)); in gdImageRotateBilinear()
1826 const gdFixed f_a3 = gd_itofx(gdTrueColorGetAlpha(pixel3)); in gdImageRotateBilinear()
1827 const gdFixed f_a4 = gd_itofx(gdTrueColorGetAlpha(pixel4)); in gdImageRotateBilinear()
1828 …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()
1829 …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()
1830 …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()
1831 …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()
1856 const gdFixed f_0_5 = gd_ftofx(0.5f); in gdImageRotateBicubicFixed()
1857 const gdFixed f_H = gd_itofx(src_h/2); in gdImageRotateBicubicFixed()
1858 const gdFixed f_W = gd_itofx(src_w/2); in gdImageRotateBicubicFixed()
1859 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBicubicFixed()
1860 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBicubicFixed()
1861 const gdFixed f_1 = gd_itofx(1); in gdImageRotateBicubicFixed()
1862 const gdFixed f_2 = gd_itofx(2); in gdImageRotateBicubicFixed()
1863 const gdFixed f_4 = gd_itofx(4); in gdImageRotateBicubicFixed()
1864 const gdFixed f_6 = gd_itofx(6); in gdImageRotateBicubicFixed()
1865 const gdFixed f_gama = gd_ftofx(1.04f); in gdImageRotateBicubicFixed()
1888 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBicubicFixed()
1889 const gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateBicubicFixed()
1890 const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; in gdImageRotateBicubicFixed()
1891 const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; in gdImageRotateBicubicFixed()
1896 const gdFixed f_f = f_m - gd_itofx(m); in gdImageRotateBicubicFixed()
1897 const gdFixed f_g = f_n - gd_itofx(n); in gdImageRotateBicubicFixed()
1900 gdFixed f_red=0, f_green=0, f_blue=0, f_alpha=0; in gdImageRotateBicubicFixed()
2021 const gdFixed f = gd_itofx(k)-f_f; in gdImageRotateBicubicFixed()
2022 const gdFixed f_fm1 = f - f_1; in gdImageRotateBicubicFixed()
2023 const gdFixed f_fp1 = f + f_1; in gdImageRotateBicubicFixed()
2024 const gdFixed f_fp2 = f + f_2; in gdImageRotateBicubicFixed()
2025 gdFixed f_a = 0, f_b = 0,f_c = 0, f_d = 0; in gdImageRotateBicubicFixed()
2026 gdFixed f_RY; in gdImageRotateBicubicFixed()
2047 const gdFixed f = gd_itofx(l) - f_g; in gdImageRotateBicubicFixed()
2048 const gdFixed f_fm1 = f - f_1; in gdImageRotateBicubicFixed()
2049 const gdFixed f_fp1 = f + f_1; in gdImageRotateBicubicFixed()
2050 const gdFixed f_fp2 = f + f_2; in gdImageRotateBicubicFixed()
2051 gdFixed f_a = 0, f_b = 0, f_c = 0, f_d = 0; in gdImageRotateBicubicFixed()
2052 gdFixed f_RX, f_R; in gdImageRotateBicubicFixed()
2054 register gdFixed f_rs, f_gs, f_bs, f_as; in gdImageRotateBicubicFixed()
2079 gdFixed f_127 = gd_itofx(127); in gdImageRotateBicubicFixed()