Lines Matching refs:pxlSrc
26 int pxlOldLeft, pxlLeft=0, pxlSrc; in gdImageSkewX() local
51 pxlSrc = f (src,i,uRow); in gdImageSkewX()
53 r = (int)(gdImageRed(src,pxlSrc) * dWeight); in gdImageSkewX()
54 g = (int)(gdImageGreen(src,pxlSrc) * dWeight); in gdImageSkewX()
55 b = (int)(gdImageBlue(src,pxlSrc) * dWeight); in gdImageSkewX()
56 a = (int)(gdImageAlpha(src,pxlSrc) * dWeight); in gdImageSkewX()
64 r = gdImageRed(src,pxlSrc) - (gdImageRed(src,pxlLeft) - gdImageRed(src,pxlOldLeft)); in gdImageSkewX()
65 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewX()
66 b = gdImageBlue(src,pxlSrc) - (gdImageBlue(src,pxlLeft) - gdImageBlue(src,pxlOldLeft)); in gdImageSkewX()
67 a = gdImageAlpha(src,pxlSrc) - (gdImageAlpha(src,pxlLeft) - gdImageAlpha(src,pxlOldLeft)); in gdImageSkewX()
85 if (ignoretransparent && pxlSrc == dst->transparent) { in gdImageSkewX()
86 pxlSrc = dst->transparent; in gdImageSkewX()
88 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewX()
90 if (pxlSrc == -1) { in gdImageSkewX()
91 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewX()
96 gdImageSetPixel (dst, i+iOffset, uRow, pxlSrc); in gdImageSkewX()
122 int pxlOldLeft, pxlLeft=0, pxlSrc; in gdImageSkewY() local
141 pxlSrc = f (src, uCol, i); in gdImageSkewY()
144 r = (int)((double)gdImageRed(src,pxlSrc) * dWeight); in gdImageSkewY()
145 g = (int)((double)gdImageGreen(src,pxlSrc) * dWeight); in gdImageSkewY()
146 b = (int)((double)gdImageBlue(src,pxlSrc) * dWeight); in gdImageSkewY()
147 a = (int)((double)gdImageAlpha(src,pxlSrc) * dWeight); in gdImageSkewY()
155 r = gdImageRed(src,pxlSrc) - (gdImageRed(src,pxlLeft) - gdImageRed(src,pxlOldLeft)); in gdImageSkewY()
156 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewY()
157 b = gdImageBlue(src,pxlSrc) - (gdImageBlue(src,pxlLeft) - gdImageBlue(src,pxlOldLeft)); in gdImageSkewY()
158 a = gdImageAlpha(src,pxlSrc) - (gdImageAlpha(src,pxlLeft) - gdImageAlpha(src,pxlOldLeft)); in gdImageSkewY()
176 if (ignoretransparent && pxlSrc == dst->transparent) { in gdImageSkewY()
177 pxlSrc = dst->transparent; in gdImageSkewY()
179 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
181 if (pxlSrc == -1) { in gdImageSkewY()
182 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewY()
187 gdImageSetPixel (dst, uCol, iYPos, pxlSrc); in gdImageSkewY()