/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 104 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); local 105 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { 106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; 125 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); local 127 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS && 128 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && 129 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { 130 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; 409 uint8_t cam_idx = camera_handle & 0x00ff; local 428 g_cam_ctrl.cam_obj[cam_idx] = NULL [all...] |
mm_camera.c | 243 unsigned int cam_idx = 0; local 249 sscanf(dev_name, "/dev/video%u", &cam_idx); 250 CDBG_ERROR("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); 276 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 104 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); local 105 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { 106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; 125 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); local 127 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS && 128 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && 129 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { 130 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; 409 uint8_t cam_idx = camera_handle & 0x00ff; local 428 g_cam_ctrl.cam_obj[cam_idx] = NULL [all...] |
mm_camera.c | 244 unsigned int cam_idx = 0; local 250 sscanf(dev_name, "/dev/video%u", &cam_idx); 251 CDBG_HIGH("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); 278 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 109 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); local 110 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) { 111 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; 130 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle); local 132 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS && 133 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && 134 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { 135 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; 354 uint8_t cam_idx = camera_handle & 0x00ff; local 373 g_cam_ctrl.cam_obj[cam_idx] = NULL [all...] |
mm_camera.c | 243 unsigned int cam_idx = 0; local 252 sscanf(dev_name, "/dev/video%u", &cam_idx); 253 CDBG_HIGH("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); 280 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 74 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handler); local 75 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; 82 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handler); local 84 if ((NULL != g_cam_ctrl.cam_obj[cam_idx]) && 85 (cam_handler == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { 86 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; 181 uint8_t cam_idx = camera_handler & 0x00ff; local 200 g_cam_ctrl.cam_obj[cam_idx] = NULL;
|
mm_camera.c | 207 uint8_t cam_idx = mm_camera_util_get_index_by_handler(my_obj->my_hdl); local 238 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 81 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handler); local 82 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; 89 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handler); local 91 if ((NULL != g_cam_ctrl.cam_obj[cam_idx]) && 92 (cam_handler == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { 93 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; 207 uint8_t cam_idx = camera_handler & 0x00ff; local 231 g_cam_ctrl.cam_obj[cam_idx] = NULL; [all...] |
mm_camera.c | 273 uint8_t cam_idx = mm_camera_util_get_index_by_handler(my_obj->my_hdl); local 304 my_obj->ds_fd = mm_camera_socket_create(cam_idx, MM_CAMERA_SOCK_TYPE_UDP); [all...] |