Home
last modified time | relevance | path

Searched refs:byte_stride (Results 1 – 22 of 22) sorted by relevance

/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferallocation.cpp103 …get_rgb_stride_and_size(int width, int height, int pixel_size, int *pixel_stride, int *byte_stride, in get_rgb_stride_and_size() argument
119 if (byte_stride != NULL) in get_rgb_stride_and_size()
121 *byte_stride = stride; in get_rgb_stride_and_size()
165 if (byte_stride != NULL) in get_rgb_stride_and_size()
167 *byte_stride = stride; in get_rgb_stride_and_size()
197 …ol get_afbc_yuv420_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byte_stride, in get_afbc_yuv420_8bit_stride_and_size() argument
263 if (byte_stride != NULL) in get_afbc_yuv420_8bit_stride_and_size()
265 *byte_stride = yuv420_afbc_luma_stride; in get_afbc_yuv420_8bit_stride_and_size()
289 static bool get_yv12_stride_and_size(int width, int height, int *pixel_stride, int *byte_stride, si… in get_yv12_stride_and_size() argument
296 return get_afbc_yuv420_8bit_stride_and_size(width, height, pixel_stride, byte_stride, size, type, in get_yv12_stride_and_size()
[all …]
Dframebuffer_device.cpp147 if (hnd->byte_stride == (int)m->finfo.line_length) in fb_post()
163 buffer_offset += hnd->byte_stride; in fb_post()
441 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer_locked() argument
474 *byte_stride = GRALLOC_ALIGN(m->finfo.line_length, 64); in fb_alloc_framebuffer_locked()
514 *byte_stride = GRALLOC_ALIGN(m->finfo.line_length, 64); in fb_alloc_framebuffer_locked()
519 *byte_stride = m->finfo.line_length; in fb_alloc_framebuffer_locked()
525 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer() argument
528 …err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_stride); in fb_alloc_framebuffer()
Dframebuffer_device.h30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
Dmali_gralloc_public_interface.cpp179 int byte_stride; in mali_gralloc_allocate() local
197 &pixel_stride, &byte_stride) < 0) in mali_gralloc_allocate()
215 hnd->byte_stride = byte_stride; in mali_gralloc_allocate()
Dmali_gralloc_buffer.h106 int byte_stride; member
202 , byte_stride(_byte_stride) in private_handle_t()
Dmali_gralloc_bufferaccess.cpp103 int y_stride = hnd->byte_stride; in mali_gralloc_lock_ycbcr()
138 c_stride = GRALLOC_ALIGN(hnd->byte_stride / 2, 16); in mali_gralloc_lock_ycbcr()
285 int y_stride = hnd->byte_stride; in mali_gralloc_lock_flex_async()
357 c_stride = GRALLOC_ALIGN(hnd->byte_stride / 2, 16); in mali_gralloc_lock_flex_async()
Dmali_gralloc_bufferdescriptor.h45 int byte_stride; member
Dmali_gralloc_ion.cpp473 …bufDescriptor->internal_format, bufDescriptor->byte_stride, bufDescriptor->width, bufDescriptor->h… in mali_gralloc_ion_allocate()
519 …bufDescriptor->internal_format, bufDescriptor->byte_stride, bufDescriptor->width, bufDescriptor->h… in mali_gralloc_ion_allocate()
Dmali_gralloc_private_interface.cpp109 *bytestride = hnd->byte_stride; in mali_gralloc_private_get_buff_bytestride()
/device/amlogic/yukawa/gralloc/
Dmali_gralloc_bufferallocation.cpp103 …get_rgb_stride_and_size(int width, int height, int pixel_size, int *pixel_stride, int *byte_stride, in get_rgb_stride_and_size() argument
119 if (byte_stride != NULL) in get_rgb_stride_and_size()
121 *byte_stride = stride; in get_rgb_stride_and_size()
165 if (byte_stride != NULL) in get_rgb_stride_and_size()
167 *byte_stride = stride; in get_rgb_stride_and_size()
197 …ol get_afbc_yuv420_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byte_stride, in get_afbc_yuv420_8bit_stride_and_size() argument
263 if (byte_stride != NULL) in get_afbc_yuv420_8bit_stride_and_size()
265 *byte_stride = yuv420_afbc_luma_stride; in get_afbc_yuv420_8bit_stride_and_size()
289 static bool get_yv12_stride_and_size(int width, int height, int *pixel_stride, int *byte_stride, si… in get_yv12_stride_and_size() argument
296 return get_afbc_yuv420_8bit_stride_and_size(width, height, pixel_stride, byte_stride, size, type, in get_yv12_stride_and_size()
[all …]
Dframebuffer_device.cpp147 if (hnd->byte_stride == (int)m->finfo.line_length) in fb_post()
163 buffer_offset += hnd->byte_stride; in fb_post()
441 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer_locked() argument
474 *byte_stride = GRALLOC_ALIGN(m->finfo.line_length, 64); in fb_alloc_framebuffer_locked()
514 *byte_stride = GRALLOC_ALIGN(m->finfo.line_length, 64); in fb_alloc_framebuffer_locked()
519 *byte_stride = m->finfo.line_length; in fb_alloc_framebuffer_locked()
525 buffer_handle_t *pHandle, int *stride, int *byte_stride) in fb_alloc_framebuffer() argument
528 …err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_stride); in fb_alloc_framebuffer()
Dframebuffer_device.h30 buffer_handle_t *pHandle, int *stride, int *byte_stride);
Dmali_gralloc_buffer.h106 int byte_stride; member
217 , byte_stride(_byte_stride) in private_handle_t()
Dmali_gralloc_bufferaccess.cpp103 int y_stride = hnd->byte_stride; in mali_gralloc_lock_ycbcr()
138 c_stride = GRALLOC_ALIGN(hnd->byte_stride / 2, 16); in mali_gralloc_lock_ycbcr()
285 int y_stride = hnd->byte_stride; in mali_gralloc_lock_flex_async()
357 c_stride = GRALLOC_ALIGN(hnd->byte_stride / 2, 16); in mali_gralloc_lock_flex_async()
Dmali_gralloc_public_interface.cpp179 int byte_stride; in mali_gralloc_allocate() local
197 &pixel_stride, &byte_stride) < 0) in mali_gralloc_allocate()
216 hnd->byte_stride = byte_stride; in mali_gralloc_allocate()
Dmali_gralloc_bufferdescriptor.h46 int byte_stride; member
Dmali_gralloc_ion.cpp501 …bufDescriptor->internal_format, bufDescriptor->byte_stride, bufDescriptor->width, bufDescriptor->h… in mali_gralloc_ion_allocate()
564 …bufDescriptor->internal_format, bufDescriptor->byte_stride, bufDescriptor->width, bufDescriptor->h… in mali_gralloc_ion_allocate()
Dmali_gralloc_private_interface.cpp109 *bytestride = hnd->byte_stride; in mali_gralloc_private_get_buff_bytestride()
/device/amlogic/yukawa/gralloc/legacy/
Dalloc_device.cpp74 int byte_stride; in alloc_device_alloc() local
77 err = fb_alloc_framebuffer(m, usage, usage, pHandle, &pixel_stride, &byte_stride); in alloc_device_alloc()
94 hnd->byte_stride = byte_stride; in alloc_device_alloc()
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp74 int byte_stride; in alloc_device_alloc() local
77 err = fb_alloc_framebuffer(m, usage, usage, pHandle, &pixel_stride, &byte_stride); in alloc_device_alloc()
94 hnd->byte_stride = byte_stride; in alloc_device_alloc()
/device/linaro/hikey/gralloc/
Dgralloc_priv.h202 int byte_stride; member
Dalloc_device.cpp604 hnd->byte_stride = GRALLOC_ALIGN(w*bpp,64); in alloc_device_alloc()