/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_h1_jpeg_enc.c | 49 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 D | rockchip_vpu2_hw_jpeg_enc.c | 76 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()
|
H A D | hantro_v4l2.c | 828 i, vb2_plane_size(vb, i), sz); in hantro_buf_plane_check() 829 if (vb2_plane_size(vb, i) < sz) { in hantro_buf_plane_check()
|
H A D | hantro_g2_hevc_dec.c | 515 src_buf_len = vb2_plane_size(&src_buf->vb2_buf, 0); in set_buffers()
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | esparser.c | 96 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/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 55 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/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_fops.c | 84 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/drivers/media/platform/chips-media/coda/ |
H A D | coda-jpeg.c | 508 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/include/media/ |
H A D | videobuf2-core.h | 1258 vb2_plane_size(struct vb2_buffer *vb, unsigned int plane_no) in vb2_plane_size() function
|
/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | h264.c | 680 if (offset + min_size > vb2_plane_size(vb, plane_id)) { in tegra_vde_validate_vb_size() 682 plane_id, vb2_plane_size(vb, plane_id), offset, min_size); in tegra_vde_validate_vb_size()
|
/linux/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_enc_hw.c | 110 size = vb2_plane_size(dst_buf, 0); in mtk_jpeg_set_enc_dst()
|
/linux/drivers/input/touchscreen/ |
H A D | sur40.c | 873 if (vb2_plane_size(vb, 0) < size) { in sur40_buffer_prepare() 875 vb2_plane_size(vb, 0), size); in sur40_buffer_prepare()
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_vout.c | 152 if (vb2_plane_size(vb, 0) < size) { in buffer_prepare() 154 vb2_plane_size(vb, 0), size); in buffer_prepare()
|
H A D | mgb4_vin.c | 237 if (vb2_plane_size(vb, 0) < size) { in buffer_prepare() 239 vb2_plane_size(vb, 0), size); in buffer_prepare()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec.c | 816 if (vb2_plane_size(vb, i) < q_data->sizeimage[i]) { in vb2ops_vdec_buf_prepare() 818 i, vb2_plane_size(vb, i), q_data->sizeimage[i]); in vb2ops_vdec_buf_prepare()
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_video.c | 225 vb2_plane_size(&done->buf.vb2_buf, i)); in vsp1_video_complete_buffer() 636 if (vb2_plane_size(vb, i) < format->plane_fmt[i].sizeimage) in vsp1_video_buffer_prepare()
|
/linux/drivers/media/platform/atmel/ |
H A D | atmel-isi.c | 316 if (vb2_plane_size(vb, 0) < size) { in buffer_prepare() 318 __func__, vb2_plane_size(vb, 0), size); in buffer_prepare()
|
/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_vp8.c | 679 reg = vb2_plane_size(src_buf, 0) * 8; in cedrus_vp8_setup()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-stats.c | 123 if (vb2_plane_size(vb, 0) < sizeof(struct rkisp1_stat_buffer)) in rkisp1_stats_vb2_buf_prepare()
|
/linux/drivers/media/platform/qcom/venus/ |
H A D | helpers.c | 1450 buf->size = vb2_plane_size(vb, 0); in venus_helper_vb2_buf_init() 1477 vb2_plane_size(vb, 0) < out_buf_size) in venus_helper_vb2_buf_prepare() 1480 vb2_plane_size(vb, 0) < inst->input_buf_size) in venus_helper_vb2_buf_prepare()
|
/linux/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 275 buf->mmal.buffer_size = vb2_plane_size(&buf->vb.vb2_buf, 0); in buffer_init() 292 if (vb2_plane_size(vb, 0) < size) { in buffer_prepare() 295 __func__, vb2_plane_size(vb, 0), size); in buffer_prepare()
|
/linux/drivers/media/pci/cx88/ |
H A D | cx88-mpeg.c | 224 if (vb2_plane_size(&buf->vb.vb2_buf, 0) < size) in cx8802_buf_prepare()
|
/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v5.c | 1241 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame() 1278 dst_size = vb2_plane_size(&dst_mb->b->vb2_buf, 0); in s5p_mfc_run_init_enc()
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 185 if (format->plane_fmt[i].sizeimage > vb2_plane_size(vb, i)) in video_buf_prepare()
|
/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 2933 fileio->bufs[i].size = vb2_plane_size(vb, 0); in __vb2_init_fileio() 3076 : vb2_plane_size(b, 0); in __vb2_perform_fileio() 3147 buf->size = vb2_plane_size(b, 0); in __vb2_perform_fileio()
|