Lines Matching refs:num_cameras
1096 mm_camera_info_t * camera_query(uint8_t *num_cameras)
1102 if (!num_cameras) {
1103 CDBG_ERROR("%s: num_cameras is NULL\n", __func__);
1110 *num_cameras = 0;
1165 strncpy(g_cam_ctrl.video_dev_name[*num_cameras],
1167 g_cam_ctrl.camera[*num_cameras].video_dev_name =
1168 &g_cam_ctrl.video_dev_name[*num_cameras][0];
1173 //g_cam_ctrl.camera[*num_cameras].camera_info.camera_id = *num_cameras;
1174 g_cam_ctrl.camera[*num_cameras].camera_id = *num_cameras;
1176 g_cam_ctrl.camera[*num_cameras].
1180 g_cam_ctrl.camera[*num_cameras].
1184 g_cam_ctrl.camera[*num_cameras].camera_info.position =
1187 g_cam_ctrl.camera[*num_cameras].camera_info.sensor_mount_angle =
1190 g_cam_ctrl.camera[*num_cameras].main_sensor_type = 0;
1193 __func__, *num_cameras,
1194 g_cam_ctrl.camera[*num_cameras].video_dev_name,
1195 g_cam_ctrl.camera[*num_cameras].camera_info.position,
1196 g_cam_ctrl.camera[*num_cameras].camera_info.modes_supported,
1197 g_cam_ctrl.camera[*num_cameras].main_sensor_type,
1198 g_cam_ctrl.camera[*num_cameras].camera_info.sensor_mount_angle);
1200 *num_cameras += 1;
1205 *num_cameras = *num_cameras;
1206 g_cam_ctrl.num_cam = *num_cameras;
1210 CDBG("%s: num_cameras=%d\n", __func__, g_cam_ctrl.num_cam);