Home
last modified time | relevance | path

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

12

/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()
256 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free()
/hardware/qcom/display/msm8974/libgralloc/
Dframebuffer.cpp93 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
136 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
137 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
207 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
272 finfo.id, in mapFrameBufferLocked()
292 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
295 if (finfo.smem_len <= 0) in mapFrameBufferLocked()
300 module->finfo = finfo; in mapFrameBufferLocked()
316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
389 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h49 struct fb_fix_screeninfo finfo; member
Dgpu.cpp198 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
325 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp93 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
136 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
137 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
207 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
272 finfo.id, in mapFrameBufferLocked()
292 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
295 if (finfo.smem_len <= 0) in mapFrameBufferLocked()
300 module->finfo = finfo; in mapFrameBufferLocked()
316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h49 struct fb_fix_screeninfo finfo; member
Dgpu.cpp192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
310 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8x26/libgralloc/
Dframebuffer.cpp93 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
136 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
137 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
207 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
272 finfo.id, in mapFrameBufferLocked()
292 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
295 if (finfo.smem_len <= 0) in mapFrameBufferLocked()
300 module->finfo = finfo; in mapFrameBufferLocked()
316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h49 struct fb_fix_screeninfo finfo; member
Dgpu.cpp192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
310 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8960/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()
/hardware/qcom/display/msm8x26/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()
/hardware/qcom/display/msm8974/liboverlay/
DmdpWrapper.h51 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo);
113 void dump(const char* const s, const fb_fix_screeninfo& finfo);
118 inline bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo) { in getFScreenInfo() argument
120 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo()
349 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() argument
350 ALOGE("%s fb_fix_screeninfo type=%d", s, finfo.type); in dump()
DoverlayUtils.cpp313 fb_fix_screeninfo finfo; in isPanel3D() local
314 if(!mdp_wrapper::getFScreenInfo(fd.getFD(), finfo)) { in isPanel3D()
318 return (FB_TYPE_3D_PANEL == finfo.type) ? true : false; in isPanel3D()
/hardware/samsung_slsi/exynos5/gralloc/
Dframebuffer.cpp172 struct fb_fix_screeninfo finfo; in init_fb() local
173 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in init_fb()
198 finfo.id, module->xres, module->yres, info.width, xdpi, info.height, in init_fb()
/hardware/qcom/display/msm8x26/libcopybit/
Dcopybit.cpp552 struct fb_fix_screeninfo finfo; in open_copybit() local
553 if (ioctl(ctx->mFD, FBIOGET_FSCREENINFO, &finfo) == 0) { in open_copybit()
554 if (strncmp(finfo.id, "msmfb", 5) == 0) { in open_copybit()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp552 struct fb_fix_screeninfo finfo; in open_copybit() local
553 if (ioctl(ctx->mFD, FBIOGET_FSCREENINFO, &finfo) == 0) { in open_copybit()
554 if (strncmp(finfo.id, "msmfb", 5) == 0) { in open_copybit()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp49 struct fb_fix_screeninfo finfo; in openFramebufferDevice() local
84 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) == -1) in openFramebufferDevice()
87 if (finfo.smem_len <= 0) in openFramebufferDevice()
92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
/hardware/qcom/display/msm8x26/libhwcomposer/
Dhwc_utils.cpp49 struct fb_fix_screeninfo finfo; in openFramebufferDevice() local
84 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) == -1) in openFramebufferDevice()
87 if (finfo.smem_len <= 0) in openFramebufferDevice()
92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.cpp54 struct fb_fix_screeninfo finfo; in openFramebufferDevice() local
99 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in openFramebufferDevice()
108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp240 static struct fb_fix_screeninfo finfo; variable
3316 void *fb_buf = mmap (NULL, finfo.smem_len,PROT_READ|PROT_WRITE, MAP_SHARED, fb_fd, 0); in drawBG()
3875 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) < 0) in open_display()

12