Home
last modified time | relevance | path

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

/device/moto/shamu/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()
1636 mm_camera_obj_t* cam_obj = NULL; in camera_open() local
1646 if(NULL != g_cam_ctrl.cam_obj[camera_idx]) { in camera_open()
1648 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
1651 return &g_cam_ctrl.cam_obj[camera_idx]->vtbl; in camera_open()
[all …]
Dmm_camera.c70 mm_camera_obj_t * cam_obj, in mm_camera_util_get_channel_by_handler() argument
76 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
77 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
762 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,
234 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
237 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
303 mm_camera_start_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
312 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
360 mm_camera_stop_zsl_snapshot(ch_obj->cam_obj); in mm_channel_process_stream_buf()
385 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf()
Dmm_camera_stream.c263 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
384 if ((NULL == my_obj->ch_obj) || (NULL == my_obj->ch_obj->cam_obj)) { in mm_stream_fsm_inited()
396 mm_camera_util_get_dev_name(my_obj->ch_obj->cam_obj->my_hdl)); in mm_stream_fsm_inited()
1278 if (NULL == my_obj || NULL == my_obj->ch_obj || NULL == my_obj->ch_obj->cam_obj) { in mm_stream_map_buf()
1292 return mm_camera_util_sendmsg(my_obj->ch_obj->cam_obj, in mm_stream_map_buf()
1325 if (NULL == my_obj || NULL == my_obj->ch_obj || NULL == my_obj->ch_obj->cam_obj) { in mm_stream_unmap_buf()
1337 return mm_camera_util_sendmsg(my_obj->ch_obj->cam_obj, in mm_stream_unmap_buf()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c88 mm_camera_obj_t *cam_obj = NULL; in mm_camera_util_get_camera_by_handler() local
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()
95 return cam_obj; in mm_camera_util_get_camera_by_handler()
231 g_cam_ctrl.cam_obj[cam_idx] = NULL; in mm_camera_intf_close()
1262 mm_camera_obj_t* cam_obj = NULL; in camera_open() local
1273 if(NULL != g_cam_ctrl.cam_obj[camera_idx]) { in camera_open()
1275 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
1279 return &cam_obj->vtbl; in camera_open()
[all …]
Dmm_camera_stream.c337 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
425 if ((NULL == my_obj->ch_obj) || (NULL == my_obj->ch_obj->cam_obj)) { in mm_stream_fsm_inited()
432 mm_camera_util_get_dev_name(my_obj->ch_obj->cam_obj->my_hdl)); in mm_stream_fsm_inited()
1237 if (mm_camera_util_get_pp_mask(my_obj->ch_obj->cam_obj) > 0) { in mm_stream_init_bufs()
1260 mem_vtbl = my_obj->ch_obj->cam_obj->mem_vtbl; in mm_stream_init_bufs()
1261 rc = mem_vtbl->get_buf(my_obj->ch_obj->cam_obj->my_hdl, in mm_stream_init_bufs()
1285 if(0 >= (rc = mm_camera_map_buf(my_obj->ch_obj->cam_obj, in mm_stream_init_bufs()
1305 mm_camera_unmap_buf(my_obj->ch_obj->cam_obj, in mm_stream_init_bufs()
1312 mem_vtbl->put_buf(my_obj->ch_obj->cam_obj->my_hdl, in mm_stream_init_bufs()
1354 rc = mm_camera_unmap_buf(my_obj->ch_obj->cam_obj, in mm_stream_deinit_bufs()
[all …]
Dmm_camera_channel.c45 mm_camera_obj_t * cam_obj,
253 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf()
898 rc = mm_camera_send_native_ctrl_cmd(my_obj->cam_obj, in mm_channel_bundle_stream()
1223 return mm_camera_send_native_ctrl_cmd(my_obj->cam_obj, in mm_channel_start_focus()
1230 return mm_camera_send_native_ctrl_cmd(my_obj->cam_obj, in mm_channel_abort_focus()
1237 return mm_camera_send_native_ctrl_timeout_cmd(my_obj->cam_obj, in mm_channel_prepare_snapshot()
1280 pp_mask = mm_camera_util_get_pp_mask(my_obj->cam_obj); in mm_channel_do_post_processing()
1303 rc = mm_camera_send_native_ctrl_cmd(my_obj->cam_obj, in mm_channel_do_post_processing()
1653 rc = mm_camera_send_native_ctrl_cmd(my_obj->cam_obj, in mm_channel_open_repro_isp()
1672 rc = mm_camera_send_native_ctrl_cmd(my_obj->cam_obj, in mm_channel_close_repro_isp()
[all …]
Dmm_camera.c71 mm_camera_obj_t * cam_obj, in mm_camera_util_get_channel_by_handler() argument
79 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
80 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
872 ch_obj->cam_obj = my_obj; in mm_camera_add_channel()
/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.c74 mm_camera_obj_t * cam_obj, in mm_camera_util_get_channel_by_handler() argument
80 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
81 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
849 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/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.c74 mm_camera_obj_t * cam_obj, in mm_camera_util_get_channel_by_handler() argument
80 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
81 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
849 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/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h382 struct mm_camera_obj* cam_obj; member
440 mm_camera_obj_t *cam_obj[MM_CAMERA_MAX_NUM_SENSORS]; member
/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/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h407 struct mm_camera_obj* cam_obj; member
460 mm_camera_obj_t *cam_obj[MSM_MAX_CAMERA_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