Lines Matching defs:rgb
142 } rgb[] = {
161 static int num_rgb = sizeof(rgb) / sizeof(struct rgb_color);
781 uch r1_min = rgb[bg[pat].rgb1_min].r;
782 uch g1_min = rgb[bg[pat].rgb1_min].g;
783 uch b1_min = rgb[bg[pat].rgb1_min].b;
784 uch r2_min = rgb[bg[pat].rgb2_min].r;
785 uch g2_min = rgb[bg[pat].rgb2_min].g;
786 uch b2_min = rgb[bg[pat].rgb2_min].b;
787 int r1_diff = rgb[bg[pat].rgb1_max].r - r1_min;
788 int g1_diff = rgb[bg[pat].rgb1_max].g - g1_min;
789 int b1_diff = rgb[bg[pat].rgb1_max].b - b1_min;
790 int r2_diff = rgb[bg[pat].rgb2_max].r - r2_min;
791 int g2_diff = rgb[bg[pat].rgb2_max].g - g2_min;
792 int b2_diff = rgb[bg[pat].rgb2_max].b - b2_min;
854 r1 = rgb[bg[pat].rgb1_max].r;
855 g1 = rgb[bg[pat].rgb1_max].g;
856 b1 = rgb[bg[pat].rgb1_max].b;
857 r2 = rgb[bg[pat].rgb2_max].r;
858 g2 = rgb[bg[pat].rgb2_max].g;
859 b2 = rgb[bg[pat].rgb2_max].b;