Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c127 int32_t mm_channel_superbuf_comp_and_enqueue(mm_channel_t *ch_obj,
131 mm_channel_queue_t * queue, mm_channel_t *ch_obj);
144 int32_t mm_frame_sync_register_channel(mm_channel_t *ch_obj);
145 int32_t mm_frame_sync_unregister_channel(mm_channel_t *ch_obj);
146 int32_t mm_frame_sync_add(uint32_t frame_id, mm_channel_t *ch_obj);
152 void mm_channel_node_qbuf(mm_channel_t *ch_obj, mm_channel_queue_node_t *node);
171 mm_channel_t * ch_obj, in mm_channel_util_get_stream_by_handler() argument
178 if ((MM_STREAM_STATE_NOTUSED != ch_obj->streams[i].state) && in mm_channel_util_get_stream_by_handler()
179 (handler == ch_obj->streams[i].my_hdl)) { in mm_channel_util_get_stream_by_handler()
180 s_obj = &ch_obj->streams[i]; in mm_channel_util_get_stream_by_handler()
[all …]
Dmm_camera.c85 mm_channel_t *ch_obj = NULL; in mm_camera_util_get_channel_by_handler() local
88 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
92 return ch_obj; in mm_camera_util_get_channel_by_handler()
558 mm_channel_t * ch_obj = NULL; in mm_camera_qbuf() local
559 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_qbuf()
566 if (NULL != ch_obj) { in mm_camera_qbuf()
567 rc = mm_channel_qbuf(ch_obj, buf); in mm_camera_qbuf()
594 mm_channel_t * ch_obj = NULL; in mm_camera_cancel_buf() local
595 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_cancel_buf()
597 if (NULL != ch_obj) { in mm_camera_cancel_buf()
[all …]
Dmm_camera_muxer.c54 extern mm_stream_t *mm_channel_util_get_stream_by_handler(mm_channel_t *ch_obj,
181 mm_channel_t *ch_obj = NULL; in mm_muxer_util_get_channel_by_obj() local
188 ch_obj = mm_camera_util_get_channel_by_handler(obj, ch_id); in mm_muxer_util_get_channel_by_obj()
189 if (ch_obj != NULL) { in mm_muxer_util_get_channel_by_obj()
194 return ch_obj; in mm_muxer_util_get_channel_by_obj()
1727 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_camera_muxer_stream_frame_sync()
1728 super_buf.ch_id = my_obj->ch_obj->my_hdl; in mm_camera_muxer_stream_frame_sync()
1753 mm_channel_t *ch_obj = (mm_channel_t *)user_data; in mm_camera_muxer_channel_frame_sync() local
1754 mm_channel_t *m_obj = ch_obj; in mm_camera_muxer_channel_frame_sync()
1767 ch_obj); in mm_camera_muxer_channel_frame_sync()
[all …]
Dmm_camera_stream.c167 int32_t mm_stream_notify_channel(struct mm_channel* ch_obj, in mm_stream_notify_channel() argument
173 if ((NULL == ch_obj) || (NULL == buf_info)) { in mm_stream_notify_channel()
187 cam_queue_enq(&(ch_obj->cmd_thread.cmd_queue), node); in mm_stream_notify_channel()
190 cam_sem_post(&(ch_obj->cmd_thread.cmd_sem)); in mm_stream_notify_channel()
220 rc = mm_stream_notify_channel(my_obj->ch_obj, buf_info); in mm_stream_handle_rcvd_buf()
290 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_sync_data()
291 super_buf.ch_id = my_obj->ch_obj->my_hdl; in mm_stream_dispatch_sync_data()
422 super_buf.camera_handle = my_obj->ch_obj->cam_obj->my_hdl; in mm_stream_dispatch_app_data()
423 super_buf.ch_id = my_obj->ch_obj->my_hdl; in mm_stream_dispatch_app_data()
563 if ((NULL == my_obj->ch_obj) || (NULL == my_obj->ch_obj->cam_obj)) { in mm_stream_fsm_inited()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h328 struct mm_channel* ch_obj; member
475 struct mm_channel *ch_obj[MAX_NUM_CAMERA_PER_BUNDLE]; member
488 struct mm_channel *ch_obj[MAX_NUM_CAMERA_PER_BUNDLE]; member
Dmm_camera_muxer.h179 mm_channel_t *ch_obj);