Lines Matching refs:src_offset_x
1508 unsigned int src_offset_x[16], src_offset_y[16]; in gdImageScaleBicubicFixed() local
1515 src_offset_x[0] = n; in gdImageScaleBicubicFixed()
1518 src_offset_x[0] = n - 1; in gdImageScaleBicubicFixed()
1522 src_offset_x[1] = n; in gdImageScaleBicubicFixed()
1526 src_offset_x[2] = n; in gdImageScaleBicubicFixed()
1529 src_offset_x[2] = n + 1; in gdImageScaleBicubicFixed()
1534 src_offset_x[3] = n; in gdImageScaleBicubicFixed()
1537 src_offset_x[3] = n + 1 + 1; in gdImageScaleBicubicFixed()
1542 src_offset_x[4] = n; in gdImageScaleBicubicFixed()
1545 src_offset_x[4] = n - 1; in gdImageScaleBicubicFixed()
1549 src_offset_x[5] = n; in gdImageScaleBicubicFixed()
1552 src_offset_x[6] = n; in gdImageScaleBicubicFixed()
1555 src_offset_x[6] = n + 1; in gdImageScaleBicubicFixed()
1560 src_offset_x[7] = n; in gdImageScaleBicubicFixed()
1563 src_offset_x[7] = n + 1 + 1; in gdImageScaleBicubicFixed()
1568 src_offset_x[8] = n; in gdImageScaleBicubicFixed()
1571 src_offset_x[8] = n - 1; in gdImageScaleBicubicFixed()
1575 src_offset_x[9] = n; in gdImageScaleBicubicFixed()
1579 src_offset_x[10] = n; in gdImageScaleBicubicFixed()
1582 src_offset_x[10] = n + 1; in gdImageScaleBicubicFixed()
1587 src_offset_x[11] = n; in gdImageScaleBicubicFixed()
1590 src_offset_x[11] = n + 1 + 1; in gdImageScaleBicubicFixed()
1595 src_offset_x[12] = n; in gdImageScaleBicubicFixed()
1598 src_offset_x[12] = n - 1; in gdImageScaleBicubicFixed()
1602 src_offset_x[13] = n; in gdImageScaleBicubicFixed()
1606 src_offset_x[14] = n; in gdImageScaleBicubicFixed()
1609 src_offset_x[14] = n + 1; in gdImageScaleBicubicFixed()
1614 src_offset_x[15] = n; in gdImageScaleBicubicFixed()
1617 src_offset_x[15] = n + 1 + 1; in gdImageScaleBicubicFixed()
1658 c = src->tpixels[*(src_offset_y + _k)][*(src_offset_x + _k)]; in gdImageScaleBicubicFixed()
1879 unsigned int src_offset_x, src_offset_y; in gdImageRotateBilinear() local
1915 src_offset_x = n; in gdImageRotateBilinear()
1920 src_offset_x = n + 1; in gdImageRotateBilinear()
1924 const int pixel1 = src->tpixels[src_offset_y][src_offset_x]; in gdImageRotateBilinear()
1931 } else if (src_offset_x + 1 >= src_w) { in gdImageRotateBilinear()
1936 pixel2 = src->tpixels[src_offset_y][src_offset_x + 1]; in gdImageRotateBilinear()
1937 pixel3 = src->tpixels[src_offset_y + 1][src_offset_x]; in gdImageRotateBilinear()
1938 pixel4 = src->tpixels[src_offset_y + 1][src_offset_x + 1]; in gdImageRotateBilinear()
2027 unsigned int src_offset_x[16], src_offset_y[16]; in gdImageRotateBicubicFixed() local
2033 src_offset_x[0] = n; in gdImageRotateBicubicFixed()
2036 src_offset_x[0] = n - 1; in gdImageRotateBicubicFixed()
2040 src_offset_x[1] = n; in gdImageRotateBicubicFixed()
2044 src_offset_x[2] = - 1; in gdImageRotateBicubicFixed()
2047 src_offset_x[2] = n + 1; in gdImageRotateBicubicFixed()
2052 src_offset_x[3] = - 1; in gdImageRotateBicubicFixed()
2055 src_offset_x[3] = n + 1 + 1; in gdImageRotateBicubicFixed()
2060 src_offset_x[4] = - 1; in gdImageRotateBicubicFixed()
2063 src_offset_x[4] = n - 1; in gdImageRotateBicubicFixed()
2067 src_offset_x[5] = n; in gdImageRotateBicubicFixed()
2070 src_offset_x[6] = - 1; in gdImageRotateBicubicFixed()
2073 src_offset_x[6] = n + 1; in gdImageRotateBicubicFixed()
2078 src_offset_x[7] = - 1; in gdImageRotateBicubicFixed()
2081 src_offset_x[7] = n + 1 + 1; in gdImageRotateBicubicFixed()
2086 src_offset_x[8] = - 1; in gdImageRotateBicubicFixed()
2089 src_offset_x[8] = n - 1; in gdImageRotateBicubicFixed()
2094 src_offset_x[9] = - 1; in gdImageRotateBicubicFixed()
2097 src_offset_x[9] = n; in gdImageRotateBicubicFixed()
2102 src_offset_x[10] = - 1; in gdImageRotateBicubicFixed()
2105 src_offset_x[10] = n + 1; in gdImageRotateBicubicFixed()
2110 src_offset_x[11] = - 1; in gdImageRotateBicubicFixed()
2113 src_offset_x[11] = n + 1 + 1; in gdImageRotateBicubicFixed()
2118 src_offset_x[12] = - 1; in gdImageRotateBicubicFixed()
2121 src_offset_x[12] = n - 1; in gdImageRotateBicubicFixed()
2126 src_offset_x[13] = - 1; in gdImageRotateBicubicFixed()
2129 src_offset_x[13] = n; in gdImageRotateBicubicFixed()
2134 src_offset_x[14] = - 1; in gdImageRotateBicubicFixed()
2137 src_offset_x[14] = n + 1; in gdImageRotateBicubicFixed()
2142 src_offset_x[15] = - 1; in gdImageRotateBicubicFixed()
2145 src_offset_x[15] = n + 1 + 1; in gdImageRotateBicubicFixed()
2205 …if ((src_offset_x[_k] <= 0) || (src_offset_y[_k] <= 0) || (src_offset_y[_k] >= src_h) || (src_offs… in gdImageRotateBicubicFixed()
2207 …} else if ((src_offset_x[_k] <= 1) || (src_offset_y[_k] <= 1) || (src_offset_y[_k] >= (int)src_h -… in gdImageRotateBicubicFixed()
2209 c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; in gdImageRotateBicubicFixed()
2213 c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; in gdImageRotateBicubicFixed()
2432 register int x, y, src_offset_x, src_offset_y; in gdTransformAffineCopy() local
2482 src_offset_x = src_region->x; in gdTransformAffineCopy()
2491 …gdImageSetPixel(dst, dst_x + x, dst_y + y, getPixelInterpolated(src, src_offset_x + src_pt.x, src_… in gdTransformAffineCopy()
2509 *(dst_p++) = getPixelInterpolated(src, src_offset_x + src_pt.x, src_offset_y + src_pt.y, -1); in gdTransformAffineCopy()