diff options
author | 2021-12-21 11:22:06 +0100 | |
---|---|---|
committer | 2023-01-22 09:41:02 +0100 | |
commit | d00f1a075ce13c7d71ca00083be110877874a403 (patch) | |
tree | 5cef1032c30e3b54b0c00edb8e23dec08ddbaecb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: subdev: use streams in v4l2_subdev_link_validate() (diff) | |
download | wireguard-linux-d00f1a075ce13c7d71ca00083be110877874a403.tar.xz wireguard-linux-d00f1a075ce13c7d71ca00083be110877874a403.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions