Home
last modified time | relevance | path

Searched refs:bufferDescriptor (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gchips/GrallocHAL/src/hidl_common/
DAllocator.cpp35 void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb … in allocate() argument
47 grallocBufferDescriptor[0] = (gralloc_buffer_descriptor_t)(&bufferDescriptor); in allocate()
56 if (((bufferDescriptor.producer_usage & GRALLOC_USAGE_HW_FB) || in allocate()
57 (bufferDescriptor.consumer_usage & GRALLOC_USAGE_HW_FB)) && in allocate()
60 allocResult = fb_allocator(&bufferDescriptor, &tmpBuffer); in allocate()
75 hnd->reserved_region_size = bufferDescriptor.reserved_size; in allocate()
92 mapper::common::shared_metadata_init(hnd->attr_base, bufferDescriptor.name); in allocate()
94 const uint32_t base_format = bufferDescriptor.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in allocate()
95 const uint64_t usage = bufferDescriptor.consumer_usage | bufferDescriptor.producer_usage; in allocate()
113 tmpStride = bufferDescriptor.pixel_stride; in allocate()
DAllocator.h54 void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb …
/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.cpp39 void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb … in allocate() argument
52 grallocBufferDescriptor[0] = (gralloc_buffer_descriptor_t)(&bufferDescriptor); in allocate()
61 if (((bufferDescriptor.producer_usage & GRALLOC_USAGE_HW_FB) || in allocate()
62 (bufferDescriptor.consumer_usage & GRALLOC_USAGE_HW_FB)) && in allocate()
65 allocResult = fb_allocator(&bufferDescriptor, &tmpBuffer); in allocate()
84 hnd->reserved_region_size = bufferDescriptor.reserved_size; in allocate()
107 mapper::common::shared_metadata_init(hnd->attr_base, bufferDescriptor.name); in allocate()
109 const uint32_t base_format = bufferDescriptor.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in allocate()
110 const uint64_t usage = bufferDescriptor.consumer_usage | bufferDescriptor.producer_usage; in allocate()
128 tmpStride = bufferDescriptor.pixel_stride; in allocate()
DAllocator.h54 void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb …
/hardware/google/gchips/GrallocHAL/src/4.x/
DGrallocAllocator.cpp56 buffer_descriptor_t bufferDescriptor; in allocate() local
57 if (!mapper::common::grallocDecodeBufferDescriptor(descriptor, bufferDescriptor)) in allocate()
62 common::allocate(bufferDescriptor, count, hidl_cb); in allocate()
/hardware/google/gchips/gralloc4/src/4.x/
DGrallocAllocator.cpp56 buffer_descriptor_t bufferDescriptor; in allocate() local
57 if (!mapper::common::grallocDecodeBufferDescriptor(descriptor, bufferDescriptor)) in allocate()
62 common::allocate(bufferDescriptor, count, hidl_cb); in allocate()
/hardware/google/gchips/GrallocHAL/src/aidl/
DGrallocAllocator.cpp35 buffer_descriptor_t bufferDescriptor; in allocate() local
37 bufferDescriptor)) { in allocate()
63 arm::allocator::common::allocate(bufferDescriptor, count, hidl_cb); in allocate()
/hardware/google/gchips/gralloc4/src/aidl/
DGrallocAllocator.cpp35 buffer_descriptor_t bufferDescriptor; in allocate() local
37 bufferDescriptor)) { in allocate()
63 arm::allocator::common::allocate(bufferDescriptor, count, hidl_cb); in allocate()