Lines Matching refs:vbuf
448 mm_camera_buf_def_t *vbuf) in mm_camera_stream_util_reg_buf() argument
457 if(vbuf->num > MM_CAMERA_MAX_NUM_FRAMES) { in mm_camera_stream_util_reg_buf()
460 __func__, vbuf->num, MM_CAMERA_MAX_NUM_FRAMES); in mm_camera_stream_util_reg_buf()
489 stream->frame.num_frame = vbuf->num; in mm_camera_stream_util_reg_buf()
505 for(i = 0; i < vbuf->num; i++){ in mm_camera_stream_util_reg_buf()
506 vbuf->buf.mp[i].idx = i; /* remember the index to stream frame if first time qbuf */ in mm_camera_stream_util_reg_buf()
507 memcpy(&stream->frame.frame[i].frame, &(vbuf->buf.mp[i].frame), in mm_camera_stream_util_reg_buf()
508 sizeof(vbuf->buf.mp[i].frame)); in mm_camera_stream_util_reg_buf()
510 stream->frame.frame[i].num_planes = vbuf->buf.mp[i].num_planes; in mm_camera_stream_util_reg_buf()
511 for(j = 0; j < vbuf->buf.mp[i].num_planes; j++) { in mm_camera_stream_util_reg_buf()
512 stream->frame.frame[i].planes[j] = vbuf->buf.mp[i].planes[j]; in mm_camera_stream_util_reg_buf()
515 if(vbuf->buf.mp[i].frame_offset) { in mm_camera_stream_util_reg_buf()
516 stream->frame.frame_offset[i] = vbuf->buf.mp[i].frame_offset; in mm_camera_stream_util_reg_buf()
521 if (!vbuf->no_enqueue_flag[i]) { in mm_camera_stream_util_reg_buf()
531 stream->frame.reg_flag[i] = vbuf->no_enqueue_flag[i]; in mm_camera_stream_util_reg_buf()