Searched refs:fi (Results 1 – 1 of 1) sorted by relevance
/system/extras/tests/framebuffer/ |
D | fb_test.c | 46 struct fb_fix_screeninfo fi; variable 49 static void dumpinfo(struct fb_fix_screeninfo *fi, 81 if(ioctl(fd, FBIOGET_FSCREENINFO, &fi) < 0) { in get_framebuffer() 86 dumpinfo(&fi, &vi); in get_framebuffer() 88 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in get_framebuffer() 98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer() 106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer() 125 static void dumpinfo(struct fb_fix_screeninfo *fi, struct fb_var_screeninfo *vi) in dumpinfo() argument 135 fprintf(stderr, "fi.line_length = %d\n", fi->line_length); in dumpinfo() 210 int stride = fi.line_length / (vi.bits_per_pixel >> 3); in draw_grid() [all …]
|