Searched refs:reqbufs (Results 1 – 10 of 10) sorted by relevance
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 460 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 …]
|
D | s5p_mfc_enc.c | 1488 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/ |
D | gsc-m2m.c | 367 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/ |
D | v4l2-mem2mem.c | 572 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/ |
D | fimc-lite.c | 862 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()
|
D | fimc-capture.c | 1246 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/ |
D | coda.h | 206 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb); member
|
D | coda-bit.c | 1751 .reqbufs = coda_encoder_reqbufs, 2624 .reqbufs = coda_decoder_reqbufs,
|
D | coda-common.c | 953 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/ |
D | mtk_mdp_m2m.c | 725 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()
|