Searched refs:memInfo (Results 1 – 4 of 4) sorted by relevance
302 int QCamera3HeapMemory::allocOneBuffer(QCamera3MemInfo &memInfo, in allocOneBuffer() argument339 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer()340 memInfo.fd = ion_info_fd.fd; in allocOneBuffer()341 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()342 memInfo.size = allocData.len; in allocOneBuffer()365 void QCamera3HeapMemory::deallocOneBuffer(QCamera3MemInfo &memInfo) in deallocOneBuffer() argument369 if (memInfo.fd >= 0) { in deallocOneBuffer()370 close(memInfo.fd); in deallocOneBuffer()371 memInfo.fd = -1; in deallocOneBuffer()374 if (memInfo.main_ion_fd >= 0) { in deallocOneBuffer()[all …]
123 int allocOneBuffer(struct QCamera3MemInfo &memInfo,125 void deallocOneBuffer(struct QCamera3MemInfo &memInfo);
454 int QCameraMemory::allocOneBuffer(QCameraMemInfo &memInfo, in allocOneBuffer() argument500 memInfo.main_ion_fd = main_ion_fd; in allocOneBuffer()501 memInfo.fd = ion_info_fd.fd; in allocOneBuffer()502 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()503 memInfo.size = alloc.len; in allocOneBuffer()504 memInfo.cached = cached; in allocOneBuffer()505 memInfo.heap_id = heap_id; in allocOneBuffer()508 (unsigned long)memInfo.handle, alloc.len); in allocOneBuffer()531 void QCameraMemory::deallocOneBuffer(QCameraMemInfo &memInfo) in deallocOneBuffer() argument535 if (memInfo.fd >= 0) { in deallocOneBuffer()[all …]
125 static int allocOneBuffer(struct QCameraMemInfo &memInfo,127 static void deallocOneBuffer(struct QCameraMemInfo &memInfo);145 int allocateBuffer(struct QCameraMemory::QCameraMemInfo &memInfo,148 void releaseBuffer(struct QCameraMemory::QCameraMemInfo &memInfo,154 int findBufferLocked(struct QCameraMemory::QCameraMemInfo &memInfo,