summaryrefslogtreecommitdiff
path: root/drivers/staging/media/imx
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-08-31 17:13:32 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 10:13:23 +0300
commit340eba477f0e51bed997e94bd3c2b728a0c6e1ac (patch)
treec8b981ccedb4ab479d55ad74edf2bf3bdff0e47d /drivers/staging/media/imx
parent72b603357ae461c0f19ca05d6624b4afd5c74b47 (diff)
downloadlinux-340eba477f0e51bed997e94bd3c2b728a0c6e1ac.tar.xz
media: v4l2-dev: Add videodev wrappers for media pipelines
With the upcoming stream related improvements to the pipelines, the pipelines are moved from media entities to media pads. As the drivers currently use the pipelines with the entity based model, moving the pipelines to pads will cause changes to the drivers. However, most of the uses of media pipelines are related to a video device (a DMA engine) with a single pad, and thus there's never a need to support multiple pads in these use cases. We can avoid pushing the complexities of the pad based model to the drivers by adding video device wrappers for the pipeline related functions. This patch adds a number of wrappers to media_pipeline functions, all of which take a video_device as a parameter (instead of a media_entity), and verify that there's just one pad. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/media/imx')
0 files changed, 0 insertions, 0 deletions