diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-10-03 11:36:41 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-10-07 16:07:44 +0200 |
commit | 216030aa9d0953cff552d5892d32e5cd73864202 (patch) | |
tree | 6374d754012666ecfab24cc8fe84f894d29aaebc /src/qcam/assets/feathericons/globe.svg | |
parent | 9e95d5e4531039f8e21c65ea88be9ad6aaa1ced0 (diff) |
android: camera_stream: Retrieve Stream and Configuration
It's a common pattern to access the libcamera::Stream and
libcamera::StreamConfiguration using the CameraStream instance's
index.
Add two methods to the CameraStream to shorten access to the
two fields. This allows removing the index() method from the class
interface.
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/assets/feathericons/globe.svg')
0 files changed, 0 insertions, 0 deletions