mbox series

[v3,0/3] v4l-utils: support multiplexed streams

Message ID 20230210115546.199809-1-tomi.valkeinen@ideasonboard.com (mailing list archive)
Headers show
Series v4l-utils: support multiplexed streams | expand

Message

Tomi Valkeinen Feb. 10, 2023, 11:55 a.m. UTC
Hi,

v4l2-ctl and media-ctl are updated to allow configuring routes and
setting configs per stream.

v4l2-compliance is updated to always set the new stream field, and to do
some testing for multiplexed subdevs.

v2 of the series can be found from:

https://lore.kernel.org/all/20220714132116.132498-1-tomi.valkeinen@ideasonboard.com/

v3 is just a rebase on top of latest master, which contains the most
recent headers from the kernel.

Uses of V4L2_SUBDEV_ROUTE_FL_IMMUTABLE and V4L2_SUBDEV_ROUTE_FL_SOURCE
have been dropped as they don't exist in the mainline.

 Tomi

Tomi Valkeinen (3):
  v4l2-ctl: Add routing and streams support
  media-ctl: add support for routes and streams
  v4l2-ctl/compliance: add routing and streams multiplexed streams

 utils/media-ctl/libmediactl.c               |  41 +++
 utils/media-ctl/libv4l2subdev.c             | 283 +++++++++++++++++--
 utils/media-ctl/media-ctl.c                 | 121 ++++++--
 utils/media-ctl/mediactl.h                  |  16 ++
 utils/media-ctl/options.c                   |  15 +-
 utils/media-ctl/options.h                   |   1 +
 utils/media-ctl/v4l2subdev.h                |  58 +++-
 utils/v4l2-compliance/v4l2-compliance.cpp   | 120 ++++++--
 utils/v4l2-compliance/v4l2-compliance.h     |   8 +-
 utils/v4l2-compliance/v4l2-test-subdevs.cpp |  43 ++-
 utils/v4l2-ctl/v4l2-ctl-subdev.cpp          | 288 +++++++++++++++++---
 utils/v4l2-ctl/v4l2-ctl.cpp                 |   2 +
 utils/v4l2-ctl/v4l2-ctl.h                   |   2 +
 13 files changed, 874 insertions(+), 124 deletions(-)

Comments

Laurent Pinchart Feb. 12, 2023, 9:52 p.m. UTC | #1
Hi Tomi,

Thank you for the patches.

On Fri, Feb 10, 2023 at 01:55:43PM +0200, Tomi Valkeinen wrote:
> Hi,
> 
> v4l2-ctl and media-ctl are updated to allow configuring routes and
> setting configs per stream.
> 
> v4l2-compliance is updated to always set the new stream field, and to do
> some testing for multiplexed subdevs.
> 
> v2 of the series can be found from:
> 
> https://lore.kernel.org/all/20220714132116.132498-1-tomi.valkeinen@ideasonboard.com/
> 
> v3 is just a rebase on top of latest master, which contains the most
> recent headers from the kernel.
> 
> Uses of V4L2_SUBDEV_ROUTE_FL_IMMUTABLE and V4L2_SUBDEV_ROUTE_FL_SOURCE
> have been dropped as they don't exist in the mainline.

Just for information, I've applied this on top of the meson conversion,
there's no conflict and it compiles fine.

> Tomi Valkeinen (3):
>   v4l2-ctl: Add routing and streams support
>   media-ctl: add support for routes and streams
>   v4l2-ctl/compliance: add routing and streams multiplexed streams
> 
>  utils/media-ctl/libmediactl.c               |  41 +++
>  utils/media-ctl/libv4l2subdev.c             | 283 +++++++++++++++++--
>  utils/media-ctl/media-ctl.c                 | 121 ++++++--
>  utils/media-ctl/mediactl.h                  |  16 ++
>  utils/media-ctl/options.c                   |  15 +-
>  utils/media-ctl/options.h                   |   1 +
>  utils/media-ctl/v4l2subdev.h                |  58 +++-
>  utils/v4l2-compliance/v4l2-compliance.cpp   | 120 ++++++--
>  utils/v4l2-compliance/v4l2-compliance.h     |   8 +-
>  utils/v4l2-compliance/v4l2-test-subdevs.cpp |  43 ++-
>  utils/v4l2-ctl/v4l2-ctl-subdev.cpp          | 288 +++++++++++++++++---
>  utils/v4l2-ctl/v4l2-ctl.cpp                 |   2 +
>  utils/v4l2-ctl/v4l2-ctl.h                   |   2 +
>  13 files changed, 874 insertions(+), 124 deletions(-)