Searched refs:buf_cb (Results 1 - 2 of 2) sorted by relevance

/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c224 if(NULL != my_obj->buf_cb[i].cb) {
288 if(NULL != my_obj->buf_cb[i].cb) {
289 if (my_obj->buf_cb[i].cb_count != 0) {
300 my_obj->buf_cb[i].cb(&super_buf,
301 my_obj->buf_cb[i].user_data);
305 * when count reach 0, reset the buf_cb to have no CB */
306 if (my_obj->buf_cb[i].cb_count > 0) {
307 my_obj->buf_cb[i].cb_count--;
308 if (0 == my_obj->buf_cb[i].cb_count) {
309 my_obj->buf_cb[
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
H A Dmm_camera.h212 pthread_mutex_t cb_lock; /* cb lock to protect buf_cb */
213 mm_stream_data_cb_t buf_cb[MM_CAMERA_STREAM_BUF_CB_MAX]; member in struct:mm_stream

Completed in 81 milliseconds