Lines Matching refs:info

92     m->info.activate = FB_ACTIVATE_VBL;
93 m->info.yoffset = (int)(offset / m->finfo.line_length);
94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
145 struct fb_var_screeninfo info;
146 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) {
151 info.reserved[0] = 0;
152 info.reserved[1] = 0;
153 info.reserved[2] = 0;
154 info.xoffset = 0;
155 info.yoffset = 0;
156 info.activate = FB_ACTIVATE_NOW;
166 if(info.bits_per_pixel == 32) {
170 info.bits_per_pixel = 32;
171 info.red.offset = 24;
172 info.red.length = 8;
173 info.green.offset = 16;
174 info.green.length = 8;
175 info.blue.offset = 8;
176 info.blue.length = 8;
177 info.transp.offset = 0;
178 info.transp.length = 8;
195 info.bits_per_pixel = 16;
196 info.red.offset = 11;
197 info.red.length = 5;
198 info.green.offset = 5;
199 info.green.length = 6;
200 info.blue.offset = 0;
201 info.blue.length = 5;
202 info.transp.offset = 0;
203 info.transp.length = 0;
208 unsigned int size = roundUpToPageSize(info.yres * info.xres *
209 (info.bits_per_pixel/8));
229 uint32_t line_length = (info.xres * info.bits_per_pixel / 8);
230 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length);
234 if (info.yres_virtual < ((size * 2) / line_length) ) {
236 info.yres_virtual = (int)(size / line_length);
239 info.yres_virtual, info.yres*2);
242 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) {
247 if (int(info.width) <= 0 || int(info.height) <= 0) {
250 info.width = (uint32_t)(((float)(info.xres) * 25.4f)/160.0f + 0.5f);
251 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f);
254 float xdpi = ((float)(info.xres) * 25.4f) / (float)info.width;
255 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height;
270 float fps = info.reserved[3] & 0xFF;
284 info.xres,
285 info.yres,
286 info.xres_virtual,
287 info.yres_virtual,
288 info.bits_per_pixel,
289 info.red.offset, info.red.length,
290 info.green.offset, info.green.length,
291 info.blue.offset, info.blue.length
297 info.width, xdpi,
298 info.height, ydpi,
314 module->info = info;
327 module->numBuffers = info.yres_virtual / info.yres;
330 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)*
335 module->fbFormat, info.xres, info.yres);
409 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
411 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
412 const_cast<uint32_t&>(dev->device.height) = m->info.yres;