Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp94 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
223 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() local
224 info.yres_virtual = (size * numberOfBuffers) / line_length; in mapFrameBufferLocked()
228 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
230 info.yres_virtual = size / line_length; 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()
Dgpu.cpp192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
316 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8909/libgralloc/
Dframebuffer.cpp89 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
226 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() local
227 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); in mapFrameBufferLocked()
231 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
233 info.yres_virtual = (int)(size / line_length); in mapFrameBufferLocked()
327 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
432 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dgpu.cpp220 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
344 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8226/libgralloc/
Dframebuffer.cpp95 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
231 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() local
232 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); in mapFrameBufferLocked()
236 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
238 info.yres_virtual = (int)(size / line_length); in mapFrameBufferLocked()
332 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
411 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dgpu.cpp209 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
331 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8996/libgralloc/
Dframebuffer.cpp87 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
224 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() local
225 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); in mapFrameBufferLocked()
229 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
231 info.yres_virtual = (int)(size / line_length); in mapFrameBufferLocked()
325 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
430 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dgpu.cpp206 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
353 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8084/libgralloc/
Dframebuffer.cpp94 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
230 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() local
231 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); in mapFrameBufferLocked()
235 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
237 info.yres_virtual = (int)(size / line_length); in mapFrameBufferLocked()
331 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
410 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dgpu.cpp206 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
329 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8998/libgralloc/
Dframebuffer.cpp89 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
228 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() local
229 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); in mapFrameBufferLocked()
233 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
235 info.yres_virtual = (int)(size / line_length); in mapFrameBufferLocked()
329 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
434 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dgpu.cpp440 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
587 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8994/libgralloc/
Dframebuffer.cpp97 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
234 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); in mapFrameBufferLocked() local
235 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); in mapFrameBufferLocked()
239 if (info.yres_virtual < ((size * 2) / line_length) ) { in mapFrameBufferLocked()
241 info.yres_virtual = (int)(size / line_length); in mapFrameBufferLocked()
335 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
440 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dgpu.cpp225 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
358 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/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()
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.cpp122 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
264 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp169 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp162 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp249 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp225 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()