diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-04-01 23:43:28 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-04-09 16:59:19 +0200 |
commit | e65e5d59f4c0ee90e4ccd5d76f6eac2ef1d6f421 (patch) | |
tree | 58100bc2b4963f8b39ab79076d4e18393c32b15e /test/list-cameras.cpp | |
parent | 47a9f357fe9d6c4e6ea592f1fbc947cae3c532f8 (diff) |
cam: Add support to specify multiple stream configurations with roles
Extend the cam tool to allow configuring more than one stream. Add an
optional parameter to the --stream option to specify a usage role for
the stream. The stream role is passed to libcamera to give it control
over which streams to use.
To support multiple streams, creation of requests needs to be reworked
to limit the number of requests to match the stream with the least
number of buffers. This should be improved in the future as the tool and
the library evolve.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/list-cameras.cpp')
0 files changed, 0 insertions, 0 deletions