Home
last modified time | relevance | path

Searched refs:reqbufs (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c476 struct v4l2_requestbuffers *reqbufs) in reqbufs_output() argument
482 if (reqbufs->count == 0) { in reqbufs_output()
484 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
499 reqbufs->count); in reqbufs_output()
500 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
506 reqbufs->count = 0; in reqbufs_output()
507 vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
524 struct v4l2_requestbuffers *reqbufs) in reqbufs_capture() argument
530 if (reqbufs->count == 0) { in reqbufs_capture()
532 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in reqbufs_capture()
[all …]
Ds5p_mfc_enc.c1486 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
1493 if ((reqbufs->memory != V4L2_MEMORY_MMAP) && in vidioc_reqbufs()
1494 (reqbufs->memory != V4L2_MEMORY_USERPTR)) in vidioc_reqbufs()
1496 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in vidioc_reqbufs()
1497 if (reqbufs->count == 0) { in vidioc_reqbufs()
1499 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1510 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1521 reqbufs->count = 0; in vidioc_reqbufs()
1522 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1525 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vidioc_reqbufs()
[all …]
/Linux-v6.6/Documentation/userspace-api/media/dvb/
Ddmx_fcalls.rst27 dmx-reqbufs
/Linux-v6.6/drivers/media/platform/samsung/exynos-gsc/
Dgsc-m2m.c362 struct v4l2_requestbuffers *reqbufs) in gsc_m2m_reqbufs() argument
368 max_cnt = (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) ? in gsc_m2m_reqbufs()
370 if (reqbufs->count > max_cnt) in gsc_m2m_reqbufs()
373 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in gsc_m2m_reqbufs()
/Linux-v6.6/Documentation/userspace-api/media/v4l/
Duser-func.rst64 vidioc-reqbufs
/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-mem2mem.c573 struct v4l2_requestbuffers *reqbufs) in v4l2_m2m_reqbufs() argument
578 vq = v4l2_m2m_get_vq(m2m_ctx, reqbufs->type); in v4l2_m2m_reqbufs()
579 ret = vb2_reqbufs(vq, reqbufs); in v4l2_m2m_reqbufs()
583 vq->owner = reqbufs->count ? file->private_data : NULL; in v4l2_m2m_reqbufs()
/Linux-v6.6/drivers/media/platform/samsung/exynos4-is/
Dfimc-lite.c860 struct v4l2_requestbuffers *reqbufs) in fimc_lite_reqbufs() argument
865 reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count); in fimc_lite_reqbufs()
866 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_lite_reqbufs()
868 fimc->reqbufs_count = reqbufs->count; in fimc_lite_reqbufs()
Dfimc-capture.c1248 struct v4l2_requestbuffers *reqbufs) in fimc_cap_reqbufs() argument
1253 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_cap_reqbufs()
1256 fimc->vid_cap.reqbufs_count = reqbufs->count; in fimc_cap_reqbufs()
/Linux-v6.6/drivers/media/platform/chips-media/
Dcoda.h206 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb); member
Dcoda-bit.c1753 .reqbufs = coda_encoder_reqbufs,
2624 .reqbufs = coda_decoder_reqbufs,
Dcoda-common.c975 if (rb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT && ctx->ops->reqbufs) in coda_reqbufs()
976 return ctx->ops->reqbufs(ctx, rb); in coda_reqbufs()
/Linux-v6.6/include/media/
Dv4l2-mem2mem.h337 struct v4l2_requestbuffers *reqbufs);
/Linux-v6.6/Documentation/admin-guide/media/
Dipu3.rst381 --reqbufs=type:VIDEO_OUTPUT_MPLANE,count:1 --pipe=1 \
384 --reqbufs=type:VIDEO_CAPTURE_MPLANE,count:1 --pipe=2 \
387 --reqbufs=type:VIDEO_CAPTURE_MPLANE,count:1 --pipe=3 --open=/dev/video7 \
389 --reqbufs=count:1,type:META_CAPTURE --pipe=1,2,3,4 --stream=5
/Linux-v6.6/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_m2m.c725 struct v4l2_requestbuffers *reqbufs) in mtk_mdp_m2m_reqbufs() argument
729 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in mtk_mdp_m2m_reqbufs()