Home
last modified time | relevance | path

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

/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c104 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_dev_name() local
105 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { in mm_camera_util_get_dev_name()
106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()
125 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_camera_by_handler() local
127 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS && in mm_camera_util_get_camera_by_handler()
128 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()
129 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()
130 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()
409 uint8_t cam_idx = camera_handle & 0x00ff; in mm_camera_intf_close() local
428 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
Dmm_camera.c243 unsigned int cam_idx = 0; in mm_camera_open() local
249 sscanf(dev_name, "/dev/video%u", &cam_idx); in mm_camera_open()
250 CDBG_ERROR("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); in mm_camera_open()
276 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); in mm_camera_open()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c104 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_dev_name() local
105 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { in mm_camera_util_get_dev_name()
106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()
125 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_camera_by_handler() local
127 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS && in mm_camera_util_get_camera_by_handler()
128 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()
129 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()
130 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()
409 uint8_t cam_idx = camera_handle & 0x00ff; in mm_camera_intf_close() local
428 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
Dmm_camera.c244 unsigned int cam_idx = 0; in mm_camera_open() local
250 sscanf(dev_name, "/dev/video%u", &cam_idx); in mm_camera_open()
251 CDBG_HIGH("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); in mm_camera_open()
277 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); in mm_camera_open()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c109 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); in mm_camera_util_get_dev_name() local
110 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() local
132 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() local
373 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
Dmm_camera.c243 unsigned int cam_idx = 0; in mm_camera_open() local
252 sscanf(dev_name, "/dev/video%u", &cam_idx); in mm_camera_open()
253 CDBG_HIGH("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); in mm_camera_open()
279 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); in mm_camera_open()
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c74 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handler); in mm_camera_util_get_dev_name() local
75 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; in mm_camera_util_get_dev_name()
82 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handler); in mm_camera_util_get_camera_by_handler() local
84 if ((NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()
85 (cam_handler == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()
86 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()
181 uint8_t cam_idx = camera_handler & 0x00ff; in mm_camera_intf_close() local
200 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
Dmm_camera.c207 uint8_t cam_idx = mm_camera_util_get_index_by_handler(my_obj->my_hdl); in mm_camera_open() local
238 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); in mm_camera_open()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c81 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handler); in mm_camera_util_get_dev_name() local
82 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; in mm_camera_util_get_dev_name()
89 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handler); in mm_camera_util_get_camera_by_handler() local
91 if ((NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()
92 (cam_handler == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()
93 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()
207 uint8_t cam_idx = camera_handler & 0x00ff; in mm_camera_intf_close() local
231 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
Dmm_camera.c273 uint8_t cam_idx = mm_camera_util_get_index_by_handler(my_obj->my_hdl); in mm_camera_open() local
304 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); in mm_camera_open()