Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/include/linux/amba/
H A Dclcd.h53 grayscale:1; member
173 else if (!var->grayscale) /* STN color */ in clcdfb_decode()
185 if (var->grayscale) in clcdfb_decode()
266 if (var->grayscale != fb->fb.var.grayscale || in clcdfb_check()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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 Dgbefb.c95 .grayscale = 0,
126 .grayscale = 0,
922 var->grayscale = 0; /* No grayscale for now */ in gbefb_check_var()
942 var->grayscale = 0; in gbefb_check_var()
H A Dsh7760fb.c179 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.c615 if (var->grayscale > 1) in sh_mobile_format_fourcc()
616 return var->grayscale; in sh_mobile_format_fourcc()
632 return var->grayscale > 1; in sh_mobile_format_is_fourcc()
1128 format = sh_mobile_format_info(var->grayscale); in __sh_mobile_lcdc_check_var()
1618 var->grayscale = ovl->format->fourcc; in sh_mobile_lcdc_overlay_fb_init()
2111 var->grayscale = ch->format->fourcc; in sh_mobile_lcdc_channel_fb_init()
H A Dskeletonfb.c295 if (info->var.grayscale) { in xxxfb_setcolreg()
H A Dstifb.c942 if (unlikely(fb->info.var.grayscale)) { in stifb_setcolreg()
1231 var->grayscale = 1; in stifb_init_fb()
1238 var->grayscale = 1; in stifb_init_fb()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/pl111/
H A Dpl111_display.c130 bool grayscale = false; in pl111_display_enable() local
194 grayscale = true; in pl111_display_enable()
202 if (grayscale) in pl111_display_enable()
241 if (grayscale) in pl111_display_enable()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/geode/
H A Dgx1fb_core.c159 if (info->var.grayscale) { in gx1fb_setcolreg()
301 info->var.grayscale = 0; in gx1fb_init_fbinfo()
H A Dgxfb_core.c182 if (info->var.grayscale) { in gxfb_setcolreg()
315 info->var.grayscale = 0; in gxfb_init_fbinfo()
H A Dlxfb_core.c290 if (info->var.grayscale) { in lxfb_setcolreg()
441 info->var.grayscale = 0; in lxfb_init_fbinfo()
/OK3568_Linux_fs/external/xserver/hw/xfree86/fbdevhw/
H A Dfbpriv.h164 __u32 grayscale; /* != 0 Graylevels instead of colors */ member
/OK3568_Linux_fs/kernel/drivers/video/fbdev/core/
H A Dfbcon.h45 u32 grayscale; member
/OK3568_Linux_fs/kernel/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c661 if (minfo->fbcon.var.grayscale) { in matroxfb_setcolreg()
1254 static int grayscale; /* "matroxfb:grayscale" */ variable
1803 vesafb_defined.grayscale = grayscale; in initMatrox2()
2458 grayscale = value; in matroxfb_setup()
2562 module_param(grayscale, int, 0);
2563 MODULE_PARM_DESC(grayscale, "Sets display into grayscale. Works perfectly with paletized videomode …
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dfb.h248 __u32 grayscale; /* 0 = color, 1 = grayscale, */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dfb.h248 __u32 grayscale; /* 0 = color, 1 = grayscale, */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dfb.h251 __u32 grayscale; /* 0 = color, 1 = grayscale, */ member
/OK3568_Linux_fs/kernel/drivers/staging/fbtft/
H A Dfb_uc1611.c151 par->info->var.grayscale = 1; in set_var()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/fbida/files/
H A Dsupport-jpeg-turbo.patch961 + * when reducing color to grayscale, and also provides a handy way of
962 + * cleaning up "funny" grayscale images whose sampling factors are not 1x1.)
1401 /* If force-to-grayscale is requested, adjust destination parameters */
1406 - * In fact we do this even if the source is already grayscale; that
1407 - * provides an easy way of coercing a grayscale JPEG with funny sampling
1409 + /* First, ensure we have YCbCr or grayscale data, and that the source's
1440 + * decoders choke on grayscale images with other sampling factors.
1724 * We also offer a "force to grayscale" option, which simply discards the
1784 boolean force_grayscale; /* if TRUE, convert color image to grayscale */
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/
H A DCVE-2021-3695-video-readers-png-Drop-greyscale-support-to-fix-heap.patch23 3ccf16dff98f (grub-core/video/readers/png.c: Support grayscale).

1234