Home
last modified time | relevance | path

Searched refs:memInfo (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp463 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 …]
DQCameraMem.h149 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/
DQCamera3Mem.cpp305 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 …]
DQCamera3Mem.h125 int allocOneBuffer(struct QCamera3MemInfo &memInfo,
127 void deallocOneBuffer(struct QCamera3MemInfo &memInfo);