Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c134 mm_camera_obj_t *cam_obj = NULL; in mm_camera_util_get_camera_by_handler() local
138 (NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_handler()
139 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) { in mm_camera_util_get_camera_by_handler()
140 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_handler()
142 return cam_obj; in mm_camera_util_get_camera_by_handler()
159 mm_camera_obj_t *cam_obj = NULL; in mm_camera_util_get_camera_by_session_id() local
161 if ((NULL != g_cam_ctrl.cam_obj[cam_idx]) && in mm_camera_util_get_camera_by_session_id()
162 (session_id == (uint32_t)g_cam_ctrl.cam_obj[cam_idx]->sessionid)) { in mm_camera_util_get_camera_by_session_id()
164 cam_obj = g_cam_ctrl.cam_obj[cam_idx]; in mm_camera_util_get_camera_by_session_id()
167 return cam_obj; in mm_camera_util_get_camera_by_session_id()
[all …]
Dmm_camera_stream.c277 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_sync_data()
407 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
535 if ((NULL == my_obj->ch_obj) || (NULL == my_obj->ch_obj->cam_obj)) { in mm_stream_fsm_inited()
541 dev_name_value = mm_camera_util_get_dev_name(my_obj->ch_obj->cam_obj->my_hdl); in mm_stream_fsm_inited()
1124 mm_camera_obj_t *cam_obj = my_obj->ch_obj->cam_obj; in mm_stream_release() local
1131 cam_obj->sessionid, &shim_cmd_data); in mm_stream_release()
1204 mm_camera_obj_t *cam_obj = my_obj->ch_obj->cam_obj; in mm_stream_streamon() local
1206 my_obj->my_hdl, my_obj->fd, my_obj->state, cam_obj->sessionid, in mm_stream_streamon()
1225 cam_obj->sessionid, &shim_cmd_data); in mm_stream_streamon()
1280 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.c78 mm_camera_obj_t * cam_obj, in mm_camera_util_get_channel_by_handler() argument
84 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
85 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
904 ch_obj->cam_obj = my_obj; in mm_camera_add_channel()
/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