Home
last modified time | relevance | path

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

/device/lge/mako/camera/mm-camera-interface/
Dmm_camera_interface2.c52 static mm_camera_ctrl_t g_cam_ctrl; variable
76 __func__,g_cam_ctrl.camera[my_obj->my_id].video_dev_name,my_obj->my_id); in mm_camera_util_get_dev_name()
77 return g_cam_ctrl.camera[my_obj->my_id].video_dev_name; in mm_camera_util_get_dev_name()
85 return &g_cam_ctrl.camera[camera_id].camera_info; in mm_camera_cfg_query_camera_info()
95 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_is_parm_supported()
135 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_set_parm()
156 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_get_parm()
174 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_request_buf()
192 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_prepare_buf()
209 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_unprepare_buf()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c46 static mm_camera_ctrl_t g_cam_ctrl = {{{0, {0, 0, 0, 0}, 0, 0}}, 0, {{0}}, {0}}; variable
75 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; in mm_camera_util_get_dev_name()
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()
200 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
812 strncpy(g_cam_ctrl.video_dev_name[*num_cameras], in camera_query()
814 g_cam_ctrl.camera[*num_cameras].video_dev_name = in camera_query()
815 &g_cam_ctrl.video_dev_name[*num_cameras][0]; in camera_query()
821 g_cam_ctrl.camera[*num_cameras].camera_id = *num_cameras; in camera_query()
[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()
1320 g_cam_ctrl.info[num_cameras].facing = facing; in get_sensor_info()
1321 g_cam_ctrl.info[num_cameras].orientation = mount_angle; in get_sensor_info()
1328 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_sensor_info()
1334 CDBG("%s: num_cameras=%d\n", __func__, g_cam_ctrl.num_cam); in get_sensor_info()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c46 static mm_camera_ctrl_t g_cam_ctrl = {0, {{0}}, {0}}; variable
106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()
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()
428 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1294 strncpy(g_cam_ctrl.video_dev_name[num_cameras], in get_num_of_cameras()
1301 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_num_of_cameras()
1307 g_cam_ctrl.num_cam = num_cameras; in get_num_of_cameras()
1311 CDBG("%s: num_cameras=%d\n", __func__, g_cam_ctrl.num_cam); in get_num_of_cameras()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c46 static mm_camera_ctrl_t g_cam_ctrl = {0, {{0}}, {0}}; variable
106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name()
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()
428 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1294 strncpy(g_cam_ctrl.video_dev_name[num_cameras], in get_num_of_cameras()
1301 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_num_of_cameras()
1307 g_cam_ctrl.num_cam = num_cameras; in get_num_of_cameras()
1311 CDBG("%s: num_cameras=%d\n", __func__, g_cam_ctrl.num_cam); in get_num_of_cameras()
[all …]