Home
last modified time | relevance | path

Searched refs:cam_idx (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c112 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_dev_name() local
113 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { in mm_camera_util_get_dev_name()
114 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()
133 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_camera_by_handler() local
135 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS && in mm_camera_util_get_camera_by_handler()
136 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()
137 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()
138 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()
387 uint8_t cam_idx = camera_handle & 0x00ff; in mm_camera_intf_close() local
406 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
Dmm_camera.c260 int cam_idx = 0; in mm_camera_open() local
275 sscanf(dev_name, "/dev/video%d", &cam_idx); in mm_camera_open()
276 LOGD("dev name = %s, cam_idx = %d", dev_name, cam_idx); in mm_camera_open()
307 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); in mm_camera_open()