Searched refs:capabilityHeap (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 2363 QCameraHeapMemory *capabilityHeap = NULL; in getCapabilities() local 2371 capabilityHeap = new QCameraHeapMemory(1); in getCapabilities() 2372 if (capabilityHeap == NULL) { in getCapabilities() 2378 rc = capabilityHeap->allocate(1, sizeof(cam_capability_t)); in getCapabilities() 2385 memset(DATA_PTR(capabilityHeap,0), 0, sizeof(cam_capability_t)); in getCapabilities() 2391 0 /*cookie*/, capabilityHeap->getFd(0), sizeof(cam_capability_t), in getCapabilities() 2392 bufMapList, capabilityHeap->getPtr(0)); in getCapabilities() 2419 memcpy(cap_ptr, DATA_PTR(capabilityHeap, 0), sizeof(cam_capability_t)); in getCapabilities() 2431 capabilityHeap->deallocate(); in getCapabilities() 2433 delete capabilityHeap; in getCapabilities()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 9366 QCamera3HeapMemory *capabilityHeap = NULL; in getCapabilities() local 9374 capabilityHeap = new QCamera3HeapMemory(1); in getCapabilities() 9375 if (capabilityHeap == NULL) { in getCapabilities() 9381 rc = capabilityHeap->allocate(sizeof(cam_capability_t)); in getCapabilities() 9388 memset(DATA_PTR(capabilityHeap,0), 0, sizeof(cam_capability_t)); in getCapabilities() 9391 CAM_MAPPING_BUF_TYPE_CAPABILITY, capabilityHeap->getFd(0), in getCapabilities() 9392 sizeof(cam_capability_t), capabilityHeap->getPtr(0)); in getCapabilities() 9415 memcpy(cap_ptr, DATA_PTR(capabilityHeap, 0), sizeof(cam_capability_t)); in getCapabilities() 9427 capabilityHeap->deallocate(); in getCapabilities() 9429 delete capabilityHeap; in getCapabilities()
|