Lines Matching refs:depth
91 int depth = 0; in fb_get_color_depth() local
95 depth = 1; in fb_get_color_depth()
101 depth = var->green.length; in fb_get_color_depth()
103 depth = var->green.length + var->red.length + in fb_get_color_depth()
107 return depth; in fb_get_color_depth()
274 int depth) in fb_set_logo() argument
297 switch (depth) { in fb_set_logo()
350 int depth; member
463 image.depth = 8; in fb_show_logo_line()
484 if (fb_logo.depth <= 4) { in fb_show_logo_line()
493 fb_set_logo(info, logo, logo_new, fb_logo.depth); in fb_show_logo_line()
592 int depth = fb_get_color_depth(&info->var, &info->fix); in fb_prepare_logo() local
602 depth = info->var.blue.length; in fb_prepare_logo()
603 if (info->var.red.length < depth) in fb_prepare_logo()
604 depth = info->var.red.length; in fb_prepare_logo()
605 if (info->var.green.length < depth) in fb_prepare_logo()
606 depth = info->var.green.length; in fb_prepare_logo()
609 if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR && depth > 4) { in fb_prepare_logo()
611 depth = 4; in fb_prepare_logo()
615 fb_logo.logo = fb_find_logo(depth); in fb_prepare_logo()
633 fb_logo.depth = 8; in fb_prepare_logo()
635 fb_logo.depth = 4; in fb_prepare_logo()
637 fb_logo.depth = 1; in fb_prepare_logo()
640 if (fb_logo.depth > 4 && depth > 4) { in fb_prepare_logo()