Lines Matching refs:num_cameras
743 mm_camera_info_t * camera_query(uint8_t *num_cameras)
749 if (!num_cameras) {
750 CDBG_ERROR("%s: num_cameras is NULL\n", __func__);
757 *num_cameras = 0;
812 strncpy(g_cam_ctrl.video_dev_name[*num_cameras],
814 g_cam_ctrl.camera[*num_cameras].video_dev_name =
815 &g_cam_ctrl.video_dev_name[*num_cameras][0];
820 //g_cam_ctrl.camera[*num_cameras].camera_info.camera_id = *num_cameras;
821 g_cam_ctrl.camera[*num_cameras].camera_id = *num_cameras;
823 g_cam_ctrl.camera[*num_cameras].
827 g_cam_ctrl.camera[*num_cameras].
831 g_cam_ctrl.camera[*num_cameras].camera_info.position =
834 g_cam_ctrl.camera[*num_cameras].camera_info.sensor_mount_angle =
837 g_cam_ctrl.camera[*num_cameras].main_sensor_type = 0;
840 __func__, *num_cameras,
841 g_cam_ctrl.camera[*num_cameras].video_dev_name,
842 g_cam_ctrl.camera[*num_cameras].camera_info.position,
843 g_cam_ctrl.camera[*num_cameras].camera_info.modes_supported,
844 g_cam_ctrl.camera[*num_cameras].main_sensor_type,
845 g_cam_ctrl.camera[*num_cameras].camera_info.sensor_mount_angle);
847 *num_cameras += 1;
852 *num_cameras = *num_cameras;
853 g_cam_ctrl.num_cam = *num_cameras;
857 CDBG("%s: num_cameras=%d\n", __func__, g_cam_ctrl.num_cam);