| /linux/Documentation/fb/ |
| H A D | api.rst | 52 bits_per_pixel, grayscale, red, green, blue and transp fields. 89 stored in the variable screen information grayscale field. 142 identifier stored in the variable screen information grayscale field. 191 __u32 grayscale; /* 0 = color, 1 = grayscale, */ 240 for applications when using RGB and grayscale formats, as well as legacy 245 monochrome, grayscale or pseudocolor visuals, although this is not required. 247 - For grayscale formats, applications set the grayscale field to one. The red, 252 - For pseudocolor formats, applications set the grayscale field to zero. The 257 - For truecolor and directcolor formats, applications set the grayscale field 285 and grayscale formats. [all …]
|
| H A D | cmap_xfbdev.rst | 7 - example of relevant structures in fbdev as used for a 3-bit grayscale cmap:: 11 .grayscale = 1, 24 - X11 apps do something like the following when trying to use grayscale::
|
| H A D | internals.rst | 82 Grayscale displays 84 Grayscale and static grayscale are special variants of pseudo color and static
|
| H A D | matroxfb.rst | 215 grayscale enable grayscale summing. It works in PSEUDOCOLOR modes (text, 219 nograyscale disable grayscale summing. It is default.
|
| /linux/drivers/video/fbdev/ |
| H A D | ocfb.c | 144 if (!var->grayscale) in ocfb_setupfb() 186 if (info->var.grayscale) { in ocfb_setcolreg() 187 /* grayscale = 0.30*R + 0.59*G + 0.11*B */ in ocfb_setcolreg() 196 if (info->var.bits_per_pixel == 8 && !info->var.grayscale) { in ocfb_setcolreg() 222 if (var->bits_per_pixel == 8 && !var->grayscale) in ocfb_init_fix()
|
| H A D | stifb.c | 26 * HPA1924A known as "GRX", a 1280x1024 grayscale device with 8 planes 31 * HP710G same as HP710C, 1280x1024 grayscale only 938 var->grayscale = fb->info->var.grayscale; in stifb_check_var() 964 if (unlikely(fb->info->var.grayscale)) { in stifb_setcolreg() 1256 case S9000_ID_ELM: /* GRX, grayscale but else same as A1659A */ in stifb_init_fb() 1257 var->grayscale = 1; in stifb_init_fb() 1260 case S9000_ID_TIMBER: /* HP9000/710 Any (may be a grayscale device) */ in stifb_init_fb() 1261 if (strstr(dev_name, "GRAYSCALE") || in stifb_init_fb() 1262 strstr(dev_name, "Grayscale") || in stifb_init_fb() 1263 strstr(dev_name, "grayscale")) in stifb_init_fb() [all …]
|
| H A D | sh7760fb.c | 181 if ((var->grayscale) && (var->bits_per_pixel == 1)) in sh7760fb_check_var() 195 * NOTE: The rotation, grayscale and DSTN codepaths are 232 vdln, bpp, gray ? "grayscale" : "color", in sh7760fb_set_par() 394 if (info->var.grayscale) { in sh7760fb_alloc_mem()
|
| H A D | 68328fb.c | 284 /* grayscale works only partially under directcolor */ in mc68x328fb_setcolreg() 285 if (info->var.grayscale) { in mc68x328fb_setcolreg() 286 /* grayscale = 0.30*R + 0.59*G + 0.11*B */ in mc68x328fb_setcolreg()
|
| H A D | vfb.c | 275 /* grayscale works only partially under directcolor */ in vfb_setcolreg() 276 if (info->var.grayscale) { in vfb_setcolreg() 277 /* grayscale = 0.30*R + 0.59*G + 0.11*B */ in vfb_setcolreg()
|
| H A D | xilinxfb.c | 205 if (fbi->var.grayscale) { in xilinx_fb_setcolreg() 206 /* Convert color to grayscale. in xilinx_fb_setcolreg() 207 * grayscale = 0.30*R + 0.59*G + 0.11*B in xilinx_fb_setcolreg()
|
| H A D | gbefb.c | 96 .grayscale = 0, 127 .grayscale = 0, 921 var->grayscale = 0; /* No grayscale for now */ in gbefb_check_var() 940 /* No grayscale for now */ in gbefb_check_var() 941 var->grayscale = 0; in gbefb_check_var()
|
| H A D | goldfishfb.c | 110 (var->grayscale != info->var.grayscale)) { in goldfish_fb_check_var()
|
| H A D | pmag-aa-fb.c | 76 .grayscale = 1,
|
| H A D | skeletonfb.c | 293 /* grayscale works only partially under directcolor */ in xxxfb_setcolreg() 294 if (info->var.grayscale) { in xxxfb_setcolreg() 295 /* grayscale = 0.30*R + 0.59*G + 0.11*B */ in xxxfb_setcolreg()
|
| H A D | wm8505fb.c | 201 if (info->var.grayscale) in wm8505fb_setcolreg()
|
| H A D | s1d13xxxfb.c | 276 if (info->var.grayscale) in s1d13xxxfb_setcolreg() 719 var->grayscale = !is_color; in s1d13xxxfb_fetch_hw_state()
|
| /linux/drivers/staging/fbtft/ |
| H A D | fb_ssd1325.c | 93 * Grayscale Lookup Table 108 "Illegal value in Grayscale Lookup Table at index %d.\n" in set_gamma() 114 "Illegal value(s) in Grayscale Lookup Table.\n" in set_gamma()
|
| H A D | fb_ssd1331.c | 111 * Grayscale Lookup Table 139 "Illegal value in Grayscale Lookup Table at index %d. Must be greater than 1\n", in set_gamma() 147 …"Illegal value(s) in Grayscale Lookup Table. At index=%d, the accumulated value has exceeded 180\n… in set_gamma()
|
| H A D | fb_uc1611.c | 5 * The display is 4-bit grayscale (16 shades) 240x160. 102 /* Set 4-bit grayscale mode */ in init_display() 148 par->info->var.grayscale = 1; in set_var()
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | raspberrypi,pispbe.yaml | 15 processor that fetches images in Bayer or Grayscale format from DRAM memory
|
| /linux/drivers/video/logo/ |
| H A D | pnmtologo.c | 28 #define LINUX_LOGO_GRAY256 4 /* 256 levels grayscale */ 399 die("Image must be grayscale\n"); in write_logo_gray256() 437 " gray256 : 256 levels grayscale\n" in usage()
|
| /linux/drivers/video/fbdev/geode/ |
| H A D | lxfb_core.c | 294 if (info->var.grayscale) { in lxfb_setcolreg() 295 /* grayscale = 0.30*R + 0.59*G + 0.11*B */ in lxfb_setcolreg() 441 info->var.grayscale = 0; in lxfb_init_fbinfo()
|
| /linux/include/uapi/linux/ |
| H A D | fb.h | 252 __u32 grayscale; /* 0 = color, 1 = grayscale, */ member
|
| /linux/drivers/hid/ |
| H A D | hid-picolcd_fb.c | 66 .grayscale = 1, 311 /* only allow 1/8 bit depth (8-bit is grayscale) */ in picolcd_fb_check_var()
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fbcon.c | 348 * is grayscale. However, simply dividing the values by 4 in get_color() 351 * colors to a sane 4-level grayscale. in get_color() 978 disp->grayscale = var->grayscale; in var_to_display() 1002 var->grayscale = disp->grayscale; in display_to_var()
|