Searched refs:memInfo (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 463 int QCameraMemory::allocOneBuffer(QCameraMemInfo &memInfo, in allocOneBuffer() argument 509 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer() 510 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 511 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 512 memInfo.size = alloc.len; in allocOneBuffer() 513 memInfo.cached = cached; in allocOneBuffer() 514 memInfo.heap_id = heap_id; in allocOneBuffer() 517 (unsigned long)memInfo.handle, alloc.len); in allocOneBuffer() 540 void QCameraMemory::deallocOneBuffer(QCameraMemInfo &memInfo) in deallocOneBuffer() argument 544 if (memInfo.fd >= 0) { in deallocOneBuffer() [all …]
|
D | QCameraMem.h | 149 static int allocOneBuffer(struct QCameraMemInfo &memInfo, 151 static void deallocOneBuffer(struct QCameraMemInfo &memInfo); 169 int allocateBuffer(struct QCameraMemory::QCameraMemInfo &memInfo, 172 void releaseBuffer(struct QCameraMemory::QCameraMemInfo &memInfo, 178 int findBufferLocked(struct QCameraMemory::QCameraMemInfo &memInfo,
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 305 int QCamera3HeapMemory::allocOneBuffer(QCamera3MemInfo &memInfo, in allocOneBuffer() argument 342 memInfo.fd = ion_info_fd.fd; in allocOneBuffer() 343 memInfo.handle = ion_info_fd.handle; in allocOneBuffer() 344 memInfo.size = allocData.len; in allocOneBuffer() 366 void QCamera3HeapMemory::deallocOneBuffer(QCamera3MemInfo &memInfo) in deallocOneBuffer() argument 370 if (memInfo.fd >= 0) { in deallocOneBuffer() 371 close(memInfo.fd); in deallocOneBuffer() 372 memInfo.fd = -1; in deallocOneBuffer() 377 handle_data.handle = memInfo.handle; in deallocOneBuffer() 380 memInfo.handle = 0; in deallocOneBuffer() [all …]
|
D | QCamera3Mem.h | 125 int allocOneBuffer(struct QCamera3MemInfo &memInfo, 127 void deallocOneBuffer(struct QCamera3MemInfo &memInfo);
|
/hardware/google/gfxstream/host/vulkan/ |
D | VkAndroidNativeBuffer.cpp | 190 const auto& memInfo = cbInfo.memory; in prepareAndroidNativeBufferImage() local 194 if (out->memReqs.size < memInfo.size) { in prepareAndroidNativeBufferImage() 195 out->memReqs.size = memInfo.size; in prepareAndroidNativeBufferImage() 198 if (memInfo.dedicatedAllocation) { in prepareAndroidNativeBufferImage() 199 if (!importExternalMemoryDedicatedImage(vk, device, &memInfo, out->image, in prepareAndroidNativeBufferImage() 206 if (!importExternalMemory(vk, device, &memInfo, &out->imageMemory)) { in prepareAndroidNativeBufferImage() 212 bindOffset = memInfo.bindOffset; in prepareAndroidNativeBufferImage()
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | ResourceTracker.cpp | 1081 auto& memInfo = it->second; in unregister_VkDeviceMemory() local 1084 if (memInfo.ahw) { in unregister_VkDeviceMemory() 1087 gralloc->release(memInfo.ahw); in unregister_VkDeviceMemory() 1091 if (memInfo.vmoHandle != ZX_HANDLE_INVALID) { in unregister_VkDeviceMemory() 1092 zx_handle_close(memInfo.vmoHandle); in unregister_VkDeviceMemory() 2160 auto& memInfo = itr->second; in on_vkDestroyDevice_pre() local 2161 if (memInfo.device == device) { in on_vkDestroyDevice_pre() 6183 auto& memInfo = it->second; in on_vkMapMemoryIntoAddressSpaceGOOGLE_pre() local 6186 block->allocate(mGoldfishAddressSpaceBlockProvider.get(), memInfo.coherentMemorySize); in on_vkMapMemoryIntoAddressSpaceGOOGLE_pre() 6188 memInfo.goldfishBlock = block; in on_vkMapMemoryIntoAddressSpaceGOOGLE_pre()
|