summaryrefslogtreecommitdiff
path: root/include/media/dmxdev.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2021-12-21 13:22:06 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-01-22 11:41:02 +0300
commitd00f1a075ce13c7d71ca00083be110877874a403 (patch)
tree5cef1032c30e3b54b0c00edb8e23dec08ddbaecb /include/media/dmxdev.h
parenta6b995ed03ffeb36f06c4a46d8804c24d776de6f (diff)
downloadlinux-d00f1a075ce13c7d71ca00083be110877874a403.tar.xz
media: subdev: add "opposite" stream helper funcs
Add two helper functions to make dealing with streams easier: v4l2_subdev_routing_find_opposite_end - given a routing table and a pad + stream, return the pad + stream on the opposite side of the subdev. v4l2_subdev_state_get_opposite_stream_format - return a pointer to the format on the pad + stream on the opposite side from the given pad + stream. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/media/dmxdev.h')
0 files changed, 0 insertions, 0 deletions