summaryrefslogtreecommitdiff
path: root/licenses/gnu-lgpl-2.1.txt
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-04-05 01:23:23 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-04-09 16:57:53 +0200
commit9a7dc3ce7f4253578a0f7c0d58417425c8155cb3 (patch)
tree1ead7b8f7645fe005be044323e3f2dbd6c8af5eb /licenses/gnu-lgpl-2.1.txt
parent20a6455e0b62575bb00136501f7f39f3e150d0d9 (diff)
libcamera: camera: Add CameraConfiguration
To properly support both multiple streams and stream usages the library must provide a method to map the stream usages to the returned streams configurations. Add a camera configuration object to handle this mapping. Applications can iterate over the returned camera configuration to retrieve the streams selected by the library in the same order as the usages it provided to the library. Applications can use the operator[] to retrieve the stream pointer and the stream configuration. Using a numerical index retrieves the stream pointer, the numerical indexes corresponds to the insertion order of usages in the CameraConfiguration, using the stream pointer retrieves the stream's configuration. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'licenses/gnu-lgpl-2.1.txt')
0 files changed, 0 insertions, 0 deletions