Lines Matching refs:g
19 int i, r, g, b, a, clrBackR, clrBackG, clrBackB, clrBackA; in gdImageSkewX() local
50 g = (int)(gdImageGreen(src,pxlSrc) * dWeight); in gdImageSkewX()
54 pxlLeft = gdImageColorAllocateAlpha(src, r, g, b, a); in gdImageSkewX()
57 pxlLeft = gdImageColorClosestAlpha(src, r, g, b, a); in gdImageSkewX()
61 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewX()
69 if (g>255) { in gdImageSkewX()
70 g = 255; in gdImageSkewX()
84 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewX()
87 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewX()
116 int i, iYPos=0, r, g, b, a; in gdImageSkewY() local
130 g = (int)((double)gdImageGreen(src,clrBack) * dWeight); in gdImageSkewY()
134 pxlOldLeft = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
141 g = (int)((double)gdImageGreen(src,pxlSrc) * dWeight); in gdImageSkewY()
145 pxlLeft = gdImageColorAllocateAlpha(src, r, g, b, a); in gdImageSkewY()
148 pxlLeft = gdImageColorClosestAlpha(src, r, g, b, a); in gdImageSkewY()
152 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewY()
160 if (g>255) { in gdImageSkewY()
161 g = 255; in gdImageSkewY()
175 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
178 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewY()
204 int c,r,g,b,a; in gdImageRotate90() local
229 g = gdImageGreen(src,c); in gdImageRotate90()
232 c = gdTrueColorAlpha(r, g, b, a); in gdImageRotate90()
251 int c,r,g,b,a; in gdImageRotate180() local
276 g = gdImageGreen(src,c); in gdImageRotate180()
279 c = gdTrueColorAlpha(r, g, b, a); in gdImageRotate180()
299 int c,r,g,b,a; in gdImageRotate270() local
324 g = gdImageGreen(src,c); in gdImageRotate270()
327 c = gdTrueColorAlpha(r, g, b, a); in gdImageRotate270()