Lines Matching refs:bb
824 int i, j, rr, gg, bb, aa; in dump_image() local
844 bb = row[2]; 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
924 bb = 0; in analyze_image()
935 bb = *(row + 2); in analyze_image()
941 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
942 maxGrayDeviation = MAX(ABS(bb - rr), 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()
1122 bb = *row++; in analyze_image()
1128 *out++ = (png_byte) (rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in analyze_image()