Lines Matching refs:src_offset_x
1410 unsigned int src_offset_x[16], src_offset_y[16]; in gdImageScaleBicubicFixed() local
1417 src_offset_x[0] = n; in gdImageScaleBicubicFixed()
1420 src_offset_x[0] = n - 1; in gdImageScaleBicubicFixed()
1424 src_offset_x[1] = n; in gdImageScaleBicubicFixed()
1428 src_offset_x[2] = n; in gdImageScaleBicubicFixed()
1431 src_offset_x[2] = n + 1; in gdImageScaleBicubicFixed()
1436 src_offset_x[3] = n; in gdImageScaleBicubicFixed()
1439 src_offset_x[3] = n + 1 + 1; in gdImageScaleBicubicFixed()
1444 src_offset_x[4] = n; in gdImageScaleBicubicFixed()
1447 src_offset_x[4] = n - 1; in gdImageScaleBicubicFixed()
1451 src_offset_x[5] = n; in gdImageScaleBicubicFixed()
1454 src_offset_x[6] = n; in gdImageScaleBicubicFixed()
1457 src_offset_x[6] = n + 1; in gdImageScaleBicubicFixed()
1462 src_offset_x[7] = n; in gdImageScaleBicubicFixed()
1465 src_offset_x[7] = n + 1 + 1; in gdImageScaleBicubicFixed()
1470 src_offset_x[8] = n; in gdImageScaleBicubicFixed()
1473 src_offset_x[8] = n - 1; in gdImageScaleBicubicFixed()
1477 src_offset_x[9] = n; in gdImageScaleBicubicFixed()
1481 src_offset_x[10] = n; in gdImageScaleBicubicFixed()
1484 src_offset_x[10] = n + 1; in gdImageScaleBicubicFixed()
1489 src_offset_x[11] = n; in gdImageScaleBicubicFixed()
1492 src_offset_x[11] = n + 1 + 1; in gdImageScaleBicubicFixed()
1497 src_offset_x[12] = n; in gdImageScaleBicubicFixed()
1500 src_offset_x[12] = n - 1; in gdImageScaleBicubicFixed()
1504 src_offset_x[13] = n; in gdImageScaleBicubicFixed()
1508 src_offset_x[14] = n; in gdImageScaleBicubicFixed()
1511 src_offset_x[14] = n + 1; in gdImageScaleBicubicFixed()
1516 src_offset_x[15] = n; in gdImageScaleBicubicFixed()
1519 src_offset_x[15] = n + 1 + 1; in gdImageScaleBicubicFixed()
1560 c = src->tpixels[*(src_offset_y + _k)][*(src_offset_x + _k)]; in gdImageScaleBicubicFixed()
1779 unsigned int src_offset_x, src_offset_y; in gdImageRotateBilinear() local
1815 src_offset_x = n; in gdImageRotateBilinear()
1820 src_offset_x = n + 1; in gdImageRotateBilinear()
1824 const int pixel1 = src->tpixels[src_offset_y][src_offset_x]; in gdImageRotateBilinear()
1831 } else if (src_offset_x + 1 >= src_w) { in gdImageRotateBilinear()
1836 pixel2 = src->tpixels[src_offset_y][src_offset_x + 1]; in gdImageRotateBilinear()
1837 pixel3 = src->tpixels[src_offset_y + 1][src_offset_x]; in gdImageRotateBilinear()
1838 pixel4 = src->tpixels[src_offset_y + 1][src_offset_x + 1]; in gdImageRotateBilinear()
1927 unsigned int src_offset_x[16], src_offset_y[16]; in gdImageRotateBicubicFixed() local
1933 src_offset_x[0] = n; in gdImageRotateBicubicFixed()
1936 src_offset_x[0] = n - 1; in gdImageRotateBicubicFixed()
1940 src_offset_x[1] = n; in gdImageRotateBicubicFixed()
1944 src_offset_x[2] = - 1; in gdImageRotateBicubicFixed()
1947 src_offset_x[2] = n + 1; in gdImageRotateBicubicFixed()
1952 src_offset_x[3] = - 1; in gdImageRotateBicubicFixed()
1955 src_offset_x[3] = n + 1 + 1; in gdImageRotateBicubicFixed()
1960 src_offset_x[4] = - 1; in gdImageRotateBicubicFixed()
1963 src_offset_x[4] = n - 1; in gdImageRotateBicubicFixed()
1967 src_offset_x[5] = n; in gdImageRotateBicubicFixed()
1970 src_offset_x[6] = - 1; in gdImageRotateBicubicFixed()
1973 src_offset_x[6] = n + 1; in gdImageRotateBicubicFixed()
1978 src_offset_x[7] = - 1; in gdImageRotateBicubicFixed()
1981 src_offset_x[7] = n + 1 + 1; in gdImageRotateBicubicFixed()
1986 src_offset_x[8] = - 1; in gdImageRotateBicubicFixed()
1989 src_offset_x[8] = n - 1; in gdImageRotateBicubicFixed()
1994 src_offset_x[9] = - 1; in gdImageRotateBicubicFixed()
1997 src_offset_x[9] = n; in gdImageRotateBicubicFixed()
2002 src_offset_x[10] = - 1; in gdImageRotateBicubicFixed()
2005 src_offset_x[10] = n + 1; in gdImageRotateBicubicFixed()
2010 src_offset_x[11] = - 1; in gdImageRotateBicubicFixed()
2013 src_offset_x[11] = n + 1 + 1; in gdImageRotateBicubicFixed()
2018 src_offset_x[12] = - 1; in gdImageRotateBicubicFixed()
2021 src_offset_x[12] = n - 1; in gdImageRotateBicubicFixed()
2026 src_offset_x[13] = - 1; in gdImageRotateBicubicFixed()
2029 src_offset_x[13] = n; in gdImageRotateBicubicFixed()
2034 src_offset_x[14] = - 1; in gdImageRotateBicubicFixed()
2037 src_offset_x[14] = n + 1; in gdImageRotateBicubicFixed()
2042 src_offset_x[15] = - 1; in gdImageRotateBicubicFixed()
2045 src_offset_x[15] = n + 1 + 1; in gdImageRotateBicubicFixed()
2105 …if ((src_offset_x[_k] <= 0) || (src_offset_y[_k] <= 0) || (src_offset_y[_k] >= src_h) || (src_offs… in gdImageRotateBicubicFixed()
2107 …} else if ((src_offset_x[_k] <= 1) || (src_offset_y[_k] <= 1) || (src_offset_y[_k] >= (int)src_h -… in gdImageRotateBicubicFixed()
2109 c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; in gdImageRotateBicubicFixed()
2113 c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; in gdImageRotateBicubicFixed()
2332 register int x, y, src_offset_x, src_offset_y; in gdTransformAffineCopy() local
2382 src_offset_x = src_region->x; in gdTransformAffineCopy()
2391 …gdImageSetPixel(dst, dst_x + x, dst_y + y, getPixelInterpolated(src, src_offset_x + src_pt.x, src_… in gdTransformAffineCopy()
2417 *(tdst_p++) = getPixelInterpolated(src, src_offset_x + src_pt.x, src_offset_y + src_pt.y, -1); in gdTransformAffineCopy()
2419 *(dst_p++) = getPixelInterpolated(src, src_offset_x + src_pt.x, src_offset_y + src_pt.y, -1); in gdTransformAffineCopy()