Lines Matching defs:vb
141 struct vb2_v4l2_buffer vb;
147 return container_of(vbuf, struct ceu_buffer, vb);
533 ceudev->active = &buf->vb;
550 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR);
645 static void ceu_vb2_queue(struct vb2_buffer *vb)
647 struct ceu_device *ceudev = vb2_get_drv_priv(vb->vb2_queue);
648 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb);
657 static int ceu_vb2_prepare(struct vb2_buffer *vb)
659 struct ceu_device *ceudev = vb2_get_drv_priv(vb->vb2_queue);
664 if (vb2_plane_size(vb, i) < pix->plane_fmt[i].sizeimage) {
667 vb2_plane_size(vb, i),
672 vb2_set_plane_payload(vb, i, pix->plane_fmt[i].sizeimage);
706 ceudev->active = &buf->vb;
752 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR);