Lines Matching defs:rgb
119 CieLab::CieLab(unsigned long rgb)
123 int ir = (rgb>>16) & 0xff;
124 int ig = (rgb>> 8) & 0xff;
125 int ib = (rgb ) & 0xff;
591 unsigned int rgb = getPixel(x, y);
592 //unsigned int alpha = (rgb>>24) & 0xff;
593 unsigned int r = ((rgb>>16) & 0xff);
594 unsigned int g = ((rgb>> 8) & 0xff);
595 unsigned int b = ((rgb ) & 0xff);
673 unsigned int rgb = getPixel(x, y);
674 p[0] = (rgb >> 16) & 0xff;//r
675 p[1] = (rgb >> 8) & 0xff;//g
676 p[2] = (rgb ) & 0xff;//b
679 p[3] = (rgb >> 24) & 0xff;//a
877 knownBg.push_back(lab); //note: uses CieLab(rgb)