Lines Matching refs:src_offset_x
1381 unsigned int src_offset_x[16], src_offset_y[16]; in gdImageScaleBicubicFixed() local
1388 src_offset_x[0] = n; in gdImageScaleBicubicFixed()
1391 src_offset_x[0] = n - 1; in gdImageScaleBicubicFixed()
1395 src_offset_x[1] = n; in gdImageScaleBicubicFixed()
1399 src_offset_x[2] = n; in gdImageScaleBicubicFixed()
1402 src_offset_x[2] = n + 1; in gdImageScaleBicubicFixed()
1407 src_offset_x[3] = n; in gdImageScaleBicubicFixed()
1410 src_offset_x[3] = n + 1 + 1; in gdImageScaleBicubicFixed()
1415 src_offset_x[4] = n; in gdImageScaleBicubicFixed()
1418 src_offset_x[4] = n - 1; in gdImageScaleBicubicFixed()
1422 src_offset_x[5] = n; in gdImageScaleBicubicFixed()
1425 src_offset_x[6] = n; in gdImageScaleBicubicFixed()
1428 src_offset_x[6] = n + 1; in gdImageScaleBicubicFixed()
1433 src_offset_x[7] = n; in gdImageScaleBicubicFixed()
1436 src_offset_x[7] = n + 1 + 1; in gdImageScaleBicubicFixed()
1441 src_offset_x[8] = n; in gdImageScaleBicubicFixed()
1444 src_offset_x[8] = n - 1; in gdImageScaleBicubicFixed()
1448 src_offset_x[9] = n; in gdImageScaleBicubicFixed()
1452 src_offset_x[10] = n; in gdImageScaleBicubicFixed()
1455 src_offset_x[10] = n + 1; in gdImageScaleBicubicFixed()
1460 src_offset_x[11] = n; in gdImageScaleBicubicFixed()
1463 src_offset_x[11] = n + 1 + 1; in gdImageScaleBicubicFixed()
1468 src_offset_x[12] = n; in gdImageScaleBicubicFixed()
1471 src_offset_x[12] = n - 1; in gdImageScaleBicubicFixed()
1475 src_offset_x[13] = n; in gdImageScaleBicubicFixed()
1479 src_offset_x[14] = n; in gdImageScaleBicubicFixed()
1482 src_offset_x[14] = n + 1; in gdImageScaleBicubicFixed()
1487 src_offset_x[15] = n; in gdImageScaleBicubicFixed()
1490 src_offset_x[15] = n + 1 + 1; in gdImageScaleBicubicFixed()
1531 c = src->tpixels[*(src_offset_y + _k)][*(src_offset_x + _k)]; in gdImageScaleBicubicFixed()
1750 unsigned int src_offset_x, src_offset_y; in gdImageRotateBilinear() local
1786 src_offset_x = n; in gdImageRotateBilinear()
1791 src_offset_x = n + 1; in gdImageRotateBilinear()
1795 const int pixel1 = src->tpixels[src_offset_y][src_offset_x]; in gdImageRotateBilinear()
1802 } else if (src_offset_x + 1 >= src_w) { in gdImageRotateBilinear()
1807 pixel2 = src->tpixels[src_offset_y][src_offset_x + 1]; in gdImageRotateBilinear()
1808 pixel3 = src->tpixels[src_offset_y + 1][src_offset_x]; in gdImageRotateBilinear()
1809 pixel4 = src->tpixels[src_offset_y + 1][src_offset_x + 1]; in gdImageRotateBilinear()
1898 unsigned int src_offset_x[16], src_offset_y[16]; in gdImageRotateBicubicFixed() local
1904 src_offset_x[0] = n; in gdImageRotateBicubicFixed()
1907 src_offset_x[0] = n - 1; in gdImageRotateBicubicFixed()
1911 src_offset_x[1] = n; in gdImageRotateBicubicFixed()
1915 src_offset_x[2] = - 1; in gdImageRotateBicubicFixed()
1918 src_offset_x[2] = n + 1; in gdImageRotateBicubicFixed()
1923 src_offset_x[3] = - 1; in gdImageRotateBicubicFixed()
1926 src_offset_x[3] = n + 1 + 1; in gdImageRotateBicubicFixed()
1931 src_offset_x[4] = - 1; in gdImageRotateBicubicFixed()
1934 src_offset_x[4] = n - 1; in gdImageRotateBicubicFixed()
1938 src_offset_x[5] = n; in gdImageRotateBicubicFixed()
1941 src_offset_x[6] = - 1; in gdImageRotateBicubicFixed()
1944 src_offset_x[6] = n + 1; in gdImageRotateBicubicFixed()
1949 src_offset_x[7] = - 1; in gdImageRotateBicubicFixed()
1952 src_offset_x[7] = n + 1 + 1; in gdImageRotateBicubicFixed()
1957 src_offset_x[8] = - 1; in gdImageRotateBicubicFixed()
1960 src_offset_x[8] = n - 1; in gdImageRotateBicubicFixed()
1965 src_offset_x[9] = - 1; in gdImageRotateBicubicFixed()
1968 src_offset_x[9] = n; in gdImageRotateBicubicFixed()
1973 src_offset_x[10] = - 1; in gdImageRotateBicubicFixed()
1976 src_offset_x[10] = n + 1; in gdImageRotateBicubicFixed()
1981 src_offset_x[11] = - 1; in gdImageRotateBicubicFixed()
1984 src_offset_x[11] = n + 1 + 1; in gdImageRotateBicubicFixed()
1989 src_offset_x[12] = - 1; in gdImageRotateBicubicFixed()
1992 src_offset_x[12] = n - 1; in gdImageRotateBicubicFixed()
1997 src_offset_x[13] = - 1; in gdImageRotateBicubicFixed()
2000 src_offset_x[13] = n; in gdImageRotateBicubicFixed()
2005 src_offset_x[14] = - 1; in gdImageRotateBicubicFixed()
2008 src_offset_x[14] = n + 1; in gdImageRotateBicubicFixed()
2013 src_offset_x[15] = - 1; in gdImageRotateBicubicFixed()
2016 src_offset_x[15] = n + 1 + 1; in gdImageRotateBicubicFixed()
2076 …if ((src_offset_x[_k] <= 0) || (src_offset_y[_k] <= 0) || (src_offset_y[_k] >= src_h) || (src_offs… in gdImageRotateBicubicFixed()
2078 …} else if ((src_offset_x[_k] <= 1) || (src_offset_y[_k] <= 1) || (src_offset_y[_k] >= (int)src_h -… in gdImageRotateBicubicFixed()
2080 c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; in gdImageRotateBicubicFixed()
2084 c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; in gdImageRotateBicubicFixed()
2303 register int x, y, src_offset_x, src_offset_y; in gdTransformAffineCopy() local
2353 src_offset_x = src_region->x; in gdTransformAffineCopy()
2362 …gdImageSetPixel(dst, dst_x + x, dst_y + y, getPixelInterpolated(src, src_offset_x + src_pt.x, src_… in gdTransformAffineCopy()
2388 *(tdst_p++) = getPixelInterpolated(src, src_offset_x + src_pt.x, src_offset_y + src_pt.y, -1); in gdTransformAffineCopy()
2390 *(dst_p++) = getPixelInterpolated(src, src_offset_x + src_pt.x, src_offset_y + src_pt.y, -1); in gdTransformAffineCopy()