Searched refs:cap_ptr (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 2364 cam_capability_t *cap_ptr = NULL; in getCapabilities() local 2411 cap_ptr = (cam_capability_t *)malloc(sizeof(cam_capability_t)); in getCapabilities() 2412 if (cap_ptr == NULL) { in getCapabilities() 2418 memset(cap_ptr, 0, sizeof(cam_capability_t)); in getCapabilities() 2419 memcpy(cap_ptr, DATA_PTR(capabilityHeap, 0), sizeof(cam_capability_t)); in getCapabilities() 2423 cam_analysis_info_t *p_analysis_info = &cap_ptr->analysis_info[index]; in getCapabilities() 2438 return cap_ptr; in getCapabilities()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 9327 cam_capability_t *cap_ptr = NULL; in getCapabilities() local 9367 cap_ptr = (cam_capability_t *)malloc(sizeof(cam_capability_t)); in getCapabilities() 9368 if (cap_ptr == NULL) { in getCapabilities() 9374 memset(cap_ptr, 0, sizeof(cam_capability_t)); in getCapabilities() 9375 memcpy(cap_ptr, DATA_PTR(capabilityHeap, 0), sizeof(cam_capability_t)); in getCapabilities() 9379 cam_analysis_info_t *p_analysis_info = &cap_ptr->analysis_info[index]; in getCapabilities() 9394 return cap_ptr; in getCapabilities()
|