Home
last modified time | relevance | path

Searched refs:buf_cb (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c273 mm_stream_data_cb_t *buf_cb, mm_camera_buf_info_t *buf_info) in mm_stream_dispatch_sync_data() argument
279 buf_cb == NULL) { in mm_stream_dispatch_sync_data()
292 if ((buf_cb != NULL) && (buf_cb->cb_type == MM_CAMERA_STREAM_CB_TYPE_SYNC) in mm_stream_dispatch_sync_data()
293 && (buf_cb->cb_count != 0) in mm_stream_dispatch_sync_data()
296 buf_cb->cb(&super_buf, buf_cb->user_data); in mm_stream_dispatch_sync_data()
300 if (buf_cb->cb_count > 0) { in mm_stream_dispatch_sync_data()
301 buf_cb->cb_count--; in mm_stream_dispatch_sync_data()
302 if (0 == buf_cb->cb_count) { in mm_stream_dispatch_sync_data()
303 buf_cb->cb = NULL; in mm_stream_dispatch_sync_data()
304 buf_cb->user_data = NULL; in mm_stream_dispatch_sync_data()
[all …]
Dmm_camera.c2434 mm_stream_data_cb_t buf_cb; in mm_camera_reg_stream_buf_cb() local
2442 memset(&buf_cb, 0, sizeof(mm_stream_data_cb_t)); in mm_camera_reg_stream_buf_cb()
2443 buf_cb.cb = stream_cb; in mm_camera_reg_stream_buf_cb()
2444 buf_cb.cb_count = -1; in mm_camera_reg_stream_buf_cb()
2445 buf_cb.cb_type = cb_type; in mm_camera_reg_stream_buf_cb()
2446 buf_cb.user_data = userdata; in mm_camera_reg_stream_buf_cb()
2450 payload.buf_cb = buf_cb; in mm_camera_reg_stream_buf_cb()
Dmm_camera_muxer.c872 frame_sync.buf_cb = NULL; in mm_camera_muxer_add_stream()
1571 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb, in mm_camera_muxer_register_stream_buf_cb() argument
1582 buf_cb, cb_type, userdata); in mm_camera_muxer_register_stream_buf_cb()
1645 frame_sync.buf_cb = sync_attr->buf_cb; in mm_camera_muxer_reg_frame_sync()
Dmm_camera_channel.c794 uint32_t stream_id, mm_stream_data_cb_t buf_cb) in mm_channel_reg_stream_buf_cb() argument
805 rc = mm_stream_reg_buf_cb(s_obj, buf_cb); in mm_channel_reg_stream_buf_cb()
1042 payload->stream_id, payload->buf_cb); in mm_channel_fsm_fn_stopped()
1255 payload->stream_id, payload->buf_cb); in mm_channel_fsm_fn_active()
1483 if (sync->sync_attr->buf_cb == NULL) { in mm_channel_reg_frame_sync()
1487 frame_sync->super_buf_notify_cb = sync->sync_attr->buf_cb; in mm_channel_reg_frame_sync()
Dmm_camera_interface.c2920 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb, in mm_camera_intf_register_stream_buf_cb() argument
2941 buf_cb, cb_type, userdata); in mm_camera_intf_register_stream_buf_cb()
2958 buf_cb, cb_type, userdata, my_obj); in mm_camera_intf_register_stream_buf_cb()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h311 mm_stream_data_cb_t buf_cb[MM_CAMERA_STREAM_BUF_CB_MAX]; member
417 mm_stream_data_cb_t buf_cb; member
648 mm_camera_buf_notify_t buf_cb; member
756 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,
Dmm_camera_muxer.h153 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_camera_interface.h427 mm_camera_buf_notify_t buf_cb; member
937 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,