Searched refs:cam_idx (Results 1 – 2 of 2) sorted by relevance
117 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_dev_name() local118 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { in mm_camera_util_get_dev_name()119 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()138 uint8_t cam_idx = 0; in mm_camera_util_get_camera_by_handler() local140 for (cam_idx = 0; cam_idx < MM_CAMERA_MAX_NUM_SENSORS; cam_idx++) { in mm_camera_util_get_camera_by_handler()141 if ((NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()142 (cam_handle == (uint32_t)g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()143 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()164 int32_t mm_camera_util_set_camera_object(uint8_t cam_idx, mm_camera_obj_t *obj) in mm_camera_util_set_camera_object() argument168 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { in mm_camera_util_set_camera_object()[all …]
56 extern int32_t mm_camera_util_set_camera_object(uint8_t cam_idx, mm_camera_obj_t *obj);246 int32_t mm_camera_muxer_camera_open(uint8_t cam_idx, in mm_camera_muxer_camera_open() argument266 my_obj->my_hdl = mm_camera_util_generate_handler_by_num(my_num, cam_idx); in mm_camera_muxer_camera_open()284 rc = mm_camera_util_set_camera_object(cam_idx, my_obj); in mm_camera_muxer_camera_open()380 uint8_t cam_idx = mm_camera_util_get_index_by_num( in mm_camera_muxer_close_camera() local388 rc = mm_camera_util_set_camera_object(cam_idx, NULL); in mm_camera_muxer_close_camera()