Home
last modified time | relevance | path

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

123456

/linux-6.15/drivers/media/usb/au0828/
H 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.15/drivers/media/usb/em28xx/
H 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.15/drivers/media/test-drivers/vivid/
H A Dvivid-meta-cap.c52 if (vb2_plane_size(vb, 0) < size) { in meta_cap_buf_prepare()
54 __func__, vb2_plane_size(vb, 0), size); in meta_cap_buf_prepare()
166 memset(meta, 1, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_meta_cap_fillbuff()
H A Dvivid-vbi-cap.c95 memset(vbuf, 0x10, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_raw_vbi_cap_process()
114 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()
H A Dvivid-meta-out.c52 if (vb2_plane_size(vb, 0) < size) { in meta_out_buf_prepare()
54 __func__, vb2_plane_size(vb, 0), size); in meta_out_buf_prepare()
H A Dvivid-vbi-out.c57 if (vb2_plane_size(vb, 0) < size) { in vbi_out_buf_prepare()
59 __func__, vb2_plane_size(vb, 0), size); in vbi_out_buf_prepare()
H A Dvivid-sdr-cap.c252 if (vb2_plane_size(vb, 0) < size) { in sdr_cap_buf_prepare()
254 __func__, vb2_plane_size(vb, 0), size); in sdr_cap_buf_prepare()
522 unsigned long plane_size = vb2_plane_size(&buf->vb.vb2_buf, 0); in vivid_sdr_cap_process()
H A Dvivid-touch-cap.c44 if (vb2_plane_size(vb, 0) < size) { in touch_cap_buf_prepare()
46 __func__, vb2_plane_size(vb, 0), size); in touch_cap_buf_prepare()
/linux-6.15/drivers/media/platform/verisilicon/
H 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()
H 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.15/drivers/staging/media/meson/vdec/
H A Desparser.c96 if (dsize == vb2_plane_size(buf, 0)) { in vp9_update_header()
135 if (new_frame_size >= vb2_plane_size(buf, 0)) { in vp9_update_header()
201 vb2_plane_size(vb, 0)) { in esparser_pad_start_code()
/linux-6.15/drivers/media/dvb-core/
H 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()
281 ctx->remain = vb2_plane_size(&ctx->buf->vb, 0); in dvb_vb2_fill_buffer()
/linux-6.15/drivers/usb/gadget/function/
H A Duvc_queue.c69 vb2_get_plane_payload(vb, 0) > vb2_plane_size(vb, 0)) { in uvc_buffer_prepare()
84 buf->length = vb2_plane_size(vb, 0); in uvc_buffer_prepare()
/linux-6.15/drivers/media/platform/qcom/iris/
H A Diris_vb2.c263 vb2_plane_size(vb, 0) < iris_get_buffer_size(inst, BUF_OUTPUT)) in iris_vb2_buf_prepare()
266 vb2_plane_size(vb, 0) < iris_get_buffer_size(inst, BUF_INPUT)) in iris_vb2_buf_prepare()
/linux-6.15/drivers/staging/media/atomisp/pci/
H A Datomisp_fops.c84 if (frame->data_bytes > vb2_plane_size(vb, 0)) { in atomisp_buf_init()
86 frame->data_bytes, vb2_plane_size(vb, 0)); in atomisp_buf_init()
90 frame->data = hmm_create_from_vmalloc_buf(vb2_plane_size(vb, 0), in atomisp_buf_init()
/linux-6.15/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu-dec.c1056 buf_size = vb2_plane_size(vb, 0); in wave5_prepare_fb()
1061 buf_size = vb2_plane_size(vb, 0) + in wave5_prepare_fb()
1062 vb2_plane_size(vb, 1); in wave5_prepare_fb()
1067 buf_size = vb2_plane_size(vb, 0) + in wave5_prepare_fb()
1068 vb2_plane_size(vb, 1) + in wave5_prepare_fb()
1069 vb2_plane_size(vb, 2); in wave5_prepare_fb()
1287 __func__, vb->type, vb->index, vb2_plane_size(&vbuf->vb2_buf, 0), in wave5_vpu_dec_buf_queue()
1288 vb2_plane_size(&vbuf->vb2_buf, 1), vb2_plane_size(&vbuf->vb2_buf, 2)); in wave5_vpu_dec_buf_queue()
/linux-6.15/drivers/media/usb/uvc/
H 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.15/drivers/media/platform/sunxi/sun4i-csi/
H 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.15/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_enc.c1156 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in enc_pre_seq_start()
1223 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in enc_pre_frame_start()
2527 vb2_plane_size(vb, 0), ctx->enc_dst_buf_size); in s5p_mfc_buf_prepare()
2528 if (vb2_plane_size(vb, 0) < ctx->enc_dst_buf_size) { in s5p_mfc_buf_prepare()
2537 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare()
2539 vb2_plane_size(vb, 1), ctx->chroma_size); in s5p_mfc_buf_prepare()
2540 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare()
2541 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_prepare()
2547 (vb2_plane_size(vb, 2) < ctx->chroma_size_1)) { in s5p_mfc_buf_prepare()
H A Ds5p_mfc_dec.c1022 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_init()
1023 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_init()
1029 if (vb2_plane_size(vb, 2) < ctx->chroma_size_1) { in s5p_mfc_buf_init()
1052 if (vb2_plane_size(vb, 0) < ctx->dec_src_buf_size) { in s5p_mfc_buf_init()
/linux-6.15/drivers/media/platform/chips-media/coda/
H 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.15/drivers/staging/media/sunxi/sun6i-isp/
H 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.15/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c315 if (vb2_plane_size(vb, 0) < size) { in vimc_capture_buffer_prepare()
317 vcapture->vdev.name, vb2_plane_size(vb, 0), size); in vimc_capture_buffer_prepare()
/linux-6.15/drivers/staging/media/starfive/camss/
H A Dstf-video.c188 if (fmt->sizeimage > vb2_plane_size(vb, 0)) { in video_buf_prepare()
191 fmt->sizeimage, (unsigned int)vb2_plane_size(vb, 0)); in video_buf_prepare()
/linux-6.15/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-bytecap.c546 if (vb2_plane_size(vb, 0) < size) { in dcmipp_bytecap_buf_prepare()
548 __func__, vb2_plane_size(vb, 0), size); in dcmipp_bytecap_buf_prepare()
557 buf->size = vb2_plane_size(&buf->vb.vb2_buf, 0); in dcmipp_bytecap_buf_prepare()

123456