Lines Matching refs:depth
95 int depth = 0; in fb_get_color_depth() local
99 depth = 1; in fb_get_color_depth()
105 depth = var->green.length; in fb_get_color_depth()
107 depth = var->green.length + var->red.length + in fb_get_color_depth()
111 return depth; in fb_get_color_depth()
279 int depth) in fb_set_logo() argument
302 switch (depth) { in fb_set_logo()
355 int depth; member
468 image.depth = 8; in fb_show_logo_line()
489 if (fb_logo.depth <= 4) { in fb_show_logo_line()
498 fb_set_logo(info, logo, logo_new, fb_logo.depth); in fb_show_logo_line()
597 int depth = fb_get_color_depth(&info->var, &info->fix); in fb_prepare_logo() local
607 depth = info->var.blue.length; in fb_prepare_logo()
608 if (info->var.red.length < depth) in fb_prepare_logo()
609 depth = info->var.red.length; in fb_prepare_logo()
610 if (info->var.green.length < depth) in fb_prepare_logo()
611 depth = info->var.green.length; in fb_prepare_logo()
614 if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR && depth > 4) { in fb_prepare_logo()
616 depth = 4; in fb_prepare_logo()
620 fb_logo.logo = fb_find_logo(depth); in fb_prepare_logo()
638 fb_logo.depth = 8; in fb_prepare_logo()
640 fb_logo.depth = 4; in fb_prepare_logo()
642 fb_logo.depth = 1; in fb_prepare_logo()
645 if (fb_logo.depth > 4 && depth > 4) { in fb_prepare_logo()