Home
last modified time | relevance | path

Searched refs:bufDescriptor (Results 1 – 6 of 6) sorted by relevance

/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferallocation.cpp895 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()
905bufDescriptor->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 …]
Dmali_gralloc_ion.cpp345 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()
500bufDescriptor->consumer_usage, bufDescriptor->producer_usage, tmp_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
501bufDescriptor->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 …]
Dmali_gralloc_public_interface.cpp169 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/
Dmali_gralloc_bufferallocation.cpp895 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()
905bufDescriptor->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 …]
Dmali_gralloc_ion.cpp388 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()
560bufDescriptor->consumer_usage, bufDescriptor->producer_usage, tmp_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
561bufDescriptor->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 …]
Dmali_gralloc_public_interface.cpp169 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()