Home
last modified time | relevance | path

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

/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferdescriptor.cpp37 buffer_descriptor_t *buffer_descriptor; in mali_gralloc_create_descriptor_internal() local
44 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() local
74 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() local
86 buffer_descriptor->width = width; in mali_gralloc_set_dimensions_internal()
[all …]
Dmali_gralloc_bufferdescriptor.h35 typedef struct buffer_descriptor struct
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferdescriptor.cpp36 buffer_descriptor_t *buffer_descriptor; in mali_gralloc_create_descriptor_internal() local
43 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() local
63 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() local
75 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 …]
Dmali_gralloc_bufferdescriptor.h35 typedef struct buffer_descriptor struct
/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp106 buffer_descriptor_t buffer_descriptor; in alloc_device_alloc() local
109 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()
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp106 buffer_descriptor_t buffer_descriptor; in alloc_device_alloc() local
109 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()