Home
last modified time | relevance | path

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

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c460 struct v4l2_requestbuffers *reqbufs) in reqbufs_output() argument
466 if (reqbufs->count == 0) { in reqbufs_output()
468 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
483 reqbufs->count); in reqbufs_output()
484 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
490 reqbufs->count = 0; in reqbufs_output()
491 vb2_reqbufs(&ctx->vq_src, reqbufs); in reqbufs_output()
508 struct v4l2_requestbuffers *reqbufs) in reqbufs_capture() argument
514 if (reqbufs->count == 0) { in reqbufs_capture()
516 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in reqbufs_capture()
[all …]
Ds5p_mfc_enc.c1488 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
1495 if ((reqbufs->memory != V4L2_MEMORY_MMAP) && in vidioc_reqbufs()
1496 (reqbufs->memory != V4L2_MEMORY_USERPTR)) in vidioc_reqbufs()
1498 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in vidioc_reqbufs()
1499 if (reqbufs->count == 0) { in vidioc_reqbufs()
1501 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1512 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1523 reqbufs->count = 0; in vidioc_reqbufs()
1524 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1527 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vidioc_reqbufs()
[all …]
/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c367 struct v4l2_requestbuffers *reqbufs) in gsc_m2m_reqbufs() argument
373 max_cnt = (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) ? in gsc_m2m_reqbufs()
375 if (reqbufs->count > max_cnt) in gsc_m2m_reqbufs()
378 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in gsc_m2m_reqbufs()
/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()
/drivers/media/platform/exynos4-is/
Dfimc-lite.c862 struct v4l2_requestbuffers *reqbufs) in fimc_lite_reqbufs() argument
867 reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count); in fimc_lite_reqbufs()
868 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_lite_reqbufs()
870 fimc->reqbufs_count = reqbufs->count; in fimc_lite_reqbufs()
Dfimc-capture.c1246 struct v4l2_requestbuffers *reqbufs) in fimc_cap_reqbufs() argument
1251 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_cap_reqbufs()
1254 fimc->vid_cap.reqbufs_count = reqbufs->count; in fimc_cap_reqbufs()
/drivers/media/platform/coda/
Dcoda.h206 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb); member
Dcoda-bit.c1751 .reqbufs = coda_encoder_reqbufs,
2624 .reqbufs = coda_decoder_reqbufs,
Dcoda-common.c953 if (rb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT && ctx->ops->reqbufs) in coda_reqbufs()
954 return ctx->ops->reqbufs(ctx, rb); in coda_reqbufs()
/drivers/media/platform/mtk-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()