Searched refs:col2 (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_crop.c28 static int gdColorMatch(gdImagePtr im, int col1, int col2, float threshold);
344 static int gdColorMatch(gdImagePtr im, int col1, int col2, float threshold) argument
346 const int dr = gdImageRed(im, col1) - gdImageRed(im, col2);
347 const int dg = gdImageGreen(im, col1) - gdImageGreen(im, col2);
348 const int db = gdImageBlue(im, col1) - gdImageBlue(im, col2);
349 const int da = gdImageAlpha(im, col1) - gdImageAlpha(im, col2);
363 static int colors_equal (const int col1, const in col2)

Completed in 2 milliseconds