Lines Matching refs:bb
824 int i, j, rr, gg, bb, aa; in dump_image() local
843 bb = row[2]; in dump_image()
858 printf(" (%d %d %d)", rr, gg, bb); in dump_image()
861 printf(" (%d %d %d %d)", rr, gg, bb, aa); in dump_image()
881 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
906 bb = *row++; in analyze_image()
911 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
912 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image()
916 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
922 if (rr != gg || rr != bb) { in analyze_image()
925 i, j, rr, gg, bb, aa); in analyze_image()
936 i, j, rr, gg, bb, aa); in analyze_image()
944 col = (uint32_t) ((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
1039 bb = *row++; in analyze_image()
1045 *out++ = (png_byte) (rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in analyze_image()