Searched defs:buf_cb (Results 1 - 5 of 5) sorted by relevance

/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera.c2152 * @buf_cb : special callback needs to be registered for stream buffer
2165 mm_stream_data_cb_t buf_cb; local
2173 memset(&buf_cb, 0, sizeof(mm_stream_data_cb_t));
2174 buf_cb.cb = stream_cb;
2175 buf_cb.cb_count = -1;
2176 buf_cb.cb_type = cb_type;
2177 buf_cb.user_data = userdata;
2181 payload.buf_cb = buf_cb;
H A Dmm_camera_channel.c645 * @buf_cb : special callback needs to be registered for stream buffer
652 uint32_t stream_id, mm_stream_data_cb_t buf_cb)
663 rc = mm_stream_reg_buf_cb(s_obj, buf_cb);
884 payload->stream_id, payload->buf_cb);
1096 payload->stream_id, payload->buf_cb);
651 mm_channel_reg_stream_buf_cb(mm_channel_t* my_obj, uint32_t stream_id, mm_stream_data_cb_t buf_cb) argument
H A Dmm_camera_interface.c1904 * @buf_cb : callback function
1913 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,
1929 buf_cb, cb_type, userdata);
1912 mm_camera_intf_register_stream_buf_cb(uint32_t camera_handle, uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb, mm_camera_stream_cb_type cb_type, void *userdata) argument
H A Dmm_camera_stream.c257 mm_stream_data_cb_t *buf_cb, mm_camera_buf_info_t *buf_info)
262 buf_cb == NULL) {
271 if ((buf_cb != NULL) && (buf_cb->cb_type == MM_CAMERA_STREAM_CB_TYPE_SYNC)
272 && (buf_cb->cb_count != 0)) {
274 buf_cb->cb(&super_buf, buf_cb->user_data);
277 * when count reach 0, reset the buf_cb to have no CB */
278 if (buf_cb->cb_count > 0) {
279 buf_cb
256 mm_stream_dispatch_sync_data(mm_stream_t * my_obj, mm_stream_data_cb_t *buf_cb, mm_camera_buf_info_t *buf_info) argument
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
H A Dmm_camera.h257 pthread_mutex_t cb_lock; /* cb lock to protect buf_cb */
258 mm_stream_data_cb_t buf_cb[MM_CAMERA_STREAM_BUF_CB_MAX]; member in struct:mm_stream
354 mm_stream_data_cb_t buf_cb; member in struct:__anon2575
636 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb,

Completed in 42 milliseconds