Lines Matching refs:depth
66 int depth = 0;
70 depth = 1;
76 depth = var->green.length;
78 depth = var->green.length + var->red.length +
82 return depth;
249 int depth)
272 switch (depth) {
301 * the visual format and color depth of the framebuffer, the DAC, the
317 * nibbles into separate bytes. The "depth" flag will be set to 4.
321 * We isolate each bit and expand each into a byte. The "depth" flag will
325 int depth;
438 image.depth = 8;
459 if (fb_logo.depth <= 4) {
468 fb_set_logo(info, logo, logo_new, fb_logo.depth);
566 int depth = fb_get_color_depth(&info->var, &info->fix);
576 depth = info->var.blue.length;
577 if (info->var.red.length < depth)
578 depth = info->var.red.length;
579 if (info->var.green.length < depth)
580 depth = info->var.green.length;
583 if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR && depth > 4) {
585 depth = 4;
589 fb_logo.logo = fb_find_logo(depth);
605 /* What depth we asked for might be different from what we get */
607 fb_logo.depth = 8;
609 fb_logo.depth = 4;
611 fb_logo.depth = 1;
614 if (fb_logo.depth > 4 && depth > 4) {