Lines Matching refs:g
23 int i, r, g, b, a, clrBackR, clrBackG, clrBackB, clrBackA; in gdImageSkewX() local
54 g = (int)(gdImageGreen(src,pxlSrc) * dWeight); in gdImageSkewX()
58 pxlLeft = gdImageColorAllocateAlpha(src, r, g, b, a); in gdImageSkewX()
61 pxlLeft = gdImageColorClosestAlpha(src, r, g, b, a); in gdImageSkewX()
65 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewX()
73 if (g>255) { in gdImageSkewX()
74 g = 255; in gdImageSkewX()
88 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewX()
91 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewX()
120 int i, iYPos=0, r, g, b, a; in gdImageSkewY() local
134 g = (int)((double)gdImageGreen(src,clrBack) * dWeight); in gdImageSkewY()
138 pxlOldLeft = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
145 g = (int)((double)gdImageGreen(src,pxlSrc) * dWeight); in gdImageSkewY()
149 pxlLeft = gdImageColorAllocateAlpha(src, r, g, b, a); in gdImageSkewY()
152 pxlLeft = gdImageColorClosestAlpha(src, r, g, b, a); in gdImageSkewY()
156 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewY()
164 if (g>255) { in gdImageSkewY()
165 g = 255; in gdImageSkewY()
179 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); in gdImageSkewY()
182 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); in gdImageSkewY()
208 int c,r,g,b,a; in gdImageRotate90() local
233 g = gdImageGreen(src,c); in gdImageRotate90()
236 c = gdTrueColorAlpha(r, g, b, a); in gdImageRotate90()
255 int c,r,g,b,a; in gdImageRotate180() local
280 g = gdImageGreen(src,c); in gdImageRotate180()
283 c = gdTrueColorAlpha(r, g, b, a); in gdImageRotate180()
303 int c,r,g,b,a; in gdImageRotate270() local
328 g = gdImageGreen(src,c); in gdImageRotate270()
331 c = gdTrueColorAlpha(r, g, b, a); in gdImageRotate270()