HelenOS sources

GREEN             463 boot/genarch/src/ofw.c 			    255 - i, CLIP(BLUE(i) * 37), GREEN(i) * 85, CLIP(RED(i) * 37));
GREEN              40 contrib/tools/gen_vga323.c 		printf("\t.byte 0x%02x, 0x%02x, 0x%02x, 0x00\n", BLUE(i) * 9, GREEN(i) * 21, RED(i) * 9);
GREEN             149 kernel/genarch/src/fb/fb.c 	    (RED(rgb, 8) << 16) | (GREEN(rgb, 8) << 8) | (BLUE(rgb, 8)));
GREEN             155 kernel/genarch/src/fb/fb.c 	    (BLUE(rgb, 8) << 16) | (GREEN(rgb, 8) << 8) | (RED(rgb, 8)));
GREEN             161 kernel/genarch/src/fb/fb.c 	    (GREEN(rgb,	8) << 16) | (BLUE(rgb, 8) << 8) | 0);
GREEN             167 kernel/genarch/src/fb/fb.c 	    (GREEN(rgb,	8) << 16) | (RED(rgb, 8) << 8) | 0);
GREEN             173 kernel/genarch/src/fb/fb.c 	((uint8_t *) dst)[1] = GREEN(rgb, 8);
GREEN             180 kernel/genarch/src/fb/fb.c 	((uint8_t *) dst)[1] = GREEN(rgb, 8);
GREEN             187 kernel/genarch/src/fb/fb.c 	    GREEN(rgb, 5) << 5 | BLUE(rgb, 5));
GREEN             193 kernel/genarch/src/fb/fb.c 	    GREEN(rgb, 5) << 5 | BLUE(rgb, 5));
GREEN             199 kernel/genarch/src/fb/fb.c 	    GREEN(rgb, 6) << 5 | BLUE(rgb, 5));
GREEN             205 kernel/genarch/src/fb/fb.c 	    GREEN(rgb, 6) << 5 | BLUE(rgb, 5));
GREEN             228 kernel/genarch/src/fb/fb.c 	    ~((RED(rgb, 3) << 5) | (GREEN(rgb, 2) << 3) | BLUE(rgb, 3));
GREEN             189 uspace/app/terminal/terminal.c 	return termui_color_from_rgb(RED(pixel), GREEN(pixel), BLUE(pixel));
GREEN              75 uspace/drv/hid/usbhid/blink1/blink1.c 	report.arg1 = GREEN(pixel);
GREEN              49 uspace/lib/pixconv/pixconv.c 	    (ALPHA(pix) << 24) | (RED(pix) << 16) | (GREEN(pix) << 8) | (BLUE(pix)));
GREEN              55 uspace/lib/pixconv/pixconv.c 	    (ALPHA(pix) << 24) | (BLUE(pix) << 16) | (GREEN(pix) << 8) | (RED(pix)));
GREEN              61 uspace/lib/pixconv/pixconv.c 	    (RED(pix) << 24) | (GREEN(pix) << 16) | (BLUE(pix) << 8) | (ALPHA(pix)));
GREEN              67 uspace/lib/pixconv/pixconv.c 	    (BLUE(pix) << 24) | (GREEN(pix) << 16) | (RED(pix) << 8) | (ALPHA(pix)));
GREEN              73 uspace/lib/pixconv/pixconv.c 	    (RED(pix) << 16) | (GREEN(pix) << 8) | (BLUE(pix)));
GREEN              79 uspace/lib/pixconv/pixconv.c 	    (BLUE(pix) << 16) | (GREEN(pix) << 8) | (RED(pix)));
GREEN              85 uspace/lib/pixconv/pixconv.c 	    (RED(pix) << 24) | (GREEN(pix) << 16) | (BLUE(pix) << 8));
GREEN              91 uspace/lib/pixconv/pixconv.c 	    (BLUE(pix) << 24) | (GREEN(pix) << 16) | (RED(pix) << 8));
GREEN              97 uspace/lib/pixconv/pixconv.c 	((uint8_t *) dst)[1] = GREEN(pix);
GREEN             104 uspace/lib/pixconv/pixconv.c 	((uint8_t *) dst)[1] = GREEN(pix);
GREEN             111 uspace/lib/pixconv/pixconv.c 	    (NARROW(RED(pix), 5) << 10) | (NARROW(GREEN(pix), 5) << 5) | (NARROW(BLUE(pix), 5)));
GREEN             117 uspace/lib/pixconv/pixconv.c 	    (NARROW(RED(pix), 5) << 10) | (NARROW(GREEN(pix), 5) << 5) | (NARROW(BLUE(pix), 5)));
GREEN             123 uspace/lib/pixconv/pixconv.c 	    (NARROW(RED(pix), 5) << 11) | (NARROW(GREEN(pix), 6) << 5) | (NARROW(BLUE(pix), 5)));
GREEN             129 uspace/lib/pixconv/pixconv.c 	    (NARROW(RED(pix), 5) << 11) | (NARROW(GREEN(pix), 6) << 5) | (NARROW(BLUE(pix), 5)));
GREEN             135 uspace/lib/pixconv/pixconv.c 	    ~((NARROW(RED(pix), 3) << 5) | (NARROW(GREEN(pix), 2) << 3) | NARROW(BLUE(pix), 3));
GREEN             141 uspace/lib/pixconv/pixconv.c 	uint32_t green = GREEN(pix) * 9886846;
GREEN             157 uspace/lib/vt/src/vt100.c 			    GREEN(attrs.val.rgb.bgcolor),
GREEN             160 uspace/lib/vt/src/vt100.c 			    GREEN(attrs.val.rgb.fgcolor),
GREEN             166 uspace/lib/vt/src/vt100.c 			    ((GREEN(attrs.val.rgb.fgcolor) >= 0x80) ? COLOR_GREEN : 0) |
GREEN             171 uspace/lib/vt/src/vt100.c 			    ((GREEN(attrs.val.rgb.bgcolor) >= 0x80) ? COLOR_GREEN : 0) |
GREEN              94 uspace/srv/hid/output/port/ega.c 		    ((GREEN(attrs.val.rgb.fgcolor) >= 0x80) ? 0x20 : 0) |
GREEN              97 uspace/srv/hid/output/port/ega.c 		    ((GREEN(attrs.val.rgb.bgcolor) >= 0x80) ? 0x02 : 0) |
GREEN             238 uspace/srv/hid/rfb/rfb.c 		    GREEN(rfb->palette[i]) == GREEN(pixel) &&
GREEN             246 uspace/srv/hid/rfb/rfb.c 		rfb->palette[first_free_index] = PIXEL(255, RED(pixel), GREEN(pixel),
GREEN             262 uspace/srv/hid/rfb/rfb.c 	pix |= rfb_scale_channel(GREEN(pixel), pf->g_max) << pf->g_shift;
GREEN             331 uspace/srv/hid/rfb/rfb.c 		entries[i].green = 65535 * GREEN(rfb->palette[i]) / 255;
HelenOS homepage, sources at GitHub