/linux-master/drivers/media/platform/nxp/imx-jpeg/ |
H A D | mxc-jpeg.c | 924 jpeg_src_buf = vb2_to_mxc_buf(&src_buf->vb2_buf); 957 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, payload); 963 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, payload); 964 vb2_set_plane_payload(&dst_buf->vb2_buf, 1, 0); 967 vb2_set_plane_payload(&dst_buf->vb2_buf, 1, payload); 970 vb2_get_plane_payload(&dst_buf->vb2_buf, 0), 971 vb2_get_plane_payload(&dst_buf->vb2_buf, 1)); 976 print_mxc_buf(jpeg, &src_buf->vb2_buf, 32); 978 print_mxc_buf(jpeg, &dst_buf->vb2_buf, 32); 1460 jpeg_src_buf = vb2_to_mxc_buf(&src_buf->vb2_buf); [all...] |
/linux-master/samples/v4l/ |
H A D | v4l2-pci-skeleton.c | 131 new_buf->vb.vb2_buf.timestamp = ktime_get_ns(); 140 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); 226 vb2_buffer_done(&buf->vb.vb2_buf, state);
|
/linux-master/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu2_hw_h264_dec.c | 210 VDPU_REG_STREAM_LEN(vb2_get_plane_payload(&src_buf->vb2_buf, 0)); 431 src_dma = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); 436 dst_dma = hantro_get_dec_buf_addr(ctx, &dst_buf->vb2_buf);
|
H A D | hantro_postproc.c | 91 dst_dma = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); 126 dst_dma = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0);
|
H A D | rockchip_vpu981_hw_av1_dec.c | 745 dst = vb2_to_hantro_decoded_buf(&av1_dec->frame_refs[idx].vb2_ref->vb2_buf); 746 luma_addr = hantro_get_dec_buf_addr(ctx, &dst->base.vb.vb2_buf); 810 seg = vb2_to_hantro_decoded_buf(&av1_dec->frame_refs[idx].vb2_ref->vb2_buf); 811 luma_addr = hantro_get_dec_buf_addr(ctx, &seg->base.vb.vb2_buf); 2061 src_dma = vb2_dma_contig_plane_dma_addr(&vb2_src->vb2_buf, 0); 2062 src_len = vb2_get_plane_payload(&vb2_src->vb2_buf, 0); 2063 src_buf_len = vb2_plane_size(&vb2_src->vb2_buf, 0); 2087 dst = vb2_to_hantro_decoded_buf(&vb2_dst->vb2_buf); 2088 luma_addr = hantro_get_dec_buf_addr(ctx, &dst->base.vb.vb2_buf); 2116 rockchip_vpu981_av1_dec_frame_ref(ctx, vb2_src->vb2_buf [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_fops.c | 268 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;
|
/linux-master/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_m2m.c | 463 mtk_mdp_prepare_addr(ctx, &src_vbuf->vb2_buf, s_frame, &s_frame->addr); 466 mtk_mdp_prepare_addr(ctx, &dst_vbuf->vb2_buf, d_frame, &d_frame->addr); 468 dst_vbuf->vb2_buf.timestamp = src_vbuf->vb2_buf.timestamp; 484 dst_vbuf->vb2_buf.timestamp = src_vbuf->vb2_buf.timestamp;
|
/linux-master/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 201 return saa7134_buffer_pages(vb2_plane_size(&buf->vb2.vb2_buf, 0)) 202 * buf->vb2.vb2_buf.index; 208 struct sg_table *dma = vb2_dma_sg_plane_desc(&buf->vb2.vb2_buf, 0); 295 q->curr->vb2.vb2_buf.timestamp = ktime_get_ns(); 297 vb2_buffer_done(&q->curr->vb2.vb2_buf, state); 361 vb2_buffer_done(&tmp->vb2.vb2_buf,
|
H A D | saa7134-vbi.c | 73 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_buf.vb2_queue->drv_priv;
|
/linux-master/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-v4l2.c | 194 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; 291 ret = bdisp_get_addr(ctx, &src_vb->vb2_buf, src, src->paddr); 296 ret = bdisp_get_addr(ctx, &dst_vb->vb2_buf, dst, dst->paddr); 300 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp;
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_video.c | 341 done->buf.vb2_buf.timestamp = ktime_get_ns(); 342 for (i = 0; i < done->buf.vb2_buf.num_planes; ++i) 343 vb2_set_plane_payload(&done->buf.vb2_buf, i, 344 vb2_plane_size(&done->buf.vb2_buf, i)); 345 vb2_buffer_done(&done->buf.vb2_buf, VB2_BUF_STATE_DONE); 844 vb2_buffer_done(&buffer->buf.vb2_buf, VB2_BUF_STATE_ERROR);
|
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-v4l2.c | 317 struct imgu_buffer, vid_buf.vbb.vb2_buf); 333 struct imgu_buffer, vid_buf.vbb.vb2_buf); 352 vid_buf.vbb.vb2_buf); 462 vb2_buffer_done(&b->vbb.vb2_buf, state); 1394 container_of(vb, struct imgu_vb2_buffer, vbb.vb2_buf); 1397 vb2_buffer_done(&b->vbb.vb2_buf, state);
|
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | helpers.c | 439 if (vbuf->vb2_buf.type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) 450 struct vb2_buffer *vb = &vbuf->vb2_buf; 479 struct vb2_buffer *vb = &vbuf->vb2_buf; 502 struct vb2_buffer *vb = &vbuf->vb2_buf; 512 fdata.clnt_data = vbuf->vb2_buf.index; 1384 if (buf->vb.vb2_buf.index == idx) { 1490 unsigned int idx = vbuf->vb2_buf.index; 1492 if (vbuf->vb2_buf.type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE)
|
/linux-master/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 88 buf->vb.vb2_buf.timestamp = ktime_get_ns(); 98 vb2_buffer_done(&buf->vb.vb2_buf, state);
|
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bttv-driver.c | 1551 vb2_buffer_done(&buf->vbuf.vb2_buf, 2737 wakeup->top->vbuf.vb2_buf.timestamp = ts; 2739 vb2_buffer_done(&wakeup->top->vbuf.vb2_buf, state); 2748 wakeup->top->vbuf.vb2_buf.timestamp = ts; 2750 vb2_buffer_done(&wakeup->top->vbuf.vb2_buf, state); 2758 wakeup->bottom->vbuf.vb2_buf.timestamp = ts; 2760 vb2_buffer_done(&wakeup->bottom->vbuf.vb2_buf, state); 2773 wakeup->vbuf.vb2_buf.timestamp = ktime_get_ns(); 2785 if (vb2_fileio_is_active(wakeup->vbuf.vb2_buf.vb2_queue)) { 2786 u32 *vaddr = vb2_plane_vaddr(&wakeup->vbuf.vb2_buf, [all...] |
/linux-master/drivers/media/usb/cx231xx/ |
H A D | cx231xx-video.c | 169 cx231xx_isocdbg("[%p/%d] wakeup\n", buf, buf->vb.vb2_buf.index); 172 buf->vb.vb2_buf.timestamp = ktime_get_ns(); 173 vb2_set_plane_payload(&buf->vb.vb2_buf, 0, dev->size); 181 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE); 248 outp = vb2_plane_vaddr(&(*buf)->vb.vb2_buf, 0); 657 p_out_buffer = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); 735 container_of(vb, struct cx231xx_buffer, vb.vb2_buf); 759 vb2_buffer_done(&buf->vb.vb2_buf, state);
|
H A D | cx231xx-417.c | 1256 vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); 1280 buf->vb.vb2_buf.timestamp = ktime_get_ns(); 1283 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE); 1307 vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); 1310 buf->vb.vb2_buf.timestamp = ktime_get_ns(); 1312 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE); 1368 container_of(vb, struct cx231xx_buffer, vb.vb2_buf); 1387 vb2_buffer_done(&buf->vb.vb2_buf, state);
|
/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-core.c | 437 buf->vb.vb2_buf.timestamp = ktime_get_ns(); 441 buf->vb.vb2_buf.index, count, q->count); 444 buf->vb.vb2_buf.index, count, q->count); 447 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE); 1582 struct sg_table *sgt = vb2_dma_sg_plane_desc(&buf->vb.vb2_buf, 0); 1585 if (vb2_plane_size(&buf->vb.vb2_buf, 0) < size) 1587 vb2_set_plane_payload(&buf->vb.vb2_buf, 0, size); 1632 buf, buf->vb.vb2_buf.index, __func__); 1640 buf, buf->vb.vb2_buf.index, __func__); 1658 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERRO [all...] |
/linux-master/drivers/media/platform/samsung/s5p-jpeg/ |
H A D | jpeg-core.c | 775 (unsigned long)vb2_plane_vaddr(&vb->vb2_buf, 0) + ctx->out_q.sos + 2; 812 jpeg_buffer.data = (unsigned long)vb2_plane_vaddr(&vb->vb2_buf, 0) + 870 (unsigned long)vb2_plane_vaddr(&vb->vb2_buf, 0) + ctx->out_q.sof; 902 jpeg_buffer.data = (unsigned long)vb2_plane_vaddr(&vb->vb2_buf, 0) + 2038 src_addr = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); 2039 dst_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); 2131 jpeg_addr.y = vb2_dma_contig_plane_dma_addr(&vb->vb2_buf, 0); 2157 jpeg_addr = vb2_dma_contig_plane_dma_addr(&vb->vb2_buf, 0); 2287 jpeg_addr.y = vb2_dma_contig_plane_dma_addr(&vb->vb2_buf, 0); 2313 jpeg_addr = vb2_dma_contig_plane_dma_addr(&vb->vb2_buf, [all...] |
/linux-master/drivers/media/usb/gspca/ |
H A D | gspca.h | 151 return container_of(vb2, struct gspca_buffer, vb.vb2_buf);
|
/linux-master/drivers/media/platform/nvidia/tegra-vde/ |
H A D | vde.h | 171 vb.vb2_buf);
|
/linux-master/drivers/staging/media/rkvdec/ |
H A D | rkvdec-h264.c | 930 rlc_addr = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); 934 rlc_len = vb2_get_plane_payload(&src_buf->vb2_buf, 0); 944 dst_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); 962 vb_buf = &dst_buf->vb2_buf;
|
/linux-master/drivers/media/platform/ |
H A D | m2m-deinterlace.c | 188 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; 224 p_in = (dma_addr_t)vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); 225 p_out = (dma_addr_t)vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf,
|
/linux-master/drivers/media/platform/samsung/s5p-g2d/ |
H A D | g2d.c | 520 g2d_set_src_addr(dev, vb2_dma_contig_plane_dma_addr(&src->vb2_buf, 0)); 523 g2d_set_dst_addr(dev, vb2_dma_contig_plane_dma_addr(&dst->vb2_buf, 0)); 560 dst->vb2_buf.timestamp = src->vb2_buf.timestamp;
|
/linux-master/drivers/media/platform/nxp/ |
H A D | mx2_emmaprp.c | 290 p_in = vb2_dma_contig_plane_dma_addr(&src_buf->vb2_buf, 0); 291 p_out = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); 356 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp;
|