HelenOS sources

RED               463 boot/genarch/src/ofw.c 			    255 - i, CLIP(BLUE(i) * 37), GREEN(i) * 85, CLIP(RED(i) * 37));
RED                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);
RED               149 kernel/genarch/src/fb/fb.c 	    (RED(rgb, 8) << 16) | (GREEN(rgb, 8) << 8) | (BLUE(rgb, 8)));
RED               155 kernel/genarch/src/fb/fb.c 	    (BLUE(rgb, 8) << 16) | (GREEN(rgb, 8) << 8) | (RED(rgb, 8)));
RED               160 kernel/genarch/src/fb/fb.c 	*((uint32_t *) dst) = host2uint32_t_be((RED(rgb, 8) << 24) |
RED               167 kernel/genarch/src/fb/fb.c 	    (GREEN(rgb,	8) << 16) | (RED(rgb, 8) << 8) | 0);
RED               172 kernel/genarch/src/fb/fb.c 	((uint8_t *) dst)[0] = RED(rgb, 8);
RED               181 kernel/genarch/src/fb/fb.c 	((uint8_t *) dst)[2] = RED(rgb, 8);
RED               186 kernel/genarch/src/fb/fb.c 	*((uint16_t *) dst) = host2uint16_t_be(RED(rgb, 5) << 10 |
RED               192 kernel/genarch/src/fb/fb.c 	*((uint16_t *) dst) = host2uint16_t_le(RED(rgb, 5) << 10 |
RED               198 kernel/genarch/src/fb/fb.c 	*((uint16_t *) dst) = host2uint16_t_be(RED(rgb, 5) << 11 |
RED               204 kernel/genarch/src/fb/fb.c 	*((uint16_t *) dst) = host2uint16_t_le(RED(rgb, 5) << 11 |
RED               228 kernel/genarch/src/fb/fb.c 	    ~((RED(rgb, 3) << 5) | (GREEN(rgb, 2) << 3) | BLUE(rgb, 3));
RED               189 uspace/app/terminal/terminal.c 	return termui_color_from_rgb(RED(pixel), GREEN(pixel), BLUE(pixel));
RED                74 uspace/drv/hid/usbhid/blink1/blink1.c 	report.arg0 = RED(pixel);
RED                49 uspace/lib/pixconv/pixconv.c 	    (ALPHA(pix) << 24) | (RED(pix) << 16) | (GREEN(pix) << 8) | (BLUE(pix)));
RED                55 uspace/lib/pixconv/pixconv.c 	    (ALPHA(pix) << 24) | (BLUE(pix) << 16) | (GREEN(pix) << 8) | (RED(pix)));
RED                61 uspace/lib/pixconv/pixconv.c 	    (RED(pix) << 24) | (GREEN(pix) << 16) | (BLUE(pix) << 8) | (ALPHA(pix)));
RED                67 uspace/lib/pixconv/pixconv.c 	    (BLUE(pix) << 24) | (GREEN(pix) << 16) | (RED(pix) << 8) | (ALPHA(pix)));
RED                73 uspace/lib/pixconv/pixconv.c 	    (RED(pix) << 16) | (GREEN(pix) << 8) | (BLUE(pix)));
RED                79 uspace/lib/pixconv/pixconv.c 	    (BLUE(pix) << 16) | (GREEN(pix) << 8) | (RED(pix)));
RED                85 uspace/lib/pixconv/pixconv.c 	    (RED(pix) << 24) | (GREEN(pix) << 16) | (BLUE(pix) << 8));
RED                91 uspace/lib/pixconv/pixconv.c 	    (BLUE(pix) << 24) | (GREEN(pix) << 16) | (RED(pix) << 8));
RED                96 uspace/lib/pixconv/pixconv.c 	((uint8_t *) dst)[0] = RED(pix);
RED               105 uspace/lib/pixconv/pixconv.c 	((uint8_t *) dst)[2] = RED(pix);
RED               111 uspace/lib/pixconv/pixconv.c 	    (NARROW(RED(pix), 5) << 10) | (NARROW(GREEN(pix), 5) << 5) | (NARROW(BLUE(pix), 5)));
RED               117 uspace/lib/pixconv/pixconv.c 	    (NARROW(RED(pix), 5) << 10) | (NARROW(GREEN(pix), 5) << 5) | (NARROW(BLUE(pix), 5)));
RED               123 uspace/lib/pixconv/pixconv.c 	    (NARROW(RED(pix), 5) << 11) | (NARROW(GREEN(pix), 6) << 5) | (NARROW(BLUE(pix), 5)));
RED               129 uspace/lib/pixconv/pixconv.c 	    (NARROW(RED(pix), 5) << 11) | (NARROW(GREEN(pix), 6) << 5) | (NARROW(BLUE(pix), 5)));
RED               135 uspace/lib/pixconv/pixconv.c 	    ~((NARROW(RED(pix), 3) << 5) | (NARROW(GREEN(pix), 2) << 3) | NARROW(BLUE(pix), 3));
RED               140 uspace/lib/pixconv/pixconv.c 	uint32_t red = RED(pix) * 5034375;
RED               156 uspace/lib/vt/src/vt100.c 			vt100_sgr5(vt, 48, 2, RED(attrs.val.rgb.bgcolor),
RED               159 uspace/lib/vt/src/vt100.c 			vt100_sgr5(vt, 38, 2, RED(attrs.val.rgb.fgcolor),
RED               165 uspace/lib/vt/src/vt100.c 			    ((RED(attrs.val.rgb.fgcolor) >= 0x80) ? COLOR_RED : 0) |
RED               170 uspace/lib/vt/src/vt100.c 			    ((RED(attrs.val.rgb.bgcolor) >= 0x80) ? COLOR_RED : 0) |
RED                93 uspace/srv/hid/output/port/ega.c 		    ((RED(attrs.val.rgb.fgcolor) >= 0x80) ? 0x40 : 0) |
RED                96 uspace/srv/hid/output/port/ega.c 		    ((RED(attrs.val.rgb.bgcolor) >= 0x80) ? 0x04 : 0) |
RED               237 uspace/srv/hid/rfb/rfb.c 		} else if (!free && RED(rfb->palette[i]) == RED(pixel) &&
RED               246 uspace/srv/hid/rfb/rfb.c 		rfb->palette[first_free_index] = PIXEL(255, RED(pixel), GREEN(pixel),
RED               261 uspace/srv/hid/rfb/rfb.c 	pix |= rfb_scale_channel(RED(pixel), pf->r_max) << pf->r_shift;
RED               330 uspace/srv/hid/rfb/rfb.c 		entries[i].red = 65535 * RED(rfb->palette[i]) / 255;
HelenOS homepage, sources at GitHub