Home
last modified time | relevance | path

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

12345

/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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.c242 if (vb2_plane_size(vb, 0) < size) { in sdr_cap_buf_prepare()
244 __func__, vb2_plane_size(vb, 0), size); in sdr_cap_buf_prepare()
514 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()
/linux-5.19.10/drivers/staging/media/hantro/
Dhantro_h1_jpeg_enc.c49 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in hantro_h1_jpeg_enc_set_buffers()
50 if (WARN_ON(vb2_plane_size(dst_buf, 0) < ctx->vpu_dst_fmt->header_size)) in hantro_h1_jpeg_enc_set_buffers()
Drockchip_vpu2_hw_jpeg_enc.c76 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in rockchip_vpu2_jpeg_enc_set_buffers()
77 if (WARN_ON(vb2_plane_size(dst_buf, 0) < ctx->vpu_dst_fmt->header_size)) in rockchip_vpu2_jpeg_enc_set_buffers()
/linux-5.19.10/drivers/media/dvb-core/
Ddvb_vb2.c55 if (vb2_plane_size(vb, 0) < size) { in _buffer_prepare()
57 ctx->name, vb2_plane_size(vb, 0), size); in _buffer_prepare()
284 ctx->remain = vb2_plane_size(&ctx->buf->vb, 0); in dvb_vb2_fill_buffer()
/linux-5.19.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()
/linux-5.19.10/drivers/usb/gadget/function/
Duvc_queue.c78 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare()
93 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare()
/linux-5.19.10/drivers/media/usb/uvc/
Duvc_queue.c105 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare()
117 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare()
/linux-5.19.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()
/linux-5.19.10/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_enc_hw.c82 size = vb2_plane_size(dst_buf, 0); in mtk_jpeg_set_enc_dst()
/linux-5.19.10/drivers/media/platform/chips-media/
Dcoda-jpeg.c509 val = DIV_ROUND_UP(vb2_plane_size(buf, 0), 256) + 3; in coda9_jpeg_dec_bbc_gbu_setup()
1084 vb2_plane_size(&src_buf->vb2_buf, 0)); in coda9_jpeg_prepare_encode()
1096 end_addr = start_addr + vb2_plane_size(&dst_buf->vb2_buf, 0); in coda9_jpeg_prepare_encode()
1113 vb2_plane_size(&dst_buf->vb2_buf, 0), in coda9_jpeg_prepare_encode()
1345 vb2_plane_size(&src_buf->vb2_buf, 0)); in coda9_jpeg_prepare_decode()
/linux-5.19.10/drivers/media/test-drivers/vimc/
Dvimc-capture.c315 if (vb2_plane_size(vb, 0) < size) { in vimc_cap_buffer_prepare()
317 vcap->vdev.name, vb2_plane_size(vb, 0), size); in vimc_cap_buffer_prepare()
/linux-5.19.10/drivers/media/platform/samsung/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()
2469 vb2_plane_size(vb, 0), ctx->enc_dst_buf_size); in s5p_mfc_buf_prepare()
2470 if (vb2_plane_size(vb, 0) < ctx->enc_dst_buf_size) { in s5p_mfc_buf_prepare()
2479 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare()
2481 vb2_plane_size(vb, 1), ctx->chroma_size); in s5p_mfc_buf_prepare()
2482 if (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()
/linux-5.19.10/drivers/media/pci/saa7134/
Dsaa7134-vbi.c119 if (vb2_plane_size(vb2, 0) < size) in buffer_prepare()
/linux-5.19.10/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c182 if (vb2_plane_size(vb, 0) < size) in vbi_buf_prepare()
583 memset(outp, 0, vb2_plane_size(&(*buf)->vb.vb2_buf, 0)); in get_next_vbi_buf()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/media/platform/nvidia/tegra-vde/
Dv4l2.c165 vb2_plane_size(vb, 1)); in tegra_buf_init()
194 vb2_plane_size(vb, i)); in tegra_buf_init()
251 if (vb2_plane_size(vb, i) < hw_size) in tegra_buf_prepare()
/linux-5.19.10/drivers/media/pci/cx23885/
Dcx23885-vbi.c140 if (vb2_plane_size(vb, 0) < lines * VBI_LINE_LENGTH * 2) in buffer_prepare()

12345