Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c445 struct v4l2_requestbuffers *reqbufs) in reqbufs_output() argument
451 if (reqbufs->count == 0) { in reqbufs_output()
453 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
468 reqbufs->count); in reqbufs_output()
469 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
475 reqbufs->count = 0; in reqbufs_output()
476 vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
493 struct v4l2_requestbuffers *reqbufs) in reqbufs_capture() argument
499 if (reqbufs->count == 0) { in reqbufs_capture()
501 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in reqbufs_capture()
[all …]
Ds5p_mfc_enc.c1480 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
1487 if ((reqbufs->memory != V4L2_MEMORY_MMAP) && in vidioc_reqbufs()
1488 (reqbufs->memory != V4L2_MEMORY_USERPTR)) in vidioc_reqbufs()
1490 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in vidioc_reqbufs()
1491 if (reqbufs->count == 0) { in vidioc_reqbufs()
1493 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1504 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1515 reqbufs->count = 0; in vidioc_reqbufs()
1516 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1519 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vidioc_reqbufs()
[all …]
/Linux-v5.10/Documentation/userspace-api/media/dvb/
Ddmx_fcalls.rst27 dmx-reqbufs
/Linux-v5.10/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c369 struct v4l2_requestbuffers *reqbufs) in gsc_m2m_reqbufs() argument
375 max_cnt = (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) ? in gsc_m2m_reqbufs()
377 if (reqbufs->count > max_cnt) in gsc_m2m_reqbufs()
380 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in gsc_m2m_reqbufs()
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Duser-func.rst64 vidioc-reqbufs
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-mem2mem.c572 struct v4l2_requestbuffers *reqbufs) in v4l2_m2m_reqbufs() argument
577 vq = v4l2_m2m_get_vq(m2m_ctx, reqbufs->type); in v4l2_m2m_reqbufs()
578 ret = vb2_reqbufs(vq, reqbufs); in v4l2_m2m_reqbufs()
582 vq->owner = reqbufs->count ? file->private_data : NULL; in v4l2_m2m_reqbufs()
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dfimc-lite.c859 struct v4l2_requestbuffers *reqbufs) in fimc_lite_reqbufs() argument
864 reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count); in fimc_lite_reqbufs()
865 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_lite_reqbufs()
867 fimc->reqbufs_count = reqbufs->count; in fimc_lite_reqbufs()
Dfimc-capture.c1247 struct v4l2_requestbuffers *reqbufs) in fimc_cap_reqbufs() argument
1252 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_cap_reqbufs()
1255 fimc->vid_cap.reqbufs_count = reqbufs->count; in fimc_cap_reqbufs()
/Linux-v5.10/include/media/
Dv4l2-mem2mem.h337 struct v4l2_requestbuffers *reqbufs);
/Linux-v5.10/drivers/media/platform/coda/
Dcoda.h197 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb); member
Dcoda-bit.c1745 .reqbufs = coda_encoder_reqbufs,
2581 .reqbufs = coda_decoder_reqbufs,
Dcoda-common.c952 if (rb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT && ctx->ops->reqbufs) in coda_reqbufs()
953 return ctx->ops->reqbufs(ctx, rb); in coda_reqbufs()
/Linux-v5.10/Documentation/admin-guide/media/
Dipu3.rst378 --reqbufs=type:VIDEO_OUTPUT_MPLANE,count:1 --pipe=1 \
381 --reqbufs=type:VIDEO_CAPTURE_MPLANE,count:1 --pipe=2 \
384 --reqbufs=type:VIDEO_CAPTURE_MPLANE,count:1 --pipe=3 --open=/dev/video7 \
386 --reqbufs=count:1,type:META_CAPTURE --pipe=1,2,3,4 --stream=5
/Linux-v5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c728 struct v4l2_requestbuffers *reqbufs) in mtk_mdp_m2m_reqbufs() argument
732 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in mtk_mdp_m2m_reqbufs()