Home
last modified time | relevance | path

Searched refs:mMemInfo (Results 1 – 12 of 12) sorted by relevance

/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Mem.cpp65 mMemInfo[i].fd = -1; in QCamera3Memory()
66 mMemInfo[i].main_ion_fd = -1; in QCamera3Memory()
67 mMemInfo[i].handle = 0; in QCamera3Memory()
68 mMemInfo[i].size = 0; in QCamera3Memory()
114 if (0 == mMemInfo[index].handle) { in cacheOpsInternal()
122 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
123 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
124 cache_inv_data.length = (unsigned int)mMemInfo[index].size; in cacheOpsInternal()
131 mMemInfo[index].main_ion_fd); in cacheOpsInternal()
132 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
[all …]
DQCamera3Mem.h91 struct QCamera3MemInfo mMemInfo[MM_CAMERA_MAX_NUM_FRAMES]; variable
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Mem.cpp65 mMemInfo[i].fd = -1; in QCamera3Memory()
66 mMemInfo[i].main_ion_fd = -1; in QCamera3Memory()
67 mMemInfo[i].handle = 0; in QCamera3Memory()
68 mMemInfo[i].size = 0; in QCamera3Memory()
114 if (0 == mMemInfo[index].handle) { in cacheOpsInternal()
122 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
123 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
124 cache_inv_data.length = (unsigned int)mMemInfo[index].size; in cacheOpsInternal()
131 mMemInfo[index].main_ion_fd); in cacheOpsInternal()
132 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
[all …]
DQCamera3Mem.h91 struct QCamera3MemInfo mMemInfo[MM_CAMERA_MAX_NUM_FRAMES]; variable
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Mem.cpp70 mMemInfo[i].fd = -1; in QCamera3Memory()
71 mMemInfo[i].handle = 0; in QCamera3Memory()
72 mMemInfo[i].size = 0; in QCamera3Memory()
120 if (0 == mMemInfo[index].handle) { in cacheOpsInternal()
128 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
129 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
130 cache_inv_data.length = (unsigned int)mMemInfo[index].size; in cacheOpsInternal()
163 if (0 == mMemInfo[index].handle) { in getFd()
167 return mMemInfo[index].fd; in getFd()
188 if (0 == mMemInfo[index].handle) { in getSize()
[all …]
DQCamera3Mem.h94 struct QCamera3MemInfo mMemInfo[MM_CAMERA_MAX_NUM_FRAMES]; variable
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.cpp136 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
137 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
140 mMemInfo[index].size; in cacheOpsInternal()
147 mMemInfo[index].main_ion_fd); in cacheOpsInternal()
148 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
171 return mMemInfo[index].fd; in getFd()
189 return (ssize_t)mMemInfo[index].size; in getSize()
219 memset(mMemInfo, 0, sizeof(mMemInfo)); in reset()
221 count = sizeof(mMemInfo) / sizeof(mMemInfo[0]); in reset()
223 mMemInfo[i].fd = -1; in reset()
[all …]
DQCameraMem.h132 struct QCameraMemInfo mMemInfo[MM_CAMERA_MAX_NUM_FRAMES]; variable
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.cpp124 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
125 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
128 mMemInfo[index].size; in cacheOpsInternal()
135 mMemInfo[index].main_ion_fd); in cacheOpsInternal()
136 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
158 return mMemInfo[index].fd; in getFd()
176 return (ssize_t)mMemInfo[index].size; in getSize()
206 memset(mMemInfo, 0, sizeof(mMemInfo)); in reset()
208 count = sizeof(mMemInfo) / sizeof(mMemInfo[0]); in reset()
210 mMemInfo[i].fd = -1; in reset()
[all …]
DQCameraMem.h119 struct QCameraMemInfo mMemInfo[MM_CAMERA_MAX_NUM_FRAMES]; variable
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraMem.cpp124 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
125 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
128 mMemInfo[index].size; in cacheOpsInternal()
135 mMemInfo[index].main_ion_fd); in cacheOpsInternal()
136 ret = ioctl(mMemInfo[index].main_ion_fd, ION_IOC_CUSTOM, &custom_data); in cacheOpsInternal()
158 return mMemInfo[index].fd; in getFd()
176 return (ssize_t)mMemInfo[index].size; in getSize()
206 memset(mMemInfo, 0, sizeof(mMemInfo)); in reset()
208 count = sizeof(mMemInfo) / sizeof(mMemInfo[0]); in reset()
210 mMemInfo[i].fd = -1; in reset()
[all …]
DQCameraMem.h119 struct QCameraMemInfo mMemInfo[MM_CAMERA_MAX_NUM_FRAMES]; variable