Home
last modified time | relevance | path

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

12

/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp87 uint64_t consumer_usage = UINT64(alloc_flags); in AllocateBuffer() local
92 producer_usage, consumer_usage, &hnd); in AllocateBuffer()
130 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAlignedWidthAndHeight() local
132 consumer_usage = GRALLOC1_CONSUMER_USAGE_CLIENT_TARGET; in GetAlignedWidthAndHeight()
136 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight()
162 uint64_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetBufferSize() local
165 consumer_usage = producer_usage; in GetBufferSize()
167 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetBufferSize()
303 uint64_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAllocatedBufferInfo() local
306 consumer_usage = producer_usage; in GetAllocatedBufferInfo()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp82 uint64_t consumer_usage = UINT64(alloc_flags); in AllocateBuffer() local
86 producer_usage, consumer_usage, &hnd); in AllocateBuffer()
124 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAlignedWidthAndHeight() local
126 consumer_usage = GRALLOC1_CONSUMER_USAGE_CLIENT_TARGET; in GetAlignedWidthAndHeight()
130 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight()
156 uint64_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetBufferSize() local
159 consumer_usage = producer_usage; in GetBufferSize()
161 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetBufferSize()
297 uint64_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAllocatedBufferInfo() local
300 consumer_usage = producer_usage; in GetAllocatedBufferInfo()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp115 uint64_t consumer_usage = (alloc_flags | GRALLOC1_CONSUMER_USAGE_HWCOMPOSER); in AllocateBuffer() local
119 producer_usage, consumer_usage, &hnd); in AllocateBuffer()
160 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAlignedWidthAndHeight() local
162 consumer_usage = GRALLOC1_CONSUMER_USAGE_CLIENT_TARGET; in GetAlignedWidthAndHeight()
169 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight()
195 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetBufferSize() local
198 consumer_usage = gralloc1_consumer_usage_t(alloc_flags); in GetBufferSize()
199 gralloc1::BufferInfo info(width, height, format, producer_usage, consumer_usage); in GetBufferSize()
348 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAllocatedBufferInfo() local
351 consumer_usage = gralloc1_consumer_usage_t(alloc_flags); in GetAllocatedBufferInfo()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp93 uint64_t consumer_usage = alloc_flags; in AllocateBuffer() local
97 producer_usage, consumer_usage, &hnd); in AllocateBuffer()
136 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAlignedWidthAndHeight() local
138 consumer_usage = GRALLOC1_CONSUMER_USAGE_CLIENT_TARGET; in GetAlignedWidthAndHeight()
145 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight()
171 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetBufferSize() local
174 consumer_usage = gralloc1_consumer_usage_t(alloc_flags); in GetBufferSize()
175 gralloc1::BufferInfo info(width, height, format, producer_usage, consumer_usage); in GetBufferSize()
324 gralloc1_consumer_usage_t consumer_usage = GRALLOC1_CONSUMER_USAGE_NONE; in GetAllocatedBufferInfo() local
327 consumer_usage = gralloc1_consumer_usage_t(alloc_flags); in GetAllocatedBufferInfo()
[all …]
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferdescriptor.h42 uint64_t consumer_usage; member
65 consumer_usage(0), in buffer_descriptor_t()
98 describe_usage(consumer_usage).c_str(), consumer_usage, in dump()
Dmali_gralloc_bufferallocation.cpp515 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()
850 uint64_t usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in prepare_descriptor_exynos_formats()
859 bufDescriptor->consumer_usage |= GRALLOC_USAGE_VIDEO_PRIVATE_DATA; in prepare_descriptor_exynos_formats()
1044 uint64_t usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_derive_format_and_size()
1204 assert(bufDescriptor->producer_usage == bufDescriptor->consumer_usage); in mali_gralloc_buffer_allocate()
1211 bufDescriptor->consumer_usage = usage; in mali_gralloc_buffer_allocate()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_priv_handle.h88 gralloc1_consumer_usage_t consumer_usage __attribute__((aligned(8))); member
129 consumer_usage(cons_usage), in fd()
178 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage, in Dump()
195 gralloc1_consumer_usage_t GetConsumerUsage() const { return consumer_usage; } in GetConsumerUsage()
Dgr_buf_mgr.cpp606 uint64_t consumer_usage = va_arg(args, uint64_t); in Perform() local
608 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); in Perform()
704 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local
708 auto descriptor = BufferDescriptor(width, height, format, producer_usage, consumer_usage); in Perform()
722 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local
723 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform()
822 *os << " cons_usage: " << "0x" << std::setw(8) << hnd->consumer_usage; in Dump()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_priv_handle.h86 gralloc1_consumer_usage_t consumer_usage __attribute__((aligned(8))); member
127 consumer_usage(cons_usage), in fd()
170 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage, in Dump()
187 gralloc1_consumer_usage_t GetConsumerUsage() const { return consumer_usage; } in GetConsumerUsage()
Dgr_buf_mgr.cpp614 uint64_t consumer_usage = va_arg(args, uint64_t); in Perform() local
616 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); in Perform()
712 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local
716 auto descriptor = BufferDescriptor(width, height, format, producer_usage, consumer_usage); in Perform()
730 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local
731 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform()
830 *os << " cons_usage: " << "0x" << std::setw(8) << hnd->consumer_usage; in Dump()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_priv_handle.h93 gralloc1_consumer_usage_t consumer_usage __attribute__((aligned(8))); member
134 consumer_usage(cons_usage), in fd()
176 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage, in Dump()
193 gralloc1_consumer_usage_t GetConsumerUsage() const { return consumer_usage; } in GetConsumerUsage()
Dgr_buf_mgr.cpp644 uint64_t consumer_usage = va_arg(args, uint64_t); in Perform() local
646 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); in Perform()
778 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local
787 auto info = BufferInfo(width, height, format, producer_usage, consumer_usage); in Perform()
790 auto align = GetDataAlignment(format, producer_usage, consumer_usage); in Perform()
802 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local
803 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform()
921 *os << " cons_usage: " << "0x" << std::setw(8) << hnd->consumer_usage; in Dump()
/hardware/qcom/display/msm8909/gralloc/
Dgr_priv_handle.h92 gralloc1_consumer_usage_t consumer_usage __attribute__((aligned(8))); member
133 consumer_usage(cons_usage), in fd()
175 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage, in Dump()
192 gralloc1_consumer_usage_t GetConsumerUsage() const { return consumer_usage; } in GetConsumerUsage()
Dgr_buf_mgr.cpp647 uint64_t consumer_usage = va_arg(args, uint64_t); in Perform() local
649 gralloc1_consumer_usage_t cons_usage = static_cast<gralloc1_consumer_usage_t>(consumer_usage); in Perform()
778 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local
787 auto info = BufferInfo(width, height, format, producer_usage, consumer_usage); in Perform()
790 auto align = GetDataAlignment(format, producer_usage, consumer_usage); in Perform()
803 gralloc1_consumer_usage_t consumer_usage = static_cast<gralloc1_consumer_usage_t>(c_usage); in Perform() local
804 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform()
922 *os << " cons_usage: " << "0x" << std::setw(8) << hnd->consumer_usage; in Dump()
/hardware/google/gchips/gralloc4/src/
Dmali_gralloc_buffer4.h196 uint64_t consumer_usage DEFAULT_INITIALIZER(0);
277 consumer_usage = _consumer_usage; in private_handle_t()
348 return producer_usage | consumer_usage; in get_usage()
413 producer_usage, consumer_usage, in dump()
Dmali_gralloc_buffer.h196 uint64_t consumer_usage DEFAULT_INITIALIZER(0);
277 consumer_usage = _consumer_usage; in private_handle_t()
348 return producer_usage | consumer_usage; in get_usage()
413 producer_usage, consumer_usage, in dump()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp190 GRALLOC_META_GETTER(uint64_t, consumer_usage, consumer_usage);
229 return gralloc_hnd->producer_usage | gralloc_hnd->consumer_usage; in get_usage()
349 uint64_t usage = gralloc_hnd->producer_usage | gralloc_hnd->consumer_usage; in init()
370 consumer_usage = gralloc_hnd->consumer_usage; in init()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc5/
Dvendor_graphicbuffer_meta.cpp227 GRALLOC_META_GETTER(uint64_t, consumer_usage, consumer_usage);
264 return gralloc_hnd->producer_usage | gralloc_hnd->consumer_usage; in get_usage()
359 gralloc_hnd->producer_usage | gralloc_hnd->consumer_usage; in init()
380 consumer_usage = gralloc_hnd->consumer_usage; in init()
/hardware/google/gchips/gralloc4/src/allocator/
Dmali_gralloc_ion.cpp381 bufDescriptor->consumer_usage, bufDescriptor->producer_usage, in mali_gralloc_ion_allocate()
400 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
429 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
493 uint64_t usage = hnd->producer_usage | hnd->consumer_usage; in mali_gralloc_ion_map()
/hardware/qcom/display/msm8996/libgralloc/
Dgralloc_priv.h241 int consumer_usage; member
262 producer_usage(0), consumer_usage(0), in fd()
/hardware/qcom/display/msm8994/libgralloc/
Dgralloc_priv.h238 int consumer_usage; member
259 producer_usage(0), consumer_usage(0), in fd()
/hardware/google/camera/common/hal/google_camera_hal/
Dhdrplus_capture_session.cc279 uint64_t consumer_usage = 0; in BuildPipelines() local
282 consumer_usage = hdrplus_hal_configured_streams[i].consumer_usage; in BuildPipelines()
289 hal_configured_streams->at(i).consumer_usage = consumer_usage; in BuildPipelines()
/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.cpp97 (bufferDescriptor.consumer_usage & GRALLOC_USAGE_HW_FB)) && in allocate()
145 const uint64_t usage = bufferDescriptor.consumer_usage | bufferDescriptor.producer_usage; in allocate()
DMapperMetadata.cpp441 err = android::gralloc4::encodeUsage(handle->consumer_usage | handle->producer_usage, &vec); in get_metadata()
457 …(((handle->consumer_usage | handle->producer_usage) & static_cast<uint64_t>(BufferUsage::PROTECTED… in get_metadata()
749 descriptor.consumer_usage = descriptor.producer_usage; in getFromBufferDescriptorInfo()
763 …private_handle_t partial_handle(0, descriptor.alloc_sizes, descriptor.consumer_usage, descriptor.p… in getFromBufferDescriptorInfo()
815 …(((partial_handle.consumer_usage | partial_handle.producer_usage) & static_cast<uint64_t>(BufferUs… in getFromBufferDescriptorInfo()
866 … partial_handle.consumer_usage | partial_handle.producer_usage, partial_handle.width, in getFromBufferDescriptorInfo()
/hardware/google/gchips/libvendorgraphicbuffer/include/
DVendorGraphicBuffer.h114 uint64_t consumer_usage = 0llu; variable

12