Home
last modified time | relevance | path

Searched refs:finfo (Results 1 – 21 of 21) sorted by relevance

/hardware/qcom/display/libgralloc/
Dframebuffer.cpp113 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post()
160 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
161 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
231 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
285 finfo.id, in mapFrameBufferLocked()
305 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
308 if (finfo.smem_len <= 0) in mapFrameBufferLocked()
313 module->finfo = finfo; in mapFrameBufferLocked()
329 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
400 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
[all …]
Dfb_priv.h50 struct fb_fix_screeninfo finfo; member
Dgpu.cpp67 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
255 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp99 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
124 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
159 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
160 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
236 finfo.id, in mapFrameBufferLocked()
256 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
259 if (finfo.smem_len <= 0) in mapFrameBufferLocked()
265 module->finfo = finfo; in mapFrameBufferLocked()
275 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres_virtual); in mapFrameBufferLocked()
331 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dgralloc_priv.h50 struct fb_fix_screeninfo finfo; member
Dgralloc.cpp122 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
258 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free()
/hardware/msm7k/libgralloc/
Dframebuffer.cpp102 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
167 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
168 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
253 finfo.id, in mapFrameBufferLocked()
273 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
276 if (finfo.smem_len <= 0) in mapFrameBufferLocked()
282 module->finfo = finfo; in mapFrameBufferLocked()
292 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres_virtual); in mapFrameBufferLocked()
355 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
367 if (m->finfo.reserved[0] == 0x5444 && in fb_device_open()
[all …]
Dgralloc_priv.h54 struct fb_fix_screeninfo finfo; member
Dgralloc.cpp146 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
529 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free()
/hardware/msm7k/libgralloc-qsd8k/
Dframebuffer.cpp116 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
187 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
188 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
289 finfo.id, in mapFrameBufferLocked()
309 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
312 if (finfo.smem_len <= 0) in mapFrameBufferLocked()
318 module->finfo = finfo; in mapFrameBufferLocked()
328 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres_virtual); in mapFrameBufferLocked()
391 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
403 if (m->finfo.reserved[0] == 0x5444 && in fb_device_open()
[all …]
Dgralloc_priv.h74 struct fb_fix_screeninfo finfo; member
Dgpu.cpp66 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
279 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/liboverlay/
DmdpWrapper.h49 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo);
96 void dump(const char* const s, const fb_fix_screeninfo& finfo);
101 inline bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo) { in getFScreenInfo() argument
102 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo()
261 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() argument
262 ALOGE("%s fb_fix_screeninfo type=%d", s, finfo.type); in dump()
DoverlayUtils.cpp263 fb_fix_screeninfo finfo; in isPanel3D() local
264 if(!mdp_wrapper::getFScreenInfo(fd.getFD(), finfo)) { in isPanel3D()
268 return (FB_TYPE_3D_PANEL == finfo.type) ? true : false; in isPanel3D()
DoverlayMdp.cpp173 fb_fix_screeninfo finfo; in getScreenInfo() local
174 if (!mdp_wrapper::getFScreenInfo(mFd.getFD(), finfo)) { in getScreenInfo()
185 info.mFBystride = finfo.line_length; in getScreenInfo()
/hardware/samsung_slsi/exynos5/gralloc/
Dframebuffer.cpp126 struct fb_fix_screeninfo finfo; in init_fb() local
127 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in init_fb()
158 finfo.id, info.xres, info.yres, info.width, xdpi, info.height, ydpi, in init_fb()
/hardware/msm7k/libcopybit/
Dcopybit.cpp463 struct fb_fix_screeninfo finfo; in open_copybit() local
464 if (ioctl(ctx->mFD, FBIOGET_FSCREENINFO, &finfo) == 0) { in open_copybit()
465 if (strcmp(finfo.id, "msmfb") == 0) { in open_copybit()
/hardware/qcom/display/libcopybit/
Dcopybit.cpp546 struct fb_fix_screeninfo finfo; in open_copybit() local
547 if (ioctl(ctx->mFD, FBIOGET_FSCREENINFO, &finfo) == 0) { in open_copybit()
548 if (strncmp(finfo.id, "msmfb", 5) == 0) { in open_copybit()
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c65 struct fb_fix_screeninfo finfo; variable
294 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in camframe_fb_thread()
/hardware/qcom/display/libhwcomposer/
Dhwc_utils.cpp41 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = m->finfo.line_length / in openFramebufferDevice()
/hardware/qcom/media/mm-video/vidc/vdec/test/
Domx_vdec_test.cpp238 static struct fb_fix_screeninfo finfo; variable
3314 void *fb_buf = mmap (NULL, finfo.smem_len,PROT_READ|PROT_WRITE, MAP_SHARED, fb_fd, 0); in drawBG()
3873 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) < 0) in open_display()