Lines Matching full:vb
40 static int meta_out_buf_prepare(struct vb2_buffer *vb) in meta_out_buf_prepare() argument
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare()
55 if (vb2_plane_size(vb, 0) < size) { in meta_out_buf_prepare()
57 __func__, vb2_plane_size(vb, 0), size); in meta_out_buf_prepare()
60 vb2_set_plane_payload(vb, 0, size); in meta_out_buf_prepare()
65 static void meta_out_buf_queue(struct vb2_buffer *vb) in meta_out_buf_queue() argument
67 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in meta_out_buf_queue()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue()
69 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in meta_out_buf_queue()
98 vb2_buffer_done(&buf->vb.vb2_buf, in meta_out_start_streaming()
114 static void meta_out_buf_request_complete(struct vb2_buffer *vb) in meta_out_buf_request_complete() argument
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_request_complete()
118 v4l2_ctrl_request_complete(vb->req_obj.req, &dev->ctrl_hdl_meta_out); in meta_out_buf_request_complete()
165 struct vivid_meta_out_buf *meta = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_meta_out_process()