Searched refs:buffer_descriptor (Results 1 – 6 of 6) sorted by relevance
37 buffer_descriptor_t *buffer_descriptor; in mali_gralloc_create_descriptor_internal() local44 buffer_descriptor = reinterpret_cast<buffer_descriptor_t *>(malloc(sizeof(buffer_descriptor_t))); in mali_gralloc_create_descriptor_internal()46 if (NULL == buffer_descriptor) in mali_gralloc_create_descriptor_internal()59 memset((void *)buffer_descriptor, 0, sizeof(*buffer_descriptor)); in mali_gralloc_create_descriptor_internal()60 buffer_descriptor->layer_count = 1; in mali_gralloc_create_descriptor_internal()62 *outDescriptor = (gralloc1_buffer_descriptor_t)buffer_descriptor; in mali_gralloc_create_descriptor_internal()73 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_destroy_descriptor_internal() local74 free(buffer_descriptor); in mali_gralloc_destroy_descriptor_internal()85 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_dimensions_internal() local86 buffer_descriptor->width = width; in mali_gralloc_set_dimensions_internal()[all …]
35 typedef struct buffer_descriptor struct
36 buffer_descriptor_t *buffer_descriptor; in mali_gralloc_create_descriptor_internal() local43 buffer_descriptor = reinterpret_cast<buffer_descriptor_t *>(malloc(sizeof(buffer_descriptor_t))); in mali_gralloc_create_descriptor_internal()45 if (NULL == buffer_descriptor) in mali_gralloc_create_descriptor_internal()51 *outDescriptor = (gralloc1_buffer_descriptor_t)buffer_descriptor; in mali_gralloc_create_descriptor_internal()62 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_destroy_descriptor_internal() local63 free(buffer_descriptor); in mali_gralloc_destroy_descriptor_internal()74 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_dimensions_internal() local75 buffer_descriptor->width = width; in mali_gralloc_set_dimensions_internal()76 buffer_descriptor->height = height; in mali_gralloc_set_dimensions_internal()87 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_format_internal() local[all …]
106 buffer_descriptor_t buffer_descriptor; in alloc_device_alloc() local109 buffer_descriptor.hal_format = format; in alloc_device_alloc()110 buffer_descriptor.consumer_usage = usage; in alloc_device_alloc()111 buffer_descriptor.producer_usage = usage; in alloc_device_alloc()112 buffer_descriptor.width = w; in alloc_device_alloc()113 buffer_descriptor.height = h; in alloc_device_alloc()114 buffer_descriptor.layer_count = 1; in alloc_device_alloc()115 buffer_descriptor.format_type = MALI_GRALLOC_FORMAT_TYPE_USAGE; in alloc_device_alloc()116 gralloc_buffer_descriptor[0] = (gralloc_buffer_descriptor_t)(&buffer_descriptor); in alloc_device_alloc()
106 buffer_descriptor_t buffer_descriptor; in alloc_device_alloc() local109 buffer_descriptor.hal_format = format; in alloc_device_alloc()110 buffer_descriptor.consumer_usage = usage; in alloc_device_alloc()111 buffer_descriptor.producer_usage = usage; in alloc_device_alloc()112 buffer_descriptor.width = w; in alloc_device_alloc()113 buffer_descriptor.height = h; in alloc_device_alloc()114 buffer_descriptor.format_type = MALI_GRALLOC_FORMAT_TYPE_USAGE; in alloc_device_alloc()115 gralloc_buffer_descriptor[0] = (gralloc_buffer_descriptor_t)(&buffer_descriptor); in alloc_device_alloc()