Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/drivers/media/usb/au0828/
A Dau0828-vbi.c42 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare()
44 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare()
63 buf->length = vb2_plane_size(vb, 0); in vbi_buffer_queue()
/linux-6.3-rc2/drivers/media/usb/em28xx/
A Dem28xx-vbi.c52 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare()
55 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare()
74 buf->length = vb2_plane_size(vb, 0); in vbi_buffer_queue()
/linux-6.3-rc2/drivers/media/test-drivers/vivid/
A 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()
A 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()
A 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()
A 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()
A 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()
A 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-6.3-rc2/drivers/media/platform/verisilicon/
A 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()
A 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-6.3-rc2/drivers/staging/media/meson/vdec/
A 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-6.3-rc2/drivers/media/dvb-core/
A 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-6.3-rc2/drivers/usb/gadget/function/
A 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-6.3-rc2/drivers/media/usb/uvc/
A 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-6.3-rc2/drivers/media/platform/sunxi/sun4i-csi/
A 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-6.3-rc2/drivers/media/platform/chips-media/
A Dcoda-jpeg.c508 val = DIV_ROUND_UP(vb2_plane_size(buf, 0), 256) + 3; in coda9_jpeg_dec_bbc_gbu_setup()
1089 vb2_plane_size(&src_buf->vb2_buf, 0)); in coda9_jpeg_prepare_encode()
1101 end_addr = start_addr + vb2_plane_size(&dst_buf->vb2_buf, 0); in coda9_jpeg_prepare_encode()
1118 vb2_plane_size(&dst_buf->vb2_buf, 0), in coda9_jpeg_prepare_encode()
1350 vb2_plane_size(&src_buf->vb2_buf, 0)); in coda9_jpeg_prepare_decode()
/linux-6.3-rc2/drivers/staging/media/sunxi/sun6i-isp/
A Dsun6i_isp_params.c317 if (vb2_plane_size(vb2_buffer, 0) < size) { in sun6i_isp_params_buffer_prepare()
319 vb2_plane_size(vb2_buffer, 0), size); in sun6i_isp_params_buffer_prepare()
/linux-6.3-rc2/drivers/media/test-drivers/vimc/
A Dvimc-capture.c314 if (vb2_plane_size(vb, 0) < size) { in vimc_capture_buffer_prepare()
316 vcapture->vdev.name, vb2_plane_size(vb, 0), size); in vimc_capture_buffer_prepare()
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/
A 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()
2477 vb2_plane_size(vb, 0), ctx->enc_dst_buf_size); in s5p_mfc_buf_prepare()
2478 if (vb2_plane_size(vb, 0) < ctx->enc_dst_buf_size) { in s5p_mfc_buf_prepare()
2487 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare()
2489 vb2_plane_size(vb, 1), ctx->chroma_size); in s5p_mfc_buf_prepare()
2490 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare()
2491 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_prepare()
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Datomisp_fops.c96 if (frame->data_bytes > vb2_plane_size(vb, 0)) { in atomisp_buf_init()
98 frame->data_bytes, vb2_plane_size(vb, 0)); in atomisp_buf_init()
102 frame->data = hmm_create_from_vmalloc_buf(vb2_plane_size(vb, 0), in atomisp_buf_init()
/linux-6.3-rc2/drivers/media/pci/saa7134/
A Dsaa7134-vbi.c119 if (vb2_plane_size(vb2, 0) < size) in buffer_prepare()
/linux-6.3-rc2/drivers/media/usb/cx231xx/
A 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-6.3-rc2/samples/v4l/
A Dv4l2-pci-skeleton.c189 if (vb2_plane_size(vb, 0) < size) { in buffer_prepare()
191 vb2_plane_size(vb, 0), size); in buffer_prepare()
/linux-6.3-rc2/drivers/media/platform/nvidia/tegra-vde/
A 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-6.3-rc2/drivers/media/pci/cx23885/
A Dcx23885-vbi.c140 if (vb2_plane_size(vb, 0) < lines * VBI_LINE_LENGTH * 2) in buffer_prepare()

Completed in 60 milliseconds

12345