• Home
  • Raw
  • Download

Lines Matching refs:vbuf

826 	frame->vbuf.sequence = ctx->frame_num++;  in hva_run_work()
937 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in hva_buf_prepare() local
940 struct hva_frame *frame = to_hva_frame(vbuf); in hva_buf_prepare()
942 if (vbuf->field == V4L2_FIELD_ANY) in hva_buf_prepare()
943 vbuf->field = V4L2_FIELD_NONE; in hva_buf_prepare()
944 if (vbuf->field != V4L2_FIELD_NONE) { in hva_buf_prepare()
947 ctx->name, vb->index, vbuf->field); in hva_buf_prepare()
953 frame->vaddr = vb2_plane_vaddr(&vbuf->vb2_buf, 0); in hva_buf_prepare()
955 &vbuf->vb2_buf, 0); in hva_buf_prepare()
965 struct hva_stream *stream = to_hva_stream(vbuf); in hva_buf_prepare()
969 stream->vaddr = vb2_plane_vaddr(&vbuf->vb2_buf, 0); in hva_buf_prepare()
971 &vbuf->vb2_buf, 0); in hva_buf_prepare()
972 stream->size = vb2_plane_size(&vbuf->vb2_buf, 0); in hva_buf_prepare()
988 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in hva_buf_queue() local
991 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in hva_buf_queue()
999 struct vb2_v4l2_buffer *vbuf; in hva_start_streaming() local
1052 while ((vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx))) in hva_start_streaming()
1053 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_QUEUED); in hva_start_streaming()
1056 while ((vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx))) in hva_start_streaming()
1057 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_QUEUED); in hva_start_streaming()
1071 struct vb2_v4l2_buffer *vbuf; in hva_stop_streaming() local
1079 while ((vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx))) in hva_stop_streaming()
1080 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); in hva_stop_streaming()
1084 while ((vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx))) in hva_stop_streaming()
1085 v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR); in hva_stop_streaming()