Searched refs:cameraHandle (Results 1 – 3 of 3) sorted by relevance
2455 mm_camera_vtbl_t *cameraHandle) in initCapabilities() argument2461 rc = camera_open((uint8_t)cameraId, &cameraHandle); in initCapabilities()2466 if (!cameraHandle) { in initCapabilities()2467 LOGE("camera_open failed. cameraHandle = %p", cameraHandle); in initCapabilities()2471 handle = get_main_camera_handle(cameraHandle->camera_handle); in initCapabilities()2472 gCamCapability[cameraId] = getCapabilities(cameraHandle->ops, handle); in initCapabilities()2480 handle = get_aux_camera_handle(cameraHandle->camera_handle); in initCapabilities()2482 getCapabilities(cameraHandle->ops, handle); in initCapabilities()2501 cameraHandle->ops->close_camera(cameraHandle->camera_handle); in initCapabilities()2502 cameraHandle = NULL; in initCapabilities()
280 static int initCapabilities(uint32_t cameraId, mm_camera_vtbl_t *cameraHandle);
9453 mm_camera_vtbl_t *cameraHandle = NULL; in initCapabilities() local9456 rc = camera_open((uint8_t)cameraId, &cameraHandle); in initCapabilities()9461 if (!cameraHandle) { in initCapabilities()9462 LOGE("camera_open failed. cameraHandle = %p", cameraHandle); in initCapabilities()9466 handle = get_main_camera_handle(cameraHandle->camera_handle); in initCapabilities()9467 gCamCapability[cameraId] = getCapabilities(cameraHandle->ops, handle); in initCapabilities()9475 handle = get_aux_camera_handle(cameraHandle->camera_handle); in initCapabilities()9477 getCapabilities(cameraHandle->ops, handle); in initCapabilities()9496 cameraHandle->ops->close_camera(cameraHandle->camera_handle); in initCapabilities()9497 cameraHandle = NULL; in initCapabilities()