Lines Matching refs:gg
244 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
268 gg = *row++; in analyze_image()
273 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
274 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
279 rr, gg, bb, aa); in analyze_image()
285 if (rr != gg || rr != bb) { in analyze_image()
287 printf("Found a non-gray pixel at %d, %d = (%d %d %d %d)\n", i, j, rr, gg, bb, aa); in analyze_image()
297 printf("Found a non-opaque pixel at %d, %d = (%d %d %d %d)\n", i, j, rr, gg, bb, aa); in analyze_image()
305 col = (uint32_t)((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
402 gg = *row++; in analyze_image()
409 *out++ = (png_byte)(rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in analyze_image()