Searched refs:bufDescriptor (Results 1 – 6 of 6) sorted by relevance
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_bufferallocation.cpp | 895 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(descriptors[i]); in mali_gralloc_buffer_allocate() local 900 bufDescriptor->internalWidth = bufDescriptor->width; in mali_gralloc_buffer_allocate() 901 bufDescriptor->internalHeight = bufDescriptor->height; in mali_gralloc_buffer_allocate() 902 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_buffer_allocate() 904 bufDescriptor->internal_format = mali_gralloc_select_format( in mali_gralloc_buffer_allocate() 905 …bufDescriptor->hal_format, bufDescriptor->format_type, usage, bufDescriptor->width * bufDescriptor… in mali_gralloc_buffer_allocate() 907 if (bufDescriptor->internal_format == 0) in mali_gralloc_buffer_allocate() 910 bufDescriptor->hal_format, usage); in mali_gralloc_buffer_allocate() 915 if (bufDescriptor->internal_format & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) in mali_gralloc_buffer_allocate() 917 if (bufDescriptor->internal_format & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS) in mali_gralloc_buffer_allocate() [all …]
|
D | mali_gralloc_ion.cpp | 345 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)descriptors[i]; in check_buffers_sharable() local 347 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in check_buffers_sharable() 381 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)descriptors[i]; in get_max_buffer_descriptor_index() local 383 if (max_buffer_size < bufDescriptor->size) in get_max_buffer_descriptor_index() 386 max_buffer_size = bufDescriptor->size; in get_max_buffer_descriptor_index() 479 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(descriptors[i]); in mali_gralloc_ion_allocate() local 499 private_handle_t::PRIV_FLAGS_USES_ION | priv_heap_flag, bufDescriptor->size, min_pgsz, in mali_gralloc_ion_allocate() 500 … bufDescriptor->consumer_usage, bufDescriptor->producer_usage, tmp_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate() 501 …bufDescriptor->internal_format, bufDescriptor->byte_stride, bufDescriptor->width, bufDescriptor->h… in mali_gralloc_ion_allocate() 502 bufDescriptor->pixel_stride, bufDescriptor->internalWidth, bufDescriptor->internalHeight, in mali_gralloc_ion_allocate() [all …]
|
D | mali_gralloc_public_interface.cpp | 169 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(*descriptors); in mali_gralloc_allocate() local 173 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_allocate() 184 format = bufDescriptor->hal_format; in mali_gralloc_allocate() 185 width = bufDescriptor->width; in mali_gralloc_allocate() 186 height = bufDescriptor->height; in mali_gralloc_allocate() 196 …if (fb_alloc_framebuffer(m, bufDescriptor->consumer_usage, bufDescriptor->producer_usage, outBuffe… in mali_gralloc_allocate()
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_bufferallocation.cpp | 895 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(descriptors[i]); in mali_gralloc_buffer_allocate() local 900 bufDescriptor->internalWidth = bufDescriptor->width; in mali_gralloc_buffer_allocate() 901 bufDescriptor->internalHeight = bufDescriptor->height; in mali_gralloc_buffer_allocate() 902 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_buffer_allocate() 904 bufDescriptor->internal_format = mali_gralloc_select_format( in mali_gralloc_buffer_allocate() 905 …bufDescriptor->hal_format, bufDescriptor->format_type, usage, bufDescriptor->width * bufDescriptor… in mali_gralloc_buffer_allocate() 907 if (bufDescriptor->internal_format == 0) in mali_gralloc_buffer_allocate() 910 bufDescriptor->hal_format, usage); in mali_gralloc_buffer_allocate() 915 if (bufDescriptor->internal_format & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) in mali_gralloc_buffer_allocate() 917 if (bufDescriptor->internal_format & MALI_GRALLOC_INTFMT_AFBC_TILED_HEADERS) in mali_gralloc_buffer_allocate() [all …]
|
D | mali_gralloc_ion.cpp | 388 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)descriptors[i]; in check_buffers_sharable() local 390 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in check_buffers_sharable() 424 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)descriptors[i]; in get_max_buffer_descriptor_index() local 426 if (max_buffer_size < bufDescriptor->size) in get_max_buffer_descriptor_index() 429 max_buffer_size = bufDescriptor->size; in get_max_buffer_descriptor_index() 539 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(descriptors[i]); in mali_gralloc_ion_allocate() local 559 private_handle_t::PRIV_FLAGS_USES_ION | priv_heap_flag, bufDescriptor->size, min_pgsz, in mali_gralloc_ion_allocate() 560 … bufDescriptor->consumer_usage, bufDescriptor->producer_usage, tmp_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate() 561 …bufDescriptor->internal_format, bufDescriptor->byte_stride, bufDescriptor->width, bufDescriptor->h… in mali_gralloc_ion_allocate() 562 bufDescriptor->pixel_stride, bufDescriptor->internalWidth, bufDescriptor->internalHeight, in mali_gralloc_ion_allocate() [all …]
|
D | mali_gralloc_public_interface.cpp | 169 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(*descriptors); in mali_gralloc_allocate() local 173 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_allocate() 184 format = bufDescriptor->hal_format; in mali_gralloc_allocate() 185 width = bufDescriptor->width; in mali_gralloc_allocate() 186 height = bufDescriptor->height; in mali_gralloc_allocate() 196 …if (fb_alloc_framebuffer(m, bufDescriptor->consumer_usage, bufDescriptor->producer_usage, outBuffe… in mali_gralloc_allocate()
|