Home
last modified time | relevance | path

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

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c483 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
489 if (reqbufs->memory != V4L2_MEMORY_MMAP) { in vidioc_reqbufs()
493 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vidioc_reqbufs()
497 if (reqbufs->count == 0) { in vidioc_reqbufs()
500 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in vidioc_reqbufs()
510 ret = vb2_reqbufs(&ctx->vq_src, reqbufs); in vidioc_reqbufs()
519 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in vidioc_reqbufs()
521 if (reqbufs->count == 0) { in vidioc_reqbufs()
524 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
534 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
[all …]
Ds5p_mfc_enc.c1037 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
1044 if ((reqbufs->memory != V4L2_MEMORY_MMAP) && in vidioc_reqbufs()
1045 (reqbufs->memory != V4L2_MEMORY_USERPTR)) in vidioc_reqbufs()
1047 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { in vidioc_reqbufs()
1053 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1064 reqbufs->count = 0; in vidioc_reqbufs()
1065 ret = vb2_reqbufs(&ctx->vq_dst, reqbufs); in vidioc_reqbufs()
1068 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { in vidioc_reqbufs()
1078 (reqbufs->count < ctx->pb_count)) { in vidioc_reqbufs()
1079 reqbufs->count = ctx->pb_count; in vidioc_reqbufs()
[all …]
/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c356 struct v4l2_requestbuffers *reqbufs) in gsc_m2m_reqbufs() argument
363 max_cnt = (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) ? in gsc_m2m_reqbufs()
365 if (reqbufs->count > max_cnt) { in gsc_m2m_reqbufs()
367 } else if (reqbufs->count == 0) { in gsc_m2m_reqbufs()
368 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) in gsc_m2m_reqbufs()
374 frame = ctx_get_frame(ctx, reqbufs->type); in gsc_m2m_reqbufs()
376 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in gsc_m2m_reqbufs()
/drivers/media/v4l2-core/
Dv4l2-mem2mem.c305 struct v4l2_requestbuffers *reqbufs) in v4l2_m2m_reqbufs() argument
309 vq = v4l2_m2m_get_vq(m2m_ctx, reqbufs->type); in v4l2_m2m_reqbufs()
310 return vb2_reqbufs(vq, reqbufs); in v4l2_m2m_reqbufs()
/drivers/media/platform/exynos4-is/
Dfimc-lite.c857 struct v4l2_requestbuffers *reqbufs) in fimc_lite_reqbufs() argument
862 reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count); in fimc_lite_reqbufs()
863 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_lite_reqbufs()
865 fimc->reqbufs_count = reqbufs->count; in fimc_lite_reqbufs()
Dfimc-m2m.c413 struct v4l2_requestbuffers *reqbufs) in fimc_m2m_reqbufs() argument
416 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in fimc_m2m_reqbufs()
Dfimc-capture.c1274 struct v4l2_requestbuffers *reqbufs) in fimc_cap_reqbufs() argument
1279 ret = vb2_ioctl_reqbufs(file, priv, reqbufs); in fimc_cap_reqbufs()
1282 fimc->vid_cap.reqbufs_count = reqbufs->count; in fimc_cap_reqbufs()
/drivers/media/platform/
Dsh_veu.c635 struct v4l2_requestbuffers *reqbufs) in sh_veu_reqbufs() argument
643 ret = sh_veu_stream_init(veu, veu_file, reqbufs->type); in sh_veu_reqbufs()
647 return v4l2_m2m_reqbufs(file, veu->m2m_ctx, reqbufs); in sh_veu_reqbufs()
Dmx2_emmaprp.c621 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
625 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
Dmem2mem_testdev.c652 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
656 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
Dm2m-deinterlace.c686 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
690 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
Dcoda.c550 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
554 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
/drivers/media/platform/s5p-g2d/
Dg2d.c439 struct v4l2_requestbuffers *reqbufs) in vidioc_reqbufs() argument
442 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c796 struct v4l2_requestbuffers *reqbufs) in s5p_jpeg_reqbufs() argument
800 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in s5p_jpeg_reqbufs()
/drivers/media/platform/soc_camera/
Dsoc_camera.c301 ret = ici->ops->reqbufs(icd, p); in soc_camera_reqbufs()
1373 !ici->ops->reqbufs) && in soc_camera_host_register()
Dmx1_camera.c686 .reqbufs = mx1_camera_reqbufs,
Dmx3_camera.c1141 .reqbufs = mx3_camera_reqbufs,
Domap1_camera.c1543 .reqbufs = omap1_cam_reqbufs,
Dpxa_camera.c1649 .reqbufs = pxa_camera_reqbufs,