Home
last modified time | relevance | path

Searched refs:local_buf_idx (Results 1 – 2 of 2) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c284 my_obj->buf[my_obj->local_buf_idx].buf_idx = 0; in mm_stream_buf_notify()
285 my_obj->buf[my_obj->local_buf_idx].stream_id = my_obj->my_hdl; in mm_stream_buf_notify()
286 my_obj->buf[my_obj->local_buf_idx].frame_idx = buf->frame_idx; in mm_stream_buf_notify()
288 memcpy(&my_obj->buf[my_obj->local_buf_idx].ts, &buf->ts, sizeof(buf->ts)); in mm_stream_buf_notify()
290 memcpy(my_obj->buf[my_obj->local_buf_idx].buffer, buf->buffer, buf->frame_len); in mm_stream_buf_notify()
300 buf_info.frame_idx =my_obj->buf[my_obj->local_buf_idx].frame_idx; in mm_stream_buf_notify()
301 buf_info.buf = &my_obj->buf[my_obj->local_buf_idx]; in mm_stream_buf_notify()
304 my_obj->local_buf_idx++; in mm_stream_buf_notify()
305 if (my_obj->local_buf_idx >= my_obj->buf_num) { in mm_stream_buf_notify()
306 my_obj->local_buf_idx = 0; in mm_stream_buf_notify()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h252 uint8_t local_buf_idx; /* idx to local buf that can be used for non-stream-on cb */ member