Searched refs:cam_idx (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 117 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_dev_name() local 118 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() local 140 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() argument 168 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { in mm_camera_util_set_camera_object() [all …]
|
D | mm_camera_muxer.c | 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() argument 266 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() local 388 rc = mm_camera_util_set_camera_object(cam_idx, NULL); in mm_camera_muxer_close_camera()
|
D | mm_camera.c | 268 int cam_idx = 0; in mm_camera_open() local 285 sscanf(dev_name, "/dev/video%d", &cam_idx); in mm_camera_open() 286 LOGD("dev name = %s, cam_idx = %d", dev_name, cam_idx); in mm_camera_open() 312 LOGH("Camera Opened id = %d sessionid = %d", cam_idx, my_obj->sessionid); in mm_camera_open() 320 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); in mm_camera_open()
|