[go: nahoru, domu]

Searched refs:grayscale (Results 1 - 25 of 71) sorted by relevance

123

/drivers/video/fbdev/
H A Docfb.c144 if (!var->grayscale)
186 if (info->var.grayscale) {
187 /* grayscale = 0.30*R + 0.59*G + 0.11*B */
196 if (info->var.bits_per_pixel == 8 && !info->var.grayscale) {
222 if (var->bits_per_pixel == 8 && !var->grayscale)
H A Dauo_k190x.c72 * Conversion of 16bit color to 4bit grayscale
148 if (info->var.bits_per_pixel == 8 && info->var.grayscale)
154 info->var.bits_per_pixel, info->var.grayscale);
453 if (var->bits_per_pixel == 8 && var->grayscale == 1) {
455 * For 8-bit grayscale, R, G, and B offset are equal.
489 dev_warn(dev, "unsupported color mode (bits: %d, grayscale: %d)\n",
490 info->var.bits_per_pixel, info->var.grayscale);
540 fix->visual = (var->grayscale) ? FB_VISUAL_STATIC_PSEUDOCOLOR
1051 info->var.grayscale = 1;
H A Dgoldfishfb.c118 (var->grayscale != info->var.grayscale)) {
H A Dclps711xfb.c242 info->var.grayscale = info->var.bits_per_pixel > 1;
H A Dgbefb.c102 .grayscale = 0,
133 .grayscale = 0,
929 var->grayscale = 0; /* No grayscale for now */
948 /* No grayscale for now */
949 var->grayscale = 0;
H A Dsh7760fb.c182 if ((var->grayscale) && (var->bits_per_pixel == 1))
196 * NOTE: The rotation, grayscale and DSTN codepaths are
233 vdln, bpp, gray ? "grayscale" : "color",
397 if (info->var.grayscale) {
H A Dsh_mobile_lcdcfb.c618 var.grayscale = info->var.grayscale;
701 if (var->grayscale > 1)
702 return var->grayscale;
718 return var->grayscale > 1;
1264 format = sh_mobile_format_info(var->grayscale);
1755 var->grayscale = ovl->format->fourcc;
2266 var->grayscale = ch->format->fourcc;
H A Dskeletonfb.c294 /* grayscale works only partially under directcolor */
295 if (info->var.grayscale) {
296 /* grayscale = 0.30*R + 0.59*G + 0.11*B */
H A Dstifb.c26 * HPA1924A known as "GRX", a 1280x1024 grayscale device with 8 planes
31 * HP710G same as HP710C, 1280x1024 grayscale only
935 if (unlikely(fb->info.var.grayscale)) {
1153 case S9000_ID_ELM: /* GRX, grayscale but else same as A1659A */
1154 var->grayscale = 1;
1157 case S9000_ID_TIMBER: /* HP9000/710 Any (may be a grayscale device) */
1160 strstr(dev_name, "grayscale"))
1161 var->grayscale = 1;
H A D68328fb.c287 /* grayscale works only partially under directcolor */
288 if (info->var.grayscale) {
289 /* grayscale = 0.30*R + 0.59*G + 0.11*B */
H A Dclps711x-fb.c100 var->grayscale = var->bits_per_pixel > 1;
H A Dgrvga.c201 if (info->var.grayscale) {
202 /* grayscale = 0.30*R + 0.59*G + 0.11*B */
H A Dpmag-aa-fb.c331 var->grayscale = 1;
H A Dvfb.c307 /* grayscale works only partially under directcolor */
308 if (info->var.grayscale) {
309 /* grayscale = 0.30*R + 0.59*G + 0.11*B */
H A Dwm8505fb.c203 if (info->var.grayscale)
H A Dxilinxfb.c206 if (fbi->var.grayscale) {
207 /* Convert color to grayscale.
208 * grayscale = 0.30*R + 0.59*G + 0.11*B */
H A DKconfig2219 Supports display resolutions up to 1024x1024 pixel, grayscale and
H A Damba-clcd.c492 fb->fb.var.grayscale = fb->panel->grayscale;
H A Dimxfb.c295 if (info->var.grayscale)
344 * yres, xres_virtual, yres_virtual, xoffset, yoffset, grayscale,
667 info->var.grayscale = of_property_read_bool(np,
/drivers/video/fbdev/geode/
H A Dgx1fb_core.c163 if (info->var.grayscale) {
164 /* grayscale = 0.30*R + 0.59*G + 0.11*B */
305 info->var.grayscale = 0;
H A Dgxfb_core.c196 if (info->var.grayscale) {
197 /* grayscale = 0.30*R + 0.59*G + 0.11*B */
328 info->var.grayscale = 0;
H A Dlxfb_core.c303 if (info->var.grayscale) {
304 /* grayscale = 0.30*R + 0.59*G + 0.11*B */
454 info->var.grayscale = 0;
/drivers/video/console/
H A Dfbcon.h43 u32 grayscale; member in struct:display
/drivers/video/fbdev/msm/
H A Dmsm_fb.c332 (var->grayscale != info->var.grayscale))
/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c667 if (minfo->fbcon.var.grayscale) {
1262 static int grayscale; /* "matroxfb:grayscale" */ variable
1799 vesafb_defined.grayscale = grayscale;
2454 else if (!strcmp(this_opt, "grayscale"))
2455 grayscale = value;
2561 module_param(grayscale, int, 0);
2562 MODULE_PARM_DESC(grayscale, "Sets display into grayscale
[all...]

Completed in 283 milliseconds

123