Searched refs:memInfo (Results 1 – 4 of 4) sorted by relevance
463 int QCameraMemory::allocOneBuffer(QCameraMemInfo &memInfo, in allocOneBuffer() argument509 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() argument544 if (memInfo.fd >= 0) { in deallocOneBuffer()[all …]
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,
305 int QCamera3HeapMemory::allocOneBuffer(QCamera3MemInfo &memInfo, in allocOneBuffer() argument342 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() argument370 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 …]
125 int allocOneBuffer(struct QCamera3MemInfo &memInfo,127 void deallocOneBuffer(struct QCamera3MemInfo &memInfo);