Lines Matching refs:bb
847 int i, j, rr, gg, bb, aa; in dump_image() local
866 bb = row[2]; in dump_image()
881 printf(" (%d %d %d)", rr, gg, bb); in dump_image()
884 printf(" (%d %d %d %d)", rr, gg, bb, aa); in dump_image()
904 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
927 bb = *row++; in analyze_image()
932 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
933 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image()
936 maxGrayDeviation, i, j, rr, gg, bb, aa)); in analyze_image()
941 if (rr != gg || rr != bb) { in analyze_image()
943 i, j, rr, gg, bb, aa)); in analyze_image()
952 i, j, rr, gg, bb, aa)); in analyze_image()
959 col = (uint32_t) ((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
1050 bb = *row++; in analyze_image()
1056 *out++ = (png_byte) (rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in analyze_image()