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 | 9326 QCamera3HeapMemory *capabilityHeap = NULL; in getCapabilities() local 9334 capabilityHeap = new QCamera3HeapMemory(1); in getCapabilities() 9335 if (capabilityHeap == NULL) { in getCapabilities() 9341 rc = capabilityHeap->allocate(sizeof(cam_capability_t)); in getCapabilities() 9348 memset(DATA_PTR(capabilityHeap,0), 0, sizeof(cam_capability_t)); in getCapabilities() 9351 CAM_MAPPING_BUF_TYPE_CAPABILITY, capabilityHeap->getFd(0), in getCapabilities() 9352 sizeof(cam_capability_t), capabilityHeap->getPtr(0)); in getCapabilities() 9375 memcpy(cap_ptr, DATA_PTR(capabilityHeap, 0), sizeof(cam_capability_t)); in getCapabilities() 9387 capabilityHeap->deallocate(); in getCapabilities() 9389 delete capabilityHeap; in getCapabilities()
|