• Home
  • Raw
  • Download

Lines Matching refs:scrinfo

46 static struct fb_var_screeninfo scrinfo;  variable
94 if (ioctl(fbfd, FBIOGET_VSCREENINFO, &scrinfo) != 0) in init_fb()
100 pixels = scrinfo.xres * scrinfo.yres; in init_fb()
101 bytespp = scrinfo.bits_per_pixel / 8; in init_fb()
104 (int)scrinfo.xres, (int)scrinfo.yres, in init_fb()
105 (int)scrinfo.xres_virtual, (int)scrinfo.yres_virtual, in init_fb()
106 (int)scrinfo.xoffset, (int)scrinfo.yoffset, in init_fb()
107 (int)scrinfo.bits_per_pixel); in init_fb()
183 vncbuf = calloc(scrinfo.xres * scrinfo.yres, scrinfo.bits_per_pixel / 8); in init_fb_server()
188 fbbuf = calloc(scrinfo.xres * scrinfo.yres, scrinfo.bits_per_pixel / 8); in init_fb_server()
192 vncscr = rfbGetScreen(&argc, argv, scrinfo.xres, scrinfo.yres, 5, 2, (scrinfo.bits_per_pixel / 8)); in init_fb_server()
207 rfbMarkRectAsModified(vncscr, 0, 0, scrinfo.xres, scrinfo.yres); in init_fb_server()
210 varblock.r_offset = scrinfo.red.offset + scrinfo.red.length - 5; in init_fb_server()
211 varblock.g_offset = scrinfo.green.offset + scrinfo.green.length - 5; in init_fb_server()
212 varblock.b_offset = scrinfo.blue.offset + scrinfo.blue.length - 5; in init_fb_server()
213 varblock.rfb_xres = scrinfo.yres; in init_fb_server()
214 varblock.rfb_maxy = scrinfo.xres - 1; in init_fb_server()
315 x = xmin + (x * (xmax - xmin)) / (scrinfo.xres); in injectTouchEvent()
316 y = ymin + (y * (ymax - ymin)) / (scrinfo.yres); in injectTouchEvent()
397 for (y = 0; y < scrinfo.yres; y++) in update_screen()
401 for (x = 0; x < scrinfo.xres; x += 2) in update_screen()
502 printf(" width: %d\n", (int)scrinfo.xres); in main()
503 printf(" height: %d\n", (int)scrinfo.yres); in main()
504 printf(" bpp: %d\n", (int)scrinfo.bits_per_pixel); in main()