• Home
  • Raw
  • Download

Lines Matching refs:info

83     m->info.activate = FB_ACTIVATE_VBL;  in fb_post()
84 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
85 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
137 struct fb_var_screeninfo info; in mapFrameBufferLocked() local
138 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked()
143 info.reserved[0] = 0; in mapFrameBufferLocked()
144 info.reserved[1] = 0; in mapFrameBufferLocked()
145 info.reserved[2] = 0; in mapFrameBufferLocked()
146 info.xoffset = 0; in mapFrameBufferLocked()
147 info.yoffset = 0; in mapFrameBufferLocked()
148 info.activate = FB_ACTIVATE_NOW; in mapFrameBufferLocked()
158 if(info.bits_per_pixel == 32) { in mapFrameBufferLocked()
162 info.bits_per_pixel = 32; in mapFrameBufferLocked()
163 info.red.offset = 24; in mapFrameBufferLocked()
164 info.red.length = 8; in mapFrameBufferLocked()
165 info.green.offset = 16; in mapFrameBufferLocked()
166 info.green.length = 8; in mapFrameBufferLocked()
167 info.blue.offset = 8; in mapFrameBufferLocked()
168 info.blue.length = 8; in mapFrameBufferLocked()
169 info.transp.offset = 0; in mapFrameBufferLocked()
170 info.transp.length = 8; in mapFrameBufferLocked()
187 info.bits_per_pixel = 16; in mapFrameBufferLocked()
188 info.red.offset = 11; in mapFrameBufferLocked()
189 info.red.length = 5; in mapFrameBufferLocked()
190 info.green.offset = 5; in mapFrameBufferLocked()
191 info.green.length = 6; in mapFrameBufferLocked()
192 info.blue.offset = 0; in mapFrameBufferLocked()
193 info.blue.length = 5; in mapFrameBufferLocked()
194 info.transp.offset = 0; in mapFrameBufferLocked()
195 info.transp.length = 0; in mapFrameBufferLocked()
200 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
201 (info.bits_per_pixel/8)); in mapFrameBufferLocked()
221 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked()
222 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); in mapFrameBufferLocked()
226 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
228 info.yres_virtual = (int)(size / line_length); in mapFrameBufferLocked()
231 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
234 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked()
239 if (int(info.width) <= 0 || int(info.height) <= 0) { in mapFrameBufferLocked()
242 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
243 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
246 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width; in mapFrameBufferLocked()
247 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
262 float fps = info.reserved[3] & 0xFF; in mapFrameBufferLocked()
276 info.xres, in mapFrameBufferLocked()
277 info.yres, in mapFrameBufferLocked()
278 info.xres_virtual, in mapFrameBufferLocked()
279 info.yres_virtual, in mapFrameBufferLocked()
280 info.bits_per_pixel, in mapFrameBufferLocked()
281 info.red.offset, info.red.length, in mapFrameBufferLocked()
282 info.green.offset, info.green.length, in mapFrameBufferLocked()
283 info.blue.offset, info.blue.length in mapFrameBufferLocked()
289 info.width, xdpi, in mapFrameBufferLocked()
290 info.height, ydpi, in mapFrameBufferLocked()
306 module->info = info; in mapFrameBufferLocked()
319 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
322 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
353 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
427 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
429 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
430 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()