Home
last modified time | relevance | path

Searched refs:g_cam_ctrl (Results 1 – 4 of 4) sorted by relevance

/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c50 static mm_camera_ctrl_t g_cam_ctrl = {0, {{0}}, {0}, {{0}}}; variable
111 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()
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()
373 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1437 g_cam_ctrl.info[num_cameras].facing = (int)facing; in get_sensor_info()
1438 g_cam_ctrl.info[num_cameras].orientation = (int)mount_angle; in get_sensor_info()
1445 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_sensor_info()
1451 CDBG("%s: num_cameras=%d\n", __func__, g_cam_ctrl.num_cam); in get_sensor_info()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c50 static mm_camera_ctrl_t g_cam_ctrl = {0, {{0}}, {0}, {{0}}}; variable
111 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()
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()
373 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1437 g_cam_ctrl.info[num_cameras].facing = (int)facing; in get_sensor_info()
1438 g_cam_ctrl.info[num_cameras].orientation = (int)mount_angle; in get_sensor_info()
1445 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_sensor_info()
1451 CDBG("%s: num_cameras=%d\n", __func__, g_cam_ctrl.num_cam); in get_sensor_info()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c48 static mm_camera_ctrl_t g_cam_ctrl = {{{0, {0, 0, 0, 0}, 0, 0}}, 0, {{0}}, {0}}; variable
82 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; in mm_camera_util_get_dev_name()
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()
231 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1165 strncpy(g_cam_ctrl.video_dev_name[*num_cameras], in camera_query()
1167 g_cam_ctrl.camera[*num_cameras].video_dev_name = in camera_query()
1168 &g_cam_ctrl.video_dev_name[*num_cameras][0]; in camera_query()
1174 g_cam_ctrl.camera[*num_cameras].camera_id = *num_cameras; in camera_query()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c50 static mm_camera_ctrl_t g_cam_ctrl = {0, {{0}}, {0}, {{0}}}; variable
111 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()
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()
373 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1363 g_cam_ctrl.info[num_cameras].facing = facing; in get_sensor_info()
1364 g_cam_ctrl.info[num_cameras].orientation = mount_angle; in get_sensor_info()
1371 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_sensor_info()
1377 CDBG("%s: num_cameras=%d\n", __func__, g_cam_ctrl.num_cam); in get_sensor_info()
[all …]