Home
last modified time | relevance | path

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

12

/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp106 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
131 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
166 struct fb_fix_screeninfo finfo; local
167 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1)
248 finfo.id,
268 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1)
271 if (finfo.smem_len <= 0)
277 module->finfo = finfo;
287 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres_virtual);
343 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
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/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/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/msm8084/libgralloc/
Dframebuffer.cpp92 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
138 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
139 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
213 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
282 finfo.id, in mapFrameBufferLocked()
302 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
307 if (finfo.smem_len <= 0) { in mapFrameBufferLocked()
314 module->finfo = finfo; in mapFrameBufferLocked()
329 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
408 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.cpp205 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
323 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8226/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()
211 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
279 finfo.id, in mapFrameBufferLocked()
299 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
304 if (finfo.smem_len <= 0) { in mapFrameBufferLocked()
311 module->finfo = finfo; in mapFrameBufferLocked()
327 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
407 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.cpp202 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
319 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/msm8226/liboverlay/
DmdpWrapper.h51 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo);
116 void dump(const char* const s, const fb_fix_screeninfo& finfo);
121 inline bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo) { in getFScreenInfo() argument
122 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo()
345 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() argument
346 ALOGE("%s fb_fix_screeninfo type=%d", s, finfo.type); in dump()
DoverlayUtils.cpp345 fb_fix_screeninfo finfo; in isPanel3D() local
346 if(!mdp_wrapper::getFScreenInfo(fd.getFD(), finfo)) { in isPanel3D()
350 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.cpp330 fb_fix_screeninfo finfo; in isPanel3D() local
331 if(!mdp_wrapper::getFScreenInfo(fd.getFD(), finfo)) { in isPanel3D()
335 return (FB_TYPE_3D_PANEL == finfo.type) ? true : false; in isPanel3D()
/hardware/qcom/display/msm8084/liboverlay/
DmdpWrapper.h51 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo);
119 void dump(const char* const s, const fb_fix_screeninfo& finfo);
124 inline bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo) { in getFScreenInfo() argument
125 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo()
357 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() argument
358 ALOGE("%s fb_fix_screeninfo type=%d", s, finfo.type); in dump()
DoverlayUtils.cpp340 fb_fix_screeninfo finfo; in isPanel3D() local
341 if(!mdp_wrapper::getFScreenInfo(fd.getFD(), finfo)) { in isPanel3D()
345 return (FB_TYPE_3D_PANEL == finfo.type) ? true : false; in isPanel3D()
/hardware/samsung_slsi/exynos5/gralloc/
Dframebuffer.cpp171 struct fb_fix_screeninfo finfo; in init_fb() local
172 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in init_fb()
197 finfo.id, module->xres, module->yres, info.width, xdpi, info.height, in init_fb()
/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()

12