Searched refs:cam_idx (Results 1 – 2 of 2) sorted by relevance
109 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_dev_name() local110 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { in mm_camera_util_get_dev_name()111 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()130 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_camera_by_handler() local132 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS && in mm_camera_util_get_camera_by_handler()133 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()134 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()135 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()354 uint8_t cam_idx = camera_handle & 0x00ff; in mm_camera_intf_close() local373 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()[all …]
254 int cam_idx = 0; in mm_camera_open() local285 sscanf(dev_name, "/dev/video%d", &cam_idx); in mm_camera_open()286 CDBG("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); in mm_camera_open()316 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); in mm_camera_open()