Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp514 static bool validate_descriptor(buffer_descriptor_t * const bufDescriptor) { in validate_descriptor() argument
515 uint64_t usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in validate_descriptor()
516 if (!log_obsolete_usage_flags(bufDescriptor->producer_usage | bufDescriptor->consumer_usage)) { in validate_descriptor()
525 if (bufDescriptor->hal_format != MALI_GRALLOC_FORMAT_INTERNAL_BLOB && in validate_descriptor()
526 !validate_size(bufDescriptor->layer_count, bufDescriptor->width, bufDescriptor->height)) { in validate_descriptor()
798 const buffer_descriptor_t * const bufDescriptor) in validate_format() argument
835 bufDescriptor->height != 1) in validate_format()
845 buffer_descriptor_t *bufDescriptor, in prepare_descriptor_exynos_formats() argument
848 int w = bufDescriptor->width; in prepare_descriptor_exynos_formats()
849 int h = bufDescriptor->height; in prepare_descriptor_exynos_formats()
[all …]
Dmali_gralloc_bufferallocation.h99 int mali_gralloc_derive_format_and_size(buffer_descriptor_t * const bufDescriptor);
/hardware/google/gchips/gralloc4/src/allocator/
Dmali_gralloc_ion.cpp373 buffer_descriptor_t *bufDescriptor = reinterpret_cast<buffer_descriptor_t *>(descriptors[i]); in mali_gralloc_ion_allocate() local
374 assert(bufDescriptor); in mali_gralloc_ion_allocate()
375 assert(bufDescriptor->fd_count >= 0); in mali_gralloc_ion_allocate()
376 assert(bufDescriptor->fd_count <= MAX_FDS); in mali_gralloc_ion_allocate()
380 bufDescriptor->alloc_sizes, in mali_gralloc_ion_allocate()
381 bufDescriptor->consumer_usage, bufDescriptor->producer_usage, in mali_gralloc_ion_allocate()
382 nullptr, bufDescriptor->fd_count, in mali_gralloc_ion_allocate()
383 bufDescriptor->hal_format, bufDescriptor->alloc_format, in mali_gralloc_ion_allocate()
384 bufDescriptor->width, bufDescriptor->height, bufDescriptor->pixel_stride, in mali_gralloc_ion_allocate()
385 bufDescriptor->layer_count, bufDescriptor->plane_info); in mali_gralloc_ion_allocate()
[all …]
/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.h62 bool isSupported(buffer_descriptor_t *const bufDescriptor);
DAllocator.cpp248 bool isSupported(buffer_descriptor_t *const bufDescriptor) { in isSupported() argument
250 return (mali_gralloc_derive_format_and_size(bufDescriptor) == 0); in isSupported()