Lines Matching refs:bpp
2226 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth)
2230 switch (bpp) {
2252 DRM_ERROR("bad bpp, assuming x8r8g8b8 pixel format\n");
2290 r.pixel_format = drm_mode_legacy_fb_format(or->bpp, or->depth);
2581 r->bpp = fb->bits_per_pixel;
3641 int *bpp)
3648 *bpp = 8;
3659 *bpp = 16;
3664 *bpp = 16;
3669 *bpp = 24;
3676 *bpp = 32;
3687 *bpp = 32;
3694 *bpp = 32;
3699 *bpp = 0;
3748 int bpp;
3778 drm_fb_get_bpp_depth(format, &depth, &bpp);
3779 return bpp >> 3;