Lines Matching refs:src_offset_x
1428 unsigned int src_offset_x[16], src_offset_y[16]; in gdImageScaleBicubicFixed() local
1435 src_offset_x[0] = n; in gdImageScaleBicubicFixed()
1438 src_offset_x[0] = n - 1; in gdImageScaleBicubicFixed()
1442 src_offset_x[1] = n; in gdImageScaleBicubicFixed()
1446 src_offset_x[2] = n; in gdImageScaleBicubicFixed()
1449 src_offset_x[2] = n + 1; in gdImageScaleBicubicFixed()
1454 src_offset_x[3] = n; in gdImageScaleBicubicFixed()
1457 src_offset_x[3] = n + 1 + 1; in gdImageScaleBicubicFixed()
1462 src_offset_x[4] = n; in gdImageScaleBicubicFixed()
1465 src_offset_x[4] = n - 1; in gdImageScaleBicubicFixed()
1469 src_offset_x[5] = n; in gdImageScaleBicubicFixed()
1472 src_offset_x[6] = n; in gdImageScaleBicubicFixed()
1475 src_offset_x[6] = n + 1; in gdImageScaleBicubicFixed()
1480 src_offset_x[7] = n; in gdImageScaleBicubicFixed()
1483 src_offset_x[7] = n + 1 + 1; in gdImageScaleBicubicFixed()
1488 src_offset_x[8] = n; in gdImageScaleBicubicFixed()
1491 src_offset_x[8] = n - 1; in gdImageScaleBicubicFixed()
1495 src_offset_x[9] = n; in gdImageScaleBicubicFixed()
1499 src_offset_x[10] = n; in gdImageScaleBicubicFixed()
1502 src_offset_x[10] = n + 1; in gdImageScaleBicubicFixed()
1507 src_offset_x[11] = n; in gdImageScaleBicubicFixed()
1510 src_offset_x[11] = n + 1 + 1; in gdImageScaleBicubicFixed()
1515 src_offset_x[12] = n; in gdImageScaleBicubicFixed()
1518 src_offset_x[12] = n - 1; in gdImageScaleBicubicFixed()
1522 src_offset_x[13] = n; in gdImageScaleBicubicFixed()
1526 src_offset_x[14] = n; in gdImageScaleBicubicFixed()
1529 src_offset_x[14] = n + 1; in gdImageScaleBicubicFixed()
1534 src_offset_x[15] = n; in gdImageScaleBicubicFixed()
1537 src_offset_x[15] = n + 1 + 1; in gdImageScaleBicubicFixed()
1578 c = src->tpixels[*(src_offset_y + _k)][*(src_offset_x + _k)]; in gdImageScaleBicubicFixed()
1799 unsigned int src_offset_x, src_offset_y; in gdImageRotateBilinear() local
1835 src_offset_x = n; in gdImageRotateBilinear()
1840 src_offset_x = n + 1; in gdImageRotateBilinear()
1844 const int pixel1 = src->tpixels[src_offset_y][src_offset_x]; in gdImageRotateBilinear()
1851 } else if (src_offset_x + 1 >= src_w) { in gdImageRotateBilinear()
1856 pixel2 = src->tpixels[src_offset_y][src_offset_x + 1]; in gdImageRotateBilinear()
1857 pixel3 = src->tpixels[src_offset_y + 1][src_offset_x]; in gdImageRotateBilinear()
1858 pixel4 = src->tpixels[src_offset_y + 1][src_offset_x + 1]; in gdImageRotateBilinear()
1947 unsigned int src_offset_x[16], src_offset_y[16]; in gdImageRotateBicubicFixed() local
1953 src_offset_x[0] = n; in gdImageRotateBicubicFixed()
1956 src_offset_x[0] = n - 1; in gdImageRotateBicubicFixed()
1960 src_offset_x[1] = n; in gdImageRotateBicubicFixed()
1964 src_offset_x[2] = - 1; in gdImageRotateBicubicFixed()
1967 src_offset_x[2] = n + 1; in gdImageRotateBicubicFixed()
1972 src_offset_x[3] = - 1; in gdImageRotateBicubicFixed()
1975 src_offset_x[3] = n + 1 + 1; in gdImageRotateBicubicFixed()
1980 src_offset_x[4] = - 1; in gdImageRotateBicubicFixed()
1983 src_offset_x[4] = n - 1; in gdImageRotateBicubicFixed()
1987 src_offset_x[5] = n; in gdImageRotateBicubicFixed()
1990 src_offset_x[6] = - 1; in gdImageRotateBicubicFixed()
1993 src_offset_x[6] = n + 1; in gdImageRotateBicubicFixed()
1998 src_offset_x[7] = - 1; in gdImageRotateBicubicFixed()
2001 src_offset_x[7] = n + 1 + 1; in gdImageRotateBicubicFixed()
2006 src_offset_x[8] = - 1; in gdImageRotateBicubicFixed()
2009 src_offset_x[8] = n - 1; in gdImageRotateBicubicFixed()
2014 src_offset_x[9] = - 1; in gdImageRotateBicubicFixed()
2017 src_offset_x[9] = n; in gdImageRotateBicubicFixed()
2022 src_offset_x[10] = - 1; in gdImageRotateBicubicFixed()
2025 src_offset_x[10] = n + 1; in gdImageRotateBicubicFixed()
2030 src_offset_x[11] = - 1; in gdImageRotateBicubicFixed()
2033 src_offset_x[11] = n + 1 + 1; in gdImageRotateBicubicFixed()
2038 src_offset_x[12] = - 1; in gdImageRotateBicubicFixed()
2041 src_offset_x[12] = n - 1; in gdImageRotateBicubicFixed()
2046 src_offset_x[13] = - 1; in gdImageRotateBicubicFixed()
2049 src_offset_x[13] = n; in gdImageRotateBicubicFixed()
2054 src_offset_x[14] = - 1; in gdImageRotateBicubicFixed()
2057 src_offset_x[14] = n + 1; in gdImageRotateBicubicFixed()
2062 src_offset_x[15] = - 1; in gdImageRotateBicubicFixed()
2065 src_offset_x[15] = n + 1 + 1; in gdImageRotateBicubicFixed()
2125 …if ((src_offset_x[_k] <= 0) || (src_offset_y[_k] <= 0) || (src_offset_y[_k] >= src_h) || (src_offs… in gdImageRotateBicubicFixed()
2127 …} else if ((src_offset_x[_k] <= 1) || (src_offset_y[_k] <= 1) || (src_offset_y[_k] >= (int)src_h -… in gdImageRotateBicubicFixed()
2129 c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; in gdImageRotateBicubicFixed()
2133 c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; in gdImageRotateBicubicFixed()
2352 register int x, y, src_offset_x, src_offset_y; in gdTransformAffineCopy() local
2402 src_offset_x = src_region->x; in gdTransformAffineCopy()
2411 …gdImageSetPixel(dst, dst_x + x, dst_y + y, getPixelInterpolated(src, src_offset_x + src_pt.x, src_… in gdTransformAffineCopy()
2429 *(dst_p++) = getPixelInterpolated(src, src_offset_x + src_pt.x, src_offset_y + src_pt.y, -1); in gdTransformAffineCopy()