Home
last modified time | relevance | path

Searched refs:grayscale (Results 1 – 25 of 54) sorted by relevance

123

/linux/Documentation/fb/
H A Dapi.rst52 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 Dcmap_xfbdev.rst7 - 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 Dinternals.rst84 Grayscale and static grayscale are special variants of pseudo color and static
H A Dmatroxfb.rst215 grayscale enable grayscale summing. It works in PSEUDOCOLOR modes (text,
219 nograyscale disable grayscale summing. It is default.
/linux/drivers/video/fbdev/
H A Docfb.c144 if (!var->grayscale) in ocfb_setupfb()
186 if (info->var.grayscale) { 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 Dgoldfishfb.c110 (var->grayscale != info->var.grayscale)) { in goldfish_fb_check_var()
H A Dstifb.c938 var->grayscale = fb->info->var.grayscale; in stifb_check_var()
964 if (unlikely(fb->info->var.grayscale)) { in stifb_setcolreg()
1257 var->grayscale = 1; in stifb_init_fb()
1264 var->grayscale = 1; in stifb_init_fb()
H A Dgbefb.c96 .grayscale = 0,
127 .grayscale = 0,
921 var->grayscale = 0; /* No grayscale for now */ in gbefb_check_var()
941 var->grayscale = 0; in gbefb_check_var()
H A Dsh7760fb.c181 if ((var->grayscale) && (var->bits_per_pixel == 1)) in sh7760fb_check_var()
394 if (info->var.grayscale) { in sh7760fb_alloc_mem()
H A Dpmag-aa-fb.c76 .grayscale = 1,
H A Dsh_mobile_lcdcfb.c608 if (var->grayscale > 1) in sh_mobile_format_fourcc()
609 return var->grayscale; in sh_mobile_format_fourcc()
625 return var->grayscale > 1; in sh_mobile_format_is_fourcc()
1121 format = sh_mobile_format_info(var->grayscale); in __sh_mobile_lcdc_check_var()
1612 var->grayscale = ovl->format->fourcc; in sh_mobile_lcdc_overlay_fb_init()
2109 var->grayscale = ch->format->fourcc; in sh_mobile_lcdc_channel_fb_init()
H A Dskeletonfb.c294 if (info->var.grayscale) { in xxxfb_setcolreg()
H A Ds1d13xxxfb.c276 if (info->var.grayscale) in s1d13xxxfb_setcolreg()
719 var->grayscale = !is_color; in s1d13xxxfb_fetch_hw_state()
H A Dpxa168fb.c177 var->grayscale = 0; in set_mode()
491 if (info->var.grayscale) in pxa168fb_setcolreg()
H A Dxilinxfb.c205 if (fbi->var.grayscale) { in xilinx_fb_setcolreg()
H A Dclps711x-fb.c96 var->grayscale = var->bits_per_pixel > 1; in clps711x_fb_check_var()
H A D68328fb.c285 if (info->var.grayscale) { in mc68x328fb_setcolreg()
H A Dsa1100fb.c314 if (fbi->fb.var.grayscale) in sa1100fb_setcolreg()
1123 fbi->fb.var.grayscale = inf->cmap_greyscale; in sa1100fb_init_fbinfo()
/linux/drivers/video/fbdev/geode/
H A Dgx1fb_core.c160 if (info->var.grayscale) { in gx1fb_setcolreg()
298 info->var.grayscale = 0; in gx1fb_init_fbinfo()
H A Dlxfb_core.c294 if (info->var.grayscale) { in lxfb_setcolreg()
441 info->var.grayscale = 0; in lxfb_init_fbinfo()
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c663 if (minfo->fbcon.var.grayscale) { in matroxfb_setcolreg()
1258 static int grayscale; /* "matroxfb:grayscale" */ variable
1807 vesafb_defined.grayscale = grayscale; in initMatrox2()
2465 grayscale = value; in matroxfb_setup()
2567 module_param(grayscale, int, 0);
2568 MODULE_PARM_DESC(grayscale, "Sets display into grayscale. Works perfectly with paletized videomode …
/linux/include/uapi/linux/
H A Dfb.h252 __u32 grayscale; /* 0 = color, 1 = grayscale, */ member
/linux/drivers/staging/fbtft/
H A Dfb_uc1611.c148 par->info->var.grayscale = 1; in set_var()
/linux/drivers/video/fbdev/sis/
H A Dsis_main.h26 .grayscale = 0,
/linux/drivers/gpu/drm/
H A Ddrm_fb_helper.c948 var_1->grayscale == var_2->grayscale && in drm_fb_pixel_format_equal()
1111 if (var->grayscale > 0) in drm_fb_helper_check_var()

123