Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c265 mm_stream_data_cb_t *buf_cb, mm_camera_buf_info_t *buf_info) in mm_stream_dispatch_sync_data() argument
270 buf_cb == NULL) { in mm_stream_dispatch_sync_data()
279 if ((buf_cb != NULL) && (buf_cb->cb_type == MM_CAMERA_STREAM_CB_TYPE_SYNC) in mm_stream_dispatch_sync_data()
280 && (buf_cb->cb_count != 0)) { in mm_stream_dispatch_sync_data()
282 buf_cb->cb(&super_buf, buf_cb->user_data); in mm_stream_dispatch_sync_data()
286 if (buf_cb->cb_count > 0) { in mm_stream_dispatch_sync_data()
287 buf_cb->cb_count--; in mm_stream_dispatch_sync_data()
288 if (0 == buf_cb->cb_count) { in mm_stream_dispatch_sync_data()
289 buf_cb->cb = NULL; in mm_stream_dispatch_sync_data()
290 buf_cb->user_data = NULL; in mm_stream_dispatch_sync_data()
[all …]
Dmm_camera.c2410 mm_stream_data_cb_t buf_cb; in mm_camera_reg_stream_buf_cb() local
2418 memset(&buf_cb, 0, sizeof(mm_stream_data_cb_t)); in mm_camera_reg_stream_buf_cb()
2419 buf_cb.cb = stream_cb; in mm_camera_reg_stream_buf_cb()
2420 buf_cb.cb_count = -1; in mm_camera_reg_stream_buf_cb()
2421 buf_cb.cb_type = cb_type; in mm_camera_reg_stream_buf_cb()
2422 buf_cb.user_data = userdata; in mm_camera_reg_stream_buf_cb()
2426 payload.buf_cb = buf_cb; in mm_camera_reg_stream_buf_cb()
Dmm_camera_channel.c657 uint32_t stream_id, mm_stream_data_cb_t buf_cb) in mm_channel_reg_stream_buf_cb() argument
668 rc = mm_stream_reg_buf_cb(s_obj, buf_cb); in mm_channel_reg_stream_buf_cb()
889 payload->stream_id, payload->buf_cb); in mm_channel_fsm_fn_stopped()
1101 payload->stream_id, payload->buf_cb); in mm_channel_fsm_fn_active()
Dmm_camera_interface.c1996 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb, in mm_camera_intf_register_stream_buf_cb() argument
2012 buf_cb, cb_type, userdata); in mm_camera_intf_register_stream_buf_cb()
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h260 mm_stream_data_cb_t buf_cb[MM_CAMERA_STREAM_BUF_CB_MAX]; member
356 mm_stream_data_cb_t buf_cb; member
644 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,
/device/google/marlin/camera/QCamera2/stack/common/
Dmm_camera_interface.h876 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,