Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 2 of 2) sorted by relevance

/system/extras/tests/framebuffer/
Dfb_test.c36 int bpp; member
52 static int get_framebuffer(struct simple_fb *fb, unsigned bpp) in get_framebuffer() argument
72 if (bpp && vi.bits_per_pixel != bpp) { in get_framebuffer()
73 printf("bpp != %d, forcing...\n", bpp); in get_framebuffer()
74 vi.bits_per_pixel = bpp; in get_framebuffer()
100 fb->bpp = vi.bits_per_pixel; in get_framebuffer()
109 fb->bpp = vi.bits_per_pixel; in get_framebuffer()
139 int gr_init(int bpp, int id) in gr_init() argument
154 gr_fb_fd = get_framebuffer(gr_fbs, bpp); in gr_init()
261 int bpp = 0; in main() local
[all …]
/system/core/adb/
Dframebuffer_service.cpp43 unsigned int bpp; member
94 fbinfo.bpp = 32; in framebuffer_service()
108 fbinfo.bpp = 32; in framebuffer_service()
122 fbinfo.bpp = 24; in framebuffer_service()
136 fbinfo.bpp = 16; in framebuffer_service()
150 fbinfo.bpp = 32; in framebuffer_service()