Home
last modified time | relevance | path

Searched refs:base_metadata (Results 1 – 25 of 53) sorted by relevance

123

/hardware/qcom/display/msm8996/libqdutils/
DqdMetaData.cpp50 if (!handle->base_metadata) { in validateAndMap()
60 handle->base_metadata = (uintptr_t) base; in validateAndMap()
71 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in setMetaData()
123 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in getMetaData()
205 MetaData_t *src_data = reinterpret_cast <MetaData_t *>(src->base_metadata); in copyMetaData()
206 MetaData_t *dst_data = reinterpret_cast <MetaData_t *>(dst->base_metadata); in copyMetaData()
/hardware/qcom/display/msm8909/libgralloc/
Dmapper.cpp95 hnd->base_metadata = 0; in gralloc_map()
98 hnd->base_metadata = uint64_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
121 base = (void*)hnd->base_metadata; in gralloc_unmap()
132 hnd->base_metadata = 0; in gralloc_unmap()
160 hnd->base_metadata = 0; in gralloc_register_buffer()
189 hnd->base_metadata = 0; in gralloc_unregister_buffer()
371 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
389 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
424 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
Dgralloc_priv.h227 uint64_t base_metadata __attribute__((aligned(8))); member
244 base_metadata(eBase) in fd()
251 base_metadata = 0; in ~private_handle_t()
/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp84 hnd->base_metadata = 0; in gralloc_map()
87 hnd->base_metadata = intptr_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
109 base = (void*)hnd->base_metadata; in gralloc_unmap()
120 hnd->base_metadata = 0; in gralloc_unmap()
147 hnd->base_metadata = 0; in gralloc_register_buffer()
175 hnd->base_metadata = 0; in gralloc_unregister_buffer()
371 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
388 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
422 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
Dgralloc_priv.h224 uintptr_t base_metadata; member
240 base_metadata(eBase) in fd()
/hardware/qcom/display/msm8226/libgralloc/
Dmapper.cpp84 hnd->base_metadata = 0; in gralloc_map()
87 hnd->base_metadata = uint64_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
109 base = (void*)hnd->base_metadata; in gralloc_unmap()
120 hnd->base_metadata = 0; in gralloc_unmap()
147 hnd->base_metadata = 0; in gralloc_register_buffer()
175 hnd->base_metadata = 0; in gralloc_unregister_buffer()
371 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
388 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
422 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
Dgralloc_priv.h226 uint64_t base_metadata __attribute__((aligned(8))); member
243 base_metadata(eBase) in fd()
/hardware/qcom/display/msm8998/libgralloc/
Dmapper.cpp60 hnd->base_metadata = 0; in gralloc_map_metadata()
74 hnd->base_metadata = uint64_t(mappedAddress) + hnd->offset_metadata; in gralloc_map_metadata()
146 if(hnd->base_metadata) { in gralloc_unmap()
148 err = memalloc->unmap_buffer((void*)hnd->base_metadata, in gralloc_unmap()
152 (void*) hnd->base_metadata, strerror(errno)); in gralloc_unmap()
155 hnd->base_metadata = 0; in gralloc_unmap()
413 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
459 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
476 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
497 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
Dgralloc_priv.h247 uint64_t base_metadata __attribute__((aligned(8))); member
267 base_metadata(0), unaligned_width(width), in private_handle_t()
282 base_metadata = eBase; in private_handle_t()
Dalloc_controller.cpp152 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getAlignedWidthAndHeight()
173 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getUnalignedWidthAndHeight()
744 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getYUVPlaneInfo()
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp62 hnd->base_metadata = 0; in gralloc_map_metadata()
76 hnd->base_metadata = uint64_t(mappedAddress) + hnd->offset_metadata; in gralloc_map_metadata()
148 if(hnd->base_metadata) { in gralloc_unmap()
150 err = memalloc->unmap_buffer((void*)hnd->base_metadata, in gralloc_unmap()
154 (void*) hnd->base_metadata, strerror(errno)); in gralloc_unmap()
157 hnd->base_metadata = 0; in gralloc_unmap()
423 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
440 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
473 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
496 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
Dgralloc_priv.h241 uint64_t base_metadata __attribute__((aligned(8))); member
261 base_metadata(eBase) in fd()
/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp83 hnd->base_metadata = 0; in gralloc_map()
86 hnd->base_metadata = intptr_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
105 base = (void*)hnd->base_metadata; in gralloc_unmap()
116 hnd->base_metadata = 0; in gralloc_unmap()
143 hnd->base_metadata = 0; in gralloc_register_buffer()
171 hnd->base_metadata = 0; in gralloc_unregister_buffer()
398 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
Dgralloc_priv.h185 int base_metadata; member
199 base_metadata(eBase) in fd()
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp62 hnd->base_metadata = 0; in gralloc_map_metadata()
76 hnd->base_metadata = uint64_t(mappedAddress) + hnd->offset_metadata; in gralloc_map_metadata()
148 if(hnd->base_metadata) { in gralloc_unmap()
150 err = memalloc->unmap_buffer((void*)hnd->base_metadata, in gralloc_unmap()
154 (void*) hnd->base_metadata, strerror(errno)); in gralloc_unmap()
157 hnd->base_metadata = 0; in gralloc_unmap()
473 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
496 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
513 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
534 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
Dgralloc_priv.h244 uint64_t base_metadata __attribute__((aligned(8))); member
264 base_metadata(eBase) in fd()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_priv_handle.h80 uint64_t base_metadata __attribute__((aligned(8))); member
121 base_metadata(0), in fd()
Dgr_buf_mgr.cpp195 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer()
212 hnd->base_metadata = 0; in MapBuffer()
219 if (allocator_->MapBuffer(reinterpret_cast<void **>(&hnd->base_metadata), size, in MapBuffer()
455 hnd->base_metadata = reinterpret_cast<uint64_t >(e_data.base); in AllocateBuffer()
571 MetaData_t *metadata = reinterpret_cast<MetaData_t *>(hnd->base_metadata); in Perform()
588 MetaData_t *metadata = reinterpret_cast<MetaData_t *>(hnd->base_metadata); in Perform()
627 MetaData_t *metadata = reinterpret_cast<MetaData_t *>(hnd->base_metadata); in Perform()
669 MetaData_t *metadata = reinterpret_cast<MetaData_t *>(hnd->base_metadata); in Perform()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_priv_handle.h80 uint64_t base_metadata __attribute__((aligned(8))); member
121 base_metadata(0), in fd()
Dgr_buf_mgr.cpp199 if (allocator_->FreeBuffer(reinterpret_cast<void *>(hnd->base_metadata), meta_size, in FreeBuffer()
234 hnd->base_metadata = 0; in ImportHandle()
254 hnd->base_metadata = 0; in MapBuffer()
262 if (allocator_->MapBuffer(reinterpret_cast<void **>(&hnd->base_metadata), size, in MapBuffer()
525 hnd->base_metadata = 0; in AllocateBuffer()
/hardware/qcom/display/msm8998/sdm/libs/hwc/
Dhwc_display_virtual.cpp237 const MetaData_t *meta_data = reinterpret_cast<MetaData_t *>(output_handle->base_metadata); in SetOutputSliceFromMetadata()
295 const MetaData_t *meta_data = reinterpret_cast<MetaData_t *>(output_handle->base_metadata); in SetOutputBuffer()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.h246 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getWidth()
256 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getHeight()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.h423 MetaData_t *metadata = reinterpret_cast<MetaData_t*>(hnd->base_metadata); in getWidth()
433 MetaData_t *metadata = reinterpret_cast<MetaData_t*>(hnd->base_metadata); in getHeight()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.h450 MetaData_t *metadata = reinterpret_cast<MetaData_t*>(hnd->base_metadata); in getWidth()
460 MetaData_t *metadata = reinterpret_cast<MetaData_t*>(hnd->base_metadata); in getHeight()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_virtual.cpp237 const MetaData_t *meta_data = reinterpret_cast<MetaData_t *>(output_handle->base_metadata); in SetOutputSliceFromMetadata()

123