Searched refs:vb2_buf (Results 1 - 25 of 234) sorted by last modified time

12345678910

/linux-master/include/media/
H A Dvideobuf2-v4l2.h31 * @vb2_buf: embedded struct &vb2_buffer.
45 struct vb2_buffer vb2_buf; member in struct:vb2_v4l2_buffer
63 container_of(vb, struct vb2_v4l2_buffer, vb2_buf)
H A Dv4l2-mem2mem.h231 vb2_buffer_done(&buf->vb2_buf, state);
/linux-master/drivers/staging/media/tegra-video/
H A Dvi.c247 vb2_buffer_done(&buf->buf.vb2_buf, state);
254 vb2_buffer_done(&buf->buf.vb2_buf, state);
H A Dtegra20.c348 vb->vb2_buf.timestamp = ktime_get_ns();
349 vb2_buffer_done(&vb->vb2_buf, state);
/linux-master/drivers/staging/media/ipu3/
H A Dipu3.c266 vb = &ivb->vbb.vb2_buf;
299 dummy ? 0 : ibuf->vid_buf.vbb.vb2_buf.index,
337 imgu_v4l2_buffer_done(&buf->vid_buf.vbb.vb2_buf,
547 dummy ? 0 : buf->vid_buf.vbb.vb2_buf.index,
557 buf->vid_buf.vbb.vb2_buf.timestamp = ns;
565 imgu_buffer_done(imgu, &buf->vid_buf.vbb.vb2_buf,
/linux-master/drivers/staging/media/atomisp/pci/
H A Datomisp_fops.c268 param = pipe->frame_params[frame->vb.vb2_buf.index];
307 pipe->frame_params[frame->vb.vb2_buf.index] = NULL;
429 int index = frame->vb.vb2_buf.index;
H A Datomisp_cmd.c590 struct atomisp_video_pipe *pipe = vb_to_pipe(&frame->vb.vb2_buf);
594 frame->vb.vb2_buf.timestamp = ktime_get_ns();
599 vb2_set_plane_payload(&frame->vb.vb2_buf, 0, pipe->pix.sizeimage);
600 vb2_buffer_done(&frame->vb.vb2_buf, state);
621 pipe->frame_request_config_id[frame->vb.vb2_buf.index] = 0;
782 pipe = vb_to_pipe(&frame->vb.vb2_buf);
786 pipe->frame_config_id[frame->vb.vb2_buf.index] = frame->isp_config_id;
799 pipe = vb_to_pipe(&frame->vb.vb2_buf);
804 i = frame->vb.vb2_buf.index;
2870 struct atomisp_video_pipe *pipe = vb_to_pipe(&frame->vb.vb2_buf);
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c215 if (b->vb.vb2_buf.index == idx) {
340 dst->vb2_buf.copied_timestamp &&
341 dst->vb2_buf.timestamp != src->vb2_buf.timestamp) {
356 m2m_ctx->new_frame = !dst->vb2_buf.copied_timestamp ||
357 dst->vb2_buf.timestamp != src->vb2_buf.timestamp;
638 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE);
1291 q_ctx = get_queue_ctx(m2m_ctx, vbuf->vb2_buf.vb2_queue->type);
1312 cap_vb->vb2_buf
[all...]
/linux-master/drivers/media/usb/stk1160/
H A Dstk1160-video.c91 buf->vb.vb2_buf.timestamp = ktime_get_ns();
93 vb2_set_plane_payload(&buf->vb.vb2_buf, 0, buf->bytesused);
94 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE);
/linux-master/drivers/media/usb/s2255/
H A Ds2255drv.c558 buf->vb.vb2_buf.timestamp = ktime_get_ns();
565 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE);
597 char *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0);
620 vb2_set_plane_payload(&buf->vb.vb2_buf, 0, jpgsize);
682 vb2_set_plane_payload(&buf->vb.vb2_buf, 0, size);
1087 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR);
1089 buf, buf->vb.vb2_buf.index);
/linux-master/drivers/media/usb/au0828/
H A Dau0828-video.c290 struct vb2_queue *q = vb->vb2_buf.vb2_queue;
301 vb->vb2_buf.timestamp = ktime_get_ns();
302 vb2_buffer_done(&vb->vb2_buf, VB2_BUF_STATE_DONE);
518 outp = vb2_plane_vaddr(&buf->vb.vb2_buf, 0);
522 vbioutp = vb2_plane_vaddr(&vbi_buf->vb.vb2_buf, 0);
561 &vbi_buf->vb.vb2_buf, 0);
571 &buf->vb.vb2_buf, 0);
708 vb2_set_plane_payload(&buf->vb.vb2_buf, 0, buf->length);
864 vb2_buffer_done(&dev->isoc_ctl.buf->vb.vb2_buf,
872 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERRO
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-touch-cap.c84 vb2_buffer_done(&buf->vb.vb2_buf,
260 __s16 *tch_buf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0);
H A Dvivid-meta-out.c95 vb2_buffer_done(&buf->vb.vb2_buf,
162 struct vivid_meta_out_buf *meta = vb2_plane_vaddr(&buf->vb.vb2_buf, 0);
/linux-master/drivers/media/test-drivers/visl/
H A Dvisl-video.c612 v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req,
615 vbuf->vb2_buf.req_obj.req);
620 vbuf->vb2_buf.timestamp,
/linux-master/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c236 vb2_buffer_done(&vbuf->vb2.vb2_buf, state);
283 static void vimc_capture_buf_queue(struct vb2_buffer *vb2_buf) argument
285 struct vimc_capture_device *vcapture = vb2_get_drv_priv(vb2_buf->vb2_queue);
286 struct vimc_capture_buffer *buf = container_of(vb2_buf,
288 vb2.vb2_buf);
382 vimc_buf->vb2.vb2_buf.timestamp = ktime_get_ns();
386 vbuf = vb2_plane_vaddr(&vimc_buf->vb2.vb2_buf, 0);
391 vb2_set_plane_payload(&vimc_buf->vb2.vb2_buf, 0,
393 vb2_buffer_done(&vimc_buf->vb2.vb2_buf, VB2_BUF_STATE_DONE);
/linux-master/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c263 p_src = vb2_plane_vaddr(&src_vb->vb2_buf, 0);
268 struct media_request *src_req = src_vb->vb2_buf.req_obj.req;
276 htonl(vb2_get_plane_payload(&src_vb->vb2_buf, 0));
298 p_dst = vb2_plane_vaddr(&dst_vb->vb2_buf, 0);
314 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, comp_sz_or_errcode);
329 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, q_dst->sizeimage);
411 src_req = src_buf->vb2_buf.req_obj.req;
435 } else if (vb2_get_plane_payload(&src_buf->vb2_buf, 0) == ctx->cur_buf_offset) {
553 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, 0);
590 p_src = vb2_plane_vaddr(&src_buf->vb2_buf,
[all...]
/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_v4l2.c947 v4l2_ctrl_request_complete(vbuf->vb2_buf.req_obj.req,
/linux-master/drivers/media/platform/ti/j721e-csi2rx/
H A Dj721e-csi2rx.c607 buf->vb.vb2_buf.timestamp = ktime_get_ns();
613 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE);
622 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR);
643 addr = vb2_dma_contig_plane_dma_addr(&buf->vb.vb2_buf, 0);
703 vb2_buffer_done(&buf->vb.vb2_buf, state);
707 vb2_buffer_done(&buf->vb.vb2_buf, state);
754 buf = container_of(vb, struct ti_csi2rx_buffer, vb.vb2_buf);
792 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR);
/linux-master/drivers/media/platform/ti/davinci/
H A Dvpif_display.c206 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0);
238 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_QUEUED);
273 vb2_buffer_done(&common->cur_frm->vb.vb2_buf,
277 vb2_buffer_done(&common->cur_frm->vb.vb2_buf,
280 vb2_buffer_done(&common->next_frm->vb.vb2_buf,
288 vb2_buffer_done(&common->next_frm->vb.vb2_buf,
317 addr = vb2_dma_contig_plane_dma_addr(&common->next_frm->vb.vb2_buf, 0);
335 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns();
337 vb2_buffer_done(&common->cur_frm->vb.vb2_buf,
391 common->cur_frm->vb.vb2_buf
[all...]
H A Dvpif_capture.c213 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0);
243 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_QUEUED);
285 vb2_buffer_done(&common->cur_frm->vb.vb2_buf,
289 vb2_buffer_done(&common->cur_frm->vb.vb2_buf,
292 vb2_buffer_done(&common->next_frm->vb.vb2_buf,
301 vb2_buffer_done(&common->next_frm->vb.vb2_buf,
327 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns();
328 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE);
351 addr = vb2_dma_contig_plane_dma_addr(&common->next_frm->vb.vb2_buf, 0);
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-vfe.c392 vb2_buffer_done(&buf->vb.vb2_buf, state);
781 vb2_buffer_done(&output->buf[0]->vb.vb2_buf, state);
784 vb2_buffer_done(&output->buf[1]->vb.vb2_buf, state);
787 vb2_buffer_done(&output->last_buffer->vb.vb2_buf, state);
H A Dcamss-vfe-17x.c605 ready_buf->vb.vb2_buf.timestamp = ts;
622 vb2_buffer_done(&ready_buf->vb.vb2_buf, VB2_BUF_STATE_DONE);
/linux-master/drivers/media/platform/nvidia/tegra-vde/
H A Dh264.c672 return &dst->vb2_buf;
764 struct tegra_m2m_buffer *tb = vb_to_tegra_buf(&dst->vb2_buf);
793 err = tegra_vde_h264_setup_frame(ctx, h264, NULL, &dst->vb2_buf, 0,
928 struct tegra_m2m_buffer *bitstream = vb_to_tegra_buf(&src->vb2_buf);
929 size_t bitstream_size = vb2_get_plane_payload(&src->vb2_buf, 0);
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc.c847 container_of(vb, struct vb2_v4l2_buffer, vb2_buf);
856 ctx->id, vb2_v4l2->vb2_buf.index, ctx->param_change);
943 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, 0);
1032 bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0);
1033 bs_buf.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0);
1034 bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length;
1038 ctx->id, dst_buf->vb2_buf.index, bs_buf.va,
1046 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, 0);
1054 dst_buf->vb2_buf.timestamp = src_buf->vb2_buf
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_hevc_req_multi_if.c744 lat_buf->src_buf_req = src_buf_info->m2m_buf.vb.vb2_buf.req_obj.req;

Completed in 329 milliseconds

12345678910