Home
last modified time | relevance | path

Searched refs:vb2_plane_size (Results 1 – 25 of 108) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/media/usb/au0828/
Dau0828-vbi.c41 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare()
43 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare()
62 buf->length = vb2_plane_size(vb, 0); in vbi_buffer_queue()
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-vbi.c62 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare()
65 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare()
84 buf->length = vb2_plane_size(vb, 0); in vbi_buffer_queue()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-meta-cap.c55 if (vb2_plane_size(vb, 0) < size) { in meta_cap_buf_prepare()
57 __func__, vb2_plane_size(vb, 0), size); in meta_cap_buf_prepare()
171 memset(meta, 1, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_meta_cap_fillbuff()
Dvivid-vbi-cap.c94 memset(vbuf, 0x10, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_raw_vbi_cap_process()
113 memset(vbuf, 0, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_sliced_vbi_cap_process()
162 if (vb2_plane_size(vb, 0) < size) { in vbi_cap_buf_prepare()
164 __func__, vb2_plane_size(vb, 0), size); in vbi_cap_buf_prepare()
Dvivid-meta-out.c55 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()
Dvivid-vbi-out.c58 if (vb2_plane_size(vb, 0) < size) { in vbi_out_buf_prepare()
60 __func__, vb2_plane_size(vb, 0), size); in vbi_out_buf_prepare()
Dvivid-sdr-cap.c235 if (vb2_plane_size(vb, 0) < size) { in sdr_cap_buf_prepare()
237 __func__, vb2_plane_size(vb, 0), size); in sdr_cap_buf_prepare()
510 unsigned long plane_size = vb2_plane_size(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process()
Dvivid-touch-cap.c47 if (vb2_plane_size(vb, 0) < size) { in touch_cap_buf_prepare()
49 __func__, vb2_plane_size(vb, 0), size); in touch_cap_buf_prepare()
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Desparser.c97 if (dsize == vb2_plane_size(buf, 0)) { in vp9_update_header()
136 if (new_frame_size >= vb2_plane_size(buf, 0)) { in vp9_update_header()
202 vb2_plane_size(vb, 0)) { in esparser_pad_start_code()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_vb2.c59 if (vb2_plane_size(vb, 0) < size) { in _buffer_prepare()
61 ctx->name, vb2_plane_size(vb, 0), size); in _buffer_prepare()
288 ctx->remain = vb2_plane_size(&ctx->buf->vb, 0); in dvb_vb2_fill_buffer()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Duvc_queue.c64 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare()
74 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_dma.c81 if (vb2_plane_size(vb, i) < size) { in sun4i_csi_buffer_prepare()
83 vb2_plane_size(vb, i), size); in sun4i_csi_buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_queue.c111 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare()
122 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_enc_hw.c82 size = vb2_plane_size(dst_buf, 0); in mtk_jpeg_set_enc_dst()
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-jpeg.c508 val = DIV_ROUND_UP(vb2_plane_size(buf, 0), 256) + 3; in coda9_jpeg_dec_bbc_gbu_setup()
1083 vb2_plane_size(&src_buf->vb2_buf, 0)); in coda9_jpeg_prepare_encode()
1095 end_addr = start_addr + vb2_plane_size(&dst_buf->vb2_buf, 0); in coda9_jpeg_prepare_encode()
1112 vb2_plane_size(&dst_buf->vb2_buf, 0), in coda9_jpeg_prepare_encode()
1340 vb2_plane_size(&src_buf->vb2_buf, 0)); in coda9_jpeg_prepare_decode()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
Dvimc-capture.c314 if (vb2_plane_size(vb, 0) < size) { in vimc_cap_buffer_prepare()
316 vcap->vdev.name, vb2_plane_size(vb, 0), size); in vimc_cap_buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c1142 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in enc_pre_seq_start()
1206 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in enc_pre_frame_start()
2471 vb2_plane_size(vb, 0), ctx->enc_dst_buf_size); in s5p_mfc_buf_prepare()
2472 if (vb2_plane_size(vb, 0) < ctx->enc_dst_buf_size) { in s5p_mfc_buf_prepare()
2481 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare()
2483 vb2_plane_size(vb, 1), ctx->chroma_size); in s5p_mfc_buf_prepare()
2484 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare()
2485 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_prepare()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-vbi.c119 if (vb2_plane_size(vb2, 0) < size) in buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c182 if (vb2_plane_size(vb, 0) < size) in vbi_buf_prepare()
584 memset(outp, 0, vb2_plane_size(&(*buf)->vb.vb2_buf, 0)); in get_next_vbi_buf()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c117 if (vb2_plane_size(vb, 0) < size) { in sun6i_video_buffer_prepare()
119 vb2_plane_size(vb, 0), size); in sun6i_video_buffer_prepare()
/kernel/linux/linux-5.10/samples/v4l/
Dv4l2-pci-skeleton.c201 if (vb2_plane_size(vb, 0) < size) { in buffer_prepare()
203 vb2_plane_size(vb, 0), size); in buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-vbi.c140 if (vb2_plane_size(vb, 0) < lines * VBI_LINE_LENGTH * 2) in buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-vbi.c143 if (vb2_plane_size(vb, 0) < size) in buffer_prepare()
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c163 if (vb2_plane_size(vb, i) < size) { in isp_video_capture_buffer_prepare()
166 vb2_plane_size(vb, i), size); in isp_video_capture_buffer_prepare()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_v4l2.c619 i, vb2_plane_size(vb, i), sz); in hantro_buf_plane_check()
620 if (vb2_plane_size(vb, i) < sz) { in hantro_buf_plane_check()

12345