Lines Matching refs:gg
824 int i, j, rr, gg, bb, aa; in dump_image() local
843 gg = row[1]; in dump_image()
856 printf(" (%d %d", rr, gg); in dump_image()
859 printf(" (%d %d %d)", rr, gg, bb); in dump_image()
862 printf(" (%d %d %d %d)", rr, gg, bb, aa); in dump_image()
882 int i, j, rr, gg, bb, aa, idx;; in analyze_image() local
923 gg = 0; in analyze_image()
934 gg = *(row + 1); in analyze_image()
940 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
941 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
946 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
952 if (rr != gg || rr != bb) { in analyze_image()
955 i, j, rr, gg, bb, aa); in analyze_image()
966 i, j, rr, gg, bb, aa); in analyze_image()
974 col = (uint32_t) ((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
1121 gg = *row++; in analyze_image()
1128 *out++ = (png_byte) (rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in analyze_image()