Home
last modified time | relevance | path

Searched refs:consumer_usage (Results 1 – 24 of 24) sorted by relevance

/device/linaro/hikey/gralloc960/
Dframebuffer_device.cpp422 …c int fb_alloc_from_ion_module(mali_gralloc_module *m, size_t buffer_size, uint64_t consumer_usage, in fb_alloc_from_ion_module() argument
431 fb_buffer_descriptor.consumer_usage = consumer_usage; in fb_alloc_from_ion_module()
440 static int fb_alloc_framebuffer_locked(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t pr… in fb_alloc_framebuffer_locked() argument
471 uint64_t newConsumerUsage = (consumer_usage & ~GRALLOC_USAGE_HW_FB); in fb_alloc_framebuffer_locked()
501 …rivate_handle_t::PRIV_FLAGS_FRAMEBUFFER, framebufferSize, (void *)framebufferVaddr, consumer_usage, in fb_alloc_framebuffer_locked()
511 uint64_t newConsumerUsage = (consumer_usage & ~GRALLOC_USAGE_HW_FB); in fb_alloc_framebuffer_locked()
524 int fb_alloc_framebuffer(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage, in fb_alloc_framebuffer() argument
528 …int err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_str… in fb_alloc_framebuffer()
Dmali_gralloc_buffer.h120 uint64_t consumer_usage; member
176 , consumer_usage(_consumer_usage) in private_handle_t()
211 , consumer_usage(_consumer_usage) in private_handle_t()
Dmali_gralloc_ion.cpp390 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in check_buffers_sharable()
517 usage = max_bufDescriptor->consumer_usage | max_bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
560 … bufDescriptor->consumer_usage, bufDescriptor->producer_usage, tmp_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
579 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
606 …bufDescriptor->consumer_usage, bufDescriptor->producer_usage, shared_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
626 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
Dframebuffer_device.h29 int fb_alloc_framebuffer(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage,
Dmali_gralloc_bufferdescriptor.cpp113 buffer_descriptor->consumer_usage = usage; in mali_gralloc_set_consumerusage_internal()
140 *outUsage = hnd->consumer_usage; in mali_gralloc_get_consumer_usage_internal()
Dmali_gralloc_bufferdescriptor.h40 uint64_t consumer_usage; member
Dmali_gralloc_debug.cpp100 hnd->consumer_usage, hnd->producer_usage, hnd->share_fd, in mali_gralloc_dump_buffers()
Dmali_gralloc_public_interface.cpp173 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_allocate()
196 …if (fb_alloc_framebuffer(m, bufDescriptor->consumer_usage, bufDescriptor->producer_usage, outBuffe… in mali_gralloc_allocate()
Dmali_gralloc_bufferallocation.cpp902 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_buffer_allocate()
1153 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_buffer_allocate()
/device/amlogic/yukawa/hal/gralloc/
Dframebuffer_device.cpp422 …c int fb_alloc_from_ion_module(mali_gralloc_module *m, size_t buffer_size, uint64_t consumer_usage, in fb_alloc_from_ion_module() argument
431 fb_buffer_descriptor.consumer_usage = consumer_usage; in fb_alloc_from_ion_module()
440 static int fb_alloc_framebuffer_locked(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t pr… in fb_alloc_framebuffer_locked() argument
471 uint64_t newConsumerUsage = (consumer_usage & ~GRALLOC_USAGE_HW_FB); in fb_alloc_framebuffer_locked()
501 …rivate_handle_t::PRIV_FLAGS_FRAMEBUFFER, framebufferSize, (void *)framebufferVaddr, consumer_usage, in fb_alloc_framebuffer_locked()
511 uint64_t newConsumerUsage = (consumer_usage & ~GRALLOC_USAGE_HW_FB); in fb_alloc_framebuffer_locked()
524 int fb_alloc_framebuffer(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage, in fb_alloc_framebuffer() argument
528 …int err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_str… in fb_alloc_framebuffer()
Dmali_gralloc_buffer.h135 uint64_t consumer_usage; member
190 , consumer_usage(_consumer_usage) in private_handle_t()
227 , consumer_usage(_consumer_usage) in private_handle_t()
Dmali_gralloc_ion.cpp347 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in check_buffers_sharable()
441 usage = max_bufDescriptor->consumer_usage | max_bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
500 … bufDescriptor->consumer_usage, bufDescriptor->producer_usage, tmp_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
519 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
563 …bufDescriptor->consumer_usage, bufDescriptor->producer_usage, shared_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
583 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
Dframebuffer_device.h29 int fb_alloc_framebuffer(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage,
Dmali_gralloc_bufferdescriptor.cpp124 buffer_descriptor->consumer_usage = usage; in mali_gralloc_set_consumerusage_internal()
151 *outUsage = hnd->consumer_usage; in mali_gralloc_get_consumer_usage_internal()
Dmali_gralloc_bufferdescriptor.h40 uint64_t consumer_usage; member
Dmali_gralloc_debug.cpp100 hnd->consumer_usage, hnd->producer_usage, hnd->share_fd, in mali_gralloc_dump_buffers()
Dmali_gralloc_public_interface.cpp173 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_allocate()
196 …if (fb_alloc_framebuffer(m, bufDescriptor->consumer_usage, bufDescriptor->producer_usage, outBuffe… in mali_gralloc_allocate()
Dmali_gralloc_bufferallocation.cpp902 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_buffer_allocate()
1180 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_buffer_allocate()
/device/generic/goldfish/camera/
DEmulatedCamera2.h126 uint32_t *consumer_usage,
202 uint32_t *consumer_usage,
DEmulatedCamera2.cpp162 uint32_t *consumer_usage, in allocateReprocessStream() argument
293 uint32_t *consumer_usage, in allocate_reprocess_stream() argument
297 reprocess_stream_ops, stream_id, consumer_usage, max_buffers); in allocate_reprocess_stream()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCamera2.h113 uint32_t *consumer_usage, uint32_t *max_buffers);
182 uint32_t *stream_id, uint32_t *consumer_usage, uint32_t *max_buffers);
DEmulatedCamera2.cpp260 uint32_t *consumer_usage, uint32_t *max_buffers) { in allocate_reprocess_stream() argument
264 consumer_usage, max_buffers); in allocate_reprocess_stream()
/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp110 buffer_descriptor.consumer_usage = usage; in alloc_device_alloc()
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp110 buffer_descriptor.consumer_usage = usage; in alloc_device_alloc()