Home
last modified time | relevance | path

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

123

/hardware/qcom/sdm845/display/libqdutils/
DqdMetaData.cpp52 if (!handle->base_metadata) { in validateAndMap()
62 handle->base_metadata = (uintptr_t) base; in validateAndMap()
68 if (private_handle_t::validate(handle) == 0 && handle->base_metadata) { in unmapAndReset()
69 munmap(reinterpret_cast<void *>(handle->base_metadata), getMetaDataSize()); in unmapAndReset()
70 handle->base_metadata = 0; in unmapAndReset()
79 return setMetaDataVa(reinterpret_cast<MetaData_t*>(handle->base_metadata), in setMetaData()
161 return clearMetaDataVa(reinterpret_cast<MetaData_t *>(handle->base_metadata), in clearMetaData()
186 return getMetaDataVa(reinterpret_cast<MetaData_t *>(handle->base_metadata), in getMetaData()
310 MetaData_t *src_data = reinterpret_cast <MetaData_t *>(src->base_metadata); in copyMetaData()
311 MetaData_t *dst_data = reinterpret_cast <MetaData_t *>(dst->base_metadata); in copyMetaData()
[all …]
/hardware/qcom/display/msm8909w_3100/libqdutils/
DqdMetaData.cpp53 if (!handle->base_metadata) { in validateAndMap()
63 handle->base_metadata = (uintptr_t) base; in validateAndMap()
73 return setMetaDataVa(reinterpret_cast<MetaData_t*>(handle->base_metadata), in setMetaData()
139 return clearMetaDataVa(reinterpret_cast<MetaData_t *>(handle->base_metadata), in clearMetaData()
164 return getMetaDataVa(reinterpret_cast<MetaData_t *>(handle->base_metadata), in getMetaData()
266 MetaData_t *src_data = reinterpret_cast <MetaData_t *>(src->base_metadata); in copyMetaData()
267 MetaData_t *dst_data = reinterpret_cast <MetaData_t *>(dst->base_metadata); in copyMetaData()
281 MetaData_t *dst_data = reinterpret_cast <MetaData_t *>(dst->base_metadata); in copyMetaDataVaToHandle()
295 MetaData_t *src_data = reinterpret_cast <MetaData_t *>(src->base_metadata); in copyMetaDataHandleToVa()
/hardware/qcom/display/msm8909/libqdutils/
DqdMetaData.cpp53 if (!handle->base_metadata) { in validateAndMap()
63 handle->base_metadata = (uintptr_t) base; in validateAndMap()
73 return setMetaDataVa(reinterpret_cast<MetaData_t*>(handle->base_metadata), in setMetaData()
137 return clearMetaDataVa(reinterpret_cast<MetaData_t *>(handle->base_metadata), in clearMetaData()
162 return getMetaDataVa(reinterpret_cast<MetaData_t *>(handle->base_metadata), in getMetaData()
262 MetaData_t *src_data = reinterpret_cast <MetaData_t *>(src->base_metadata); in copyMetaData()
263 MetaData_t *dst_data = reinterpret_cast <MetaData_t *>(dst->base_metadata); in copyMetaData()
277 MetaData_t *dst_data = reinterpret_cast <MetaData_t *>(dst->base_metadata); in copyMetaDataVaToHandle()
291 MetaData_t *src_data = reinterpret_cast <MetaData_t *>(src->base_metadata); in copyMetaDataHandleToVa()
/hardware/qcom/display/msm8998/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()
131 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in clearMetaData()
150 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in getMetaData()
246 MetaData_t *src_data = reinterpret_cast <MetaData_t *>(src->base_metadata); in copyMetaData()
247 MetaData_t *dst_data = reinterpret_cast <MetaData_t *>(dst->base_metadata); in copyMetaData()
/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/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/msm8909w_3100/libgralloc/
Dmapper.cpp60 hnd->base_metadata = 0; in gralloc_map_metadata()
74 hnd->base_metadata = uint64_t(mappedAddress); 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.h249 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()
/hardware/qcom/display/msm8909/libgralloc/
Dmapper.cpp60 hnd->base_metadata = 0; in gralloc_map_metadata()
74 hnd->base_metadata = uint64_t(mappedAddress); 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()
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp62 hnd->base_metadata = 0; in gralloc_map_metadata()
76 hnd->base_metadata = uint64_t(mappedAddress); 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.cpp61 hnd->base_metadata = 0; in gralloc_map_metadata()
75 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
147 if(hnd->base_metadata) { in gralloc_unmap()
149 err = memalloc->unmap_buffer((void*)hnd->base_metadata, in gralloc_unmap()
153 (void*) hnd->base_metadata, strerror(errno)); in gralloc_unmap()
156 hnd->base_metadata = 0; in gralloc_unmap()
472 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
495 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
512 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform()
533 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/libgralloc/
Dgralloc_priv.h256 uint64_t base_metadata __attribute__((aligned(8))); member
276 base_metadata(0), unaligned_width(width), in private_handle_t()
291 base_metadata = eBase; in private_handle_t()
/hardware/qcom/sdm845/display/gralloc/
Dgr_priv_handle.h86 uint64_t base_metadata; member
115 base_metadata(0), in fd()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_priv_handle.h84 uint64_t base_metadata __attribute__((aligned(8))); member
125 base_metadata(0), in fd()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_priv_handle.h82 uint64_t base_metadata __attribute__((aligned(8))); member
123 base_metadata(0), in fd()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_priv_handle.h89 uint64_t base_metadata __attribute__((aligned(8))); member
130 base_metadata(0), in fd()
/hardware/qcom/display/msm8909/gralloc/
Dgr_priv_handle.h88 uint64_t base_metadata __attribute__((aligned(8))); member
129 base_metadata(0), in fd()
/hardware/qcom/display/msm8909/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()

123