Lines Matching refs:cam_obj
95 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
135 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
156 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
174 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
192 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
210 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
227 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
295 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
317 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
337 if(g_cam_ctrl.cam_obj[camera_id]) {
338 g_cam_ctrl.cam_obj[camera_id]->ref_count++;
342 g_cam_ctrl.cam_obj[camera_id] =
344 if(!g_cam_ctrl.cam_obj[camera_id]) {
349 memset(g_cam_ctrl.cam_obj[camera_id], 0,
351 //g_cam_ctrl.cam_obj[camera_id]->ctrl_fd = -1;
352 g_cam_ctrl.cam_obj[camera_id]->ref_count++;
353 g_cam_ctrl.cam_obj[camera_id]->my_id=camera_id;
355 pthread_mutex_init(&g_cam_ctrl.cam_obj[camera_id]->mutex, NULL);
356 rc = mm_camera_open(g_cam_ctrl.cam_obj[camera_id], op_mode);
359 pthread_mutex_destroy(&g_cam_ctrl.cam_obj[camera_id]->mutex);
360 g_cam_ctrl.cam_obj[camera_id]->ref_count--;
361 free(g_cam_ctrl.cam_obj[camera_id]);
362 g_cam_ctrl.cam_obj[camera_id]=NULL;
381 my_obj = g_cam_ctrl.cam_obj[camera_id];
388 (void)mm_camera_close(g_cam_ctrl.cam_obj[camera_id]);
391 g_cam_ctrl.cam_obj[camera_id] = NULL;
403 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
417 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
433 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
452 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
498 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
525 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];
539 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id];