Searched refs:colormap (Results 1 – 4 of 4) sorted by relevance
39 colormap. For example, Xfbdev hits the following:41 xc-011010/programs/Xserver/dix/colormap.c::
38 Device independent colormap information. You can get and set the colormap
124 Pixel values are encoded as indices into a colormap that stores red, green and125 blue components. The colormap is read-only for FB_VISUAL_STATIC_PSEUDOCOLOR
4528 unsigned char colormap[3*16]; in con_set_cmap() local4530 if (copy_from_user(colormap, arg, sizeof(colormap))) in con_set_cmap()4535 default_red[i] = colormap[k++]; in con_set_cmap()4536 default_grn[i] = colormap[k++]; in con_set_cmap()4537 default_blu[i] = colormap[k++]; in con_set_cmap()4557 unsigned char colormap[3*16]; in con_get_cmap() local4561 colormap[k++] = default_red[i]; in con_get_cmap()4562 colormap[k++] = default_grn[i]; in con_get_cmap()4563 colormap[k++] = default_blu[i]; in con_get_cmap()4567 if (copy_to_user(arg, colormap, sizeof(colormap))) in con_get_cmap()