Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c257 mm_stream_data_cb_t *buf_cb, mm_camera_buf_info_t *buf_info) in mm_stream_dispatch_sync_data() argument
262 buf_cb == NULL) { in mm_stream_dispatch_sync_data()
271 if ((buf_cb != NULL) && (buf_cb->cb_type == MM_CAMERA_STREAM_CB_TYPE_SYNC) in mm_stream_dispatch_sync_data()
272 && (buf_cb->cb_count != 0)) { in mm_stream_dispatch_sync_data()
274 buf_cb->cb(&super_buf, buf_cb->user_data); in mm_stream_dispatch_sync_data()
278 if (buf_cb->cb_count > 0) { in mm_stream_dispatch_sync_data()
279 buf_cb->cb_count--; in mm_stream_dispatch_sync_data()
280 if (0 == buf_cb->cb_count) { in mm_stream_dispatch_sync_data()
281 buf_cb->cb = NULL; in mm_stream_dispatch_sync_data()
282 buf_cb->user_data = NULL; in mm_stream_dispatch_sync_data()
[all …]
Dmm_camera.c2165 mm_stream_data_cb_t buf_cb; in mm_camera_reg_stream_buf_cb() local
2173 memset(&buf_cb, 0, sizeof(mm_stream_data_cb_t)); in mm_camera_reg_stream_buf_cb()
2174 buf_cb.cb = stream_cb; in mm_camera_reg_stream_buf_cb()
2175 buf_cb.cb_count = -1; in mm_camera_reg_stream_buf_cb()
2176 buf_cb.cb_type = cb_type; in mm_camera_reg_stream_buf_cb()
2177 buf_cb.user_data = userdata; in mm_camera_reg_stream_buf_cb()
2181 payload.buf_cb = buf_cb; in mm_camera_reg_stream_buf_cb()
Dmm_camera_interface.c1913 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb, in mm_camera_intf_register_stream_buf_cb() argument
1929 buf_cb, cb_type, userdata); in mm_camera_intf_register_stream_buf_cb()
Dmm_camera_channel.c652 uint32_t stream_id, mm_stream_data_cb_t buf_cb) in mm_channel_reg_stream_buf_cb() argument
663 rc = mm_stream_reg_buf_cb(s_obj, buf_cb); in mm_channel_reg_stream_buf_cb()
884 payload->stream_id, payload->buf_cb); in mm_channel_fsm_fn_stopped()
1096 payload->stream_id, payload->buf_cb); in mm_channel_fsm_fn_active()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h258 mm_stream_data_cb_t buf_cb[MM_CAMERA_STREAM_BUF_CB_MAX]; member
354 mm_stream_data_cb_t buf_cb; member
636 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,
/hardware/qcom/camera/QCamera2/stack/common/
Dmm_camera_interface.h860 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,