/hardware/qcom/sdm845/display/libqdutils/ |
D | qdMetaData.cpp | 52 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/ |
D | qdMetaData.cpp | 53 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/ |
D | qdMetaData.cpp | 53 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/ |
D | qdMetaData.cpp | 50 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/ |
D | qdMetaData.cpp | 50 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/ |
D | mapper.cpp | 84 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()
|
D | gralloc_priv.h | 224 uintptr_t base_metadata; member 240 base_metadata(eBase) in fd()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | mapper.cpp | 84 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()
|
D | gralloc_priv.h | 226 uint64_t base_metadata __attribute__((aligned(8))); member 243 base_metadata(eBase) in fd()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | mapper.cpp | 60 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()
|
D | gralloc_priv.h | 249 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/ |
D | mapper.cpp | 60 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/ |
D | mapper.cpp | 62 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()
|
D | gralloc_priv.h | 241 uint64_t base_metadata __attribute__((aligned(8))); member 261 base_metadata(eBase) in fd()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | mapper.cpp | 83 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()
|
D | gralloc_priv.h | 185 int base_metadata; member 199 base_metadata(eBase) in fd()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | mapper.cpp | 61 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()
|
D | gralloc_priv.h | 244 uint64_t base_metadata __attribute__((aligned(8))); member 264 base_metadata(eBase) in fd()
|
/hardware/qcom/display/msm8998/libgralloc/ |
D | gralloc_priv.h | 256 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/ |
D | gr_priv_handle.h | 86 uint64_t base_metadata; member 115 base_metadata(0), in fd()
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_priv_handle.h | 84 uint64_t base_metadata __attribute__((aligned(8))); member 125 base_metadata(0), in fd()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_priv_handle.h | 82 uint64_t base_metadata __attribute__((aligned(8))); member 123 base_metadata(0), in fd()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_priv_handle.h | 89 uint64_t base_metadata __attribute__((aligned(8))); member 130 base_metadata(0), in fd()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_priv_handle.h | 88 uint64_t base_metadata __attribute__((aligned(8))); member 129 base_metadata(0), in fd()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display_virtual.cpp | 237 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()
|