• Home
  • Raw
  • Download

Lines Matching refs:info

93     m->info.activate = FB_ACTIVATE_VBL;  in fb_post()
94 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
141 struct fb_var_screeninfo info; in mapFrameBufferLocked() local
142 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in mapFrameBufferLocked()
145 info.reserved[0] = 0; in mapFrameBufferLocked()
146 info.reserved[1] = 0; in mapFrameBufferLocked()
147 info.reserved[2] = 0; in mapFrameBufferLocked()
148 info.xoffset = 0; in mapFrameBufferLocked()
149 info.yoffset = 0; in mapFrameBufferLocked()
150 info.activate = FB_ACTIVATE_NOW; in mapFrameBufferLocked()
160 if(info.bits_per_pixel == 32) { in mapFrameBufferLocked()
164 info.bits_per_pixel = 32; in mapFrameBufferLocked()
165 info.red.offset = 24; in mapFrameBufferLocked()
166 info.red.length = 8; in mapFrameBufferLocked()
167 info.green.offset = 16; in mapFrameBufferLocked()
168 info.green.length = 8; in mapFrameBufferLocked()
169 info.blue.offset = 8; in mapFrameBufferLocked()
170 info.blue.length = 8; in mapFrameBufferLocked()
171 info.transp.offset = 0; in mapFrameBufferLocked()
172 info.transp.length = 8; in mapFrameBufferLocked()
189 info.bits_per_pixel = 16; in mapFrameBufferLocked()
190 info.red.offset = 11; in mapFrameBufferLocked()
191 info.red.length = 5; in mapFrameBufferLocked()
192 info.green.offset = 5; in mapFrameBufferLocked()
193 info.green.length = 6; in mapFrameBufferLocked()
194 info.blue.offset = 0; in mapFrameBufferLocked()
195 info.blue.length = 5; in mapFrameBufferLocked()
196 info.transp.offset = 0; in mapFrameBufferLocked()
197 info.transp.length = 0; in mapFrameBufferLocked()
202 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
203 (info.bits_per_pixel/8)); in mapFrameBufferLocked()
223 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked()
224 info.yres_virtual = (size * numberOfBuffers) / line_length; in mapFrameBufferLocked()
228 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
230 info.yres_virtual = size / line_length; in mapFrameBufferLocked()
233 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
236 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in mapFrameBufferLocked()
239 if (int(info.width) <= 0 || int(info.height) <= 0) { in mapFrameBufferLocked()
242 info.width = ((info.xres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
243 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
246 float xdpi = (info.xres * 25.4f) / info.width; in mapFrameBufferLocked()
247 float ydpi = (info.yres * 25.4f) / info.height; in mapFrameBufferLocked()
260 float fps = info.reserved[3] & 0xFF; in mapFrameBufferLocked()
274 info.xres, in mapFrameBufferLocked()
275 info.yres, in mapFrameBufferLocked()
276 info.xres_virtual, in mapFrameBufferLocked()
277 info.yres_virtual, in mapFrameBufferLocked()
278 info.bits_per_pixel, in mapFrameBufferLocked()
279 info.red.offset, info.red.length, in mapFrameBufferLocked()
280 info.green.offset, info.green.length, in mapFrameBufferLocked()
281 info.blue.offset, info.blue.length in mapFrameBufferLocked()
287 info.width, xdpi, in mapFrameBufferLocked()
288 info.height, ydpi, in mapFrameBufferLocked()
300 module->info = info; in mapFrameBufferLocked()
313 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
321 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
385 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
386 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()