Home
last modified time | relevance | path

Searched refs:cam_obj (Results 1 – 15 of 15) sorted by relevance

/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c133 mm_camera_obj_t *cam_obj = NULL; in mm_camera_util_get_camera_by_handler() local
137 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()
138 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()
139 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()
141 return cam_obj; in mm_camera_util_get_camera_by_handler()
158 mm_camera_obj_t *cam_obj = NULL; in mm_camera_util_get_camera_by_session_id() local
160 if ((NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_session_id()
161 (session_id == (uint32_t)g_cam_ctrl.cam_obj[cam_idx]->sessionid)) { in mm_camera_util_get_camera_by_session_id()
163 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_session_id()
166 return cam_obj; in mm_camera_util_get_camera_by_session_id()
[all …]
Dmm_camera_stream.c274 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_sync_data()
404 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
532 if ((NULL == my_obj->ch_obj) || (NULL == my_obj->ch_obj->cam_obj)) { in mm_stream_fsm_inited()
538 dev_name_value = mm_camera_util_get_dev_name(my_obj->ch_obj->cam_obj->my_hdl); in mm_stream_fsm_inited()
1121 mm_camera_obj_t *cam_obj = my_obj->ch_obj->cam_obj; in mm_stream_release() local
1128 cam_obj->sessionid, &shim_cmd_data); in mm_stream_release()
1201 mm_camera_obj_t *cam_obj = my_obj->ch_obj->cam_obj; in mm_stream_streamon() local
1203 my_obj->my_hdl, my_obj->fd, my_obj->state, cam_obj->sessionid, in mm_stream_streamon()
1222 cam_obj->sessionid, &shim_cmd_data); in mm_stream_streamon()
1277 mm_camera_obj_t *cam_obj = my_obj->ch_obj->cam_obj; in mm_stream_streamoff() local
[all …]
Dmm_camera_channel.c42 extern mm_channel_t * mm_camera_util_get_channel_by_handler(mm_camera_obj_t * cam_obj,
270 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
273 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
401 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
412 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
420 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
526 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
605 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_send_super_buf()
Dmm_camera.c77 mm_camera_obj_t * cam_obj, in mm_camera_util_get_channel_by_handler() argument
83 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
84 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
903 ch_obj->cam_obj = my_obj; in mm_camera_add_channel()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c129 mm_camera_obj_t *cam_obj = NULL; in mm_camera_util_get_camera_by_handler() local
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()
137 return cam_obj; in mm_camera_util_get_camera_by_handler()
373 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1772 mm_camera_obj_t *cam_obj = NULL; in camera_open() local
1782 if(NULL != g_cam_ctrl.cam_obj[camera_idx]) { in camera_open()
1784 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
1787 *camera_vtbl = &g_cam_ctrl.cam_obj[camera_idx]->vtbl; in camera_open()
[all …]
Dmm_camera.c75 mm_camera_obj_t * cam_obj, in mm_camera_util_get_channel_by_handler() argument
81 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
82 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
850 ch_obj->cam_obj = my_obj; in mm_camera_add_channel()
Dmm_camera_channel.c44 extern mm_channel_t * mm_camera_util_get_channel_by_handler(mm_camera_obj_t * cam_obj,
242 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
245 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
341 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
349 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
397 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
432 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf()
Dmm_camera_stream.c348 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
474 if ((NULL == my_obj->ch_obj) || (NULL == my_obj->ch_obj->cam_obj)) { in mm_stream_fsm_inited()
480 dev_name_value = mm_camera_util_get_dev_name(my_obj->ch_obj->cam_obj->my_hdl); in mm_stream_fsm_inited()
487 dev_name_value = mm_camera_util_get_dev_name(my_obj->ch_obj->cam_obj->my_hdl); in mm_stream_fsm_inited()
1599 if (NULL == my_obj || NULL == my_obj->ch_obj || NULL == my_obj->ch_obj->cam_obj) { in mm_stream_map_buf()
1615 return mm_camera_util_sendmsg(my_obj->ch_obj->cam_obj, in mm_stream_map_buf()
1648 if (NULL == my_obj || NULL == my_obj->ch_obj || NULL == my_obj->ch_obj->cam_obj) { in mm_stream_unmap_buf()
1659 return mm_camera_util_sendmsg(my_obj->ch_obj->cam_obj, in mm_stream_unmap_buf()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c129 mm_camera_obj_t *cam_obj = NULL; in mm_camera_util_get_camera_by_handler() local
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()
137 return cam_obj; in mm_camera_util_get_camera_by_handler()
373 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1772 mm_camera_obj_t *cam_obj = NULL; in camera_open() local
1782 if(NULL != g_cam_ctrl.cam_obj[camera_idx]) { in camera_open()
1784 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
1787 *camera_vtbl = &g_cam_ctrl.cam_obj[camera_idx]->vtbl; in camera_open()
[all …]
Dmm_camera.c75 mm_camera_obj_t * cam_obj, in mm_camera_util_get_channel_by_handler() argument
81 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
82 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
850 ch_obj->cam_obj = my_obj; in mm_camera_add_channel()
Dmm_camera_channel.c44 extern mm_channel_t * mm_camera_util_get_channel_by_handler(mm_camera_obj_t * cam_obj,
242 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
245 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
341 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
349 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
397 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
432 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf()
Dmm_camera_stream.c348 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
474 if ((NULL == my_obj->ch_obj) || (NULL == my_obj->ch_obj->cam_obj)) { in mm_stream_fsm_inited()
480 dev_name_value = mm_camera_util_get_dev_name(my_obj->ch_obj->cam_obj->my_hdl); in mm_stream_fsm_inited()
487 dev_name_value = mm_camera_util_get_dev_name(my_obj->ch_obj->cam_obj->my_hdl); in mm_stream_fsm_inited()
1599 if (NULL == my_obj || NULL == my_obj->ch_obj || NULL == my_obj->ch_obj->cam_obj) { in mm_stream_map_buf()
1615 return mm_camera_util_sendmsg(my_obj->ch_obj->cam_obj, in mm_stream_map_buf()
1648 if (NULL == my_obj || NULL == my_obj->ch_obj || NULL == my_obj->ch_obj->cam_obj) { in mm_stream_unmap_buf()
1659 return mm_camera_util_sendmsg(my_obj->ch_obj->cam_obj, in mm_stream_unmap_buf()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h418 struct mm_camera_obj* cam_obj; member
489 mm_camera_obj_t *cam_obj[MM_CAMERA_MAX_NUM_SENSORS]; member
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h418 struct mm_camera_obj* cam_obj; member
489 mm_camera_obj_t *cam_obj[MM_CAMERA_MAX_NUM_SENSORS]; member
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h467 struct mm_camera_obj* cam_obj; member
544 mm_camera_obj_t *cam_obj[MM_CAMERA_MAX_NUM_SENSORS]; member