Home
last modified time | relevance | path

Searched refs:alloc_type (Results 1 – 25 of 45) sorted by relevance

12

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp140 static rect_t get_afbc_sb_size(alloc_type_t alloc_type, const uint8_t plane) in get_afbc_sb_size() argument
142 if (plane > 0 && alloc_type.is_afbc() && alloc_type.is_multi_plane) in get_afbc_sb_size()
148 return get_afbc_sb_size(alloc_type.primary_type); in get_afbc_sb_size()
155 alloc_type_t * const alloc_type) in get_alloc_type() argument
157 alloc_type->primary_type = AllocBaseType::UNCOMPRESSED; in get_alloc_type()
158 alloc_type->is_multi_plane = formats[format_idx].npln > 1; in get_alloc_type()
159 alloc_type->is_tiled = false; in get_alloc_type()
160 alloc_type->is_padded = false; in get_alloc_type()
161 alloc_type->is_frontbuffer_safe = false; in get_alloc_type()
175 alloc_type->primary_type = AllocBaseType::AFBC; in get_alloc_type()
[all …]
Dmali_gralloc_bufferallocation.h112 alloc_type_t * const alloc_type);
/hardware/qcom/sm7250/display/gralloc/
Dgr_allocator.cpp118 GetIonHeapInfo(usage, &alloc_data->heap_id, &alloc_data->alloc_type, &alloc_data->flags); in AllocateMem()
122 alloc_data->alloc_type |= private_handle_t::PRIV_FLAGS_USES_ION; in AllocateMem()
201 void Allocator::GetIonHeapInfo(uint64_t usage, unsigned int *ion_heap_id, unsigned int *alloc_type, in GetIonHeapInfo() argument
254 *alloc_type = type; in GetIonHeapInfo()
Dgr_allocator.h58 void GetIonHeapInfo(uint64_t usage, unsigned int *ion_heap_id, unsigned int *alloc_type,
Dgr_ion_alloc.h55 unsigned int alloc_type = 0x0; member
/hardware/qcom/sm8150/display/gralloc/
Dgr_allocator.cpp126 GetIonHeapInfo(usage, &alloc_data->heap_id, &alloc_data->alloc_type, &alloc_data->flags); in AllocateMem()
130 alloc_data->alloc_type |= private_handle_t::PRIV_FLAGS_USES_ION; in AllocateMem()
209 void Allocator::GetIonHeapInfo(uint64_t usage, unsigned int *ion_heap_id, unsigned int *alloc_type, in GetIonHeapInfo() argument
260 *alloc_type = type; in GetIonHeapInfo()
Dgr_allocator.h59 void GetIonHeapInfo(uint64_t usage, unsigned int *ion_heap_id, unsigned int *alloc_type,
Dgr_ion_alloc.h57 unsigned int alloc_type = 0x0; member
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp110 meta_buffer_info->alloc_type = data.allocType; in AllocateBuffer()
125 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer()
127 DLOGE("Memalloc handle is NULL, alloc type %d", meta_buffer_info->alloc_type); in FreeBuffer()
144 meta_buffer_info->alloc_type = 0; in FreeBuffer()
Dhwc_buffer_allocator.h55 int alloc_type; //!< Specifies allocation type set by the buffer allocator. member
/hardware/qcom/display/msm8909/gralloc/
Dgr_allocator.cpp102 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem()
107 alloc_data->alloc_type |= private_handle_t::PRIV_FLAGS_USES_ION; in AllocateMem()
258 unsigned int *alloc_type, unsigned int *ion_flags) { in GetIonHeapInfo() argument
306 *alloc_type = type; in GetIonHeapInfo()
Dgr_ion_alloc.h56 unsigned int alloc_type = 0x0; member
Dgr_allocator.h68 unsigned int *ion_heap_id, unsigned int *alloc_type, unsigned int *ion_flags);
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_allocator.cpp102 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem()
107 alloc_data->alloc_type |= private_handle_t::PRIV_FLAGS_USES_ION; in AllocateMem()
258 unsigned int *alloc_type, unsigned int *ion_flags) { in GetIonHeapInfo() argument
306 *alloc_type = type; in GetIonHeapInfo()
Dgr_ion_alloc.h56 unsigned int alloc_type = 0x0; member
Dgr_allocator.h68 unsigned int *ion_heap_id, unsigned int *alloc_type, unsigned int *ion_flags);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp117 meta_buffer_info->alloc_type = data.allocType; in AllocateBuffer()
131 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer()
133 DLOGE("Memalloc handle is NULL, alloc type %d", meta_buffer_info->alloc_type); in FreeBuffer()
152 meta_buffer_info->alloc_type = 0; in FreeBuffer()
Dhwc_buffer_allocator.h61 int alloc_type; //!< Specifies allocation type set by the buffer allocator. member
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp117 meta_buffer_info->alloc_type = data.allocType; in AllocateBuffer()
131 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer()
133 DLOGE("Memalloc handle is NULL, alloc type %d", meta_buffer_info->alloc_type); in FreeBuffer()
152 meta_buffer_info->alloc_type = 0; in FreeBuffer()
Dhwc_buffer_allocator.h61 int alloc_type; //!< Specifies allocation type set by the buffer allocator. member
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_ion_alloc.h56 unsigned int alloc_type = 0x0; member
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_ion_alloc.h56 unsigned int alloc_type = 0x0; member
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.h56 void GetAlignedWidthAndHeight(int width, int height, int format, uint32_t alloc_type,
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_buffer_allocator.h56 void GetAlignedWidthAndHeight(int width, int height, int format, uint32_t alloc_type,
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_buffer_allocator.h56 void GetAlignedWidthAndHeight(int width, int height, int format, uint32_t alloc_type,

12