diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-05-27 18:34:38 +0900 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-06-10 11:48:09 +0200 |
commit | 7ea83eba0df612f5771ebd9ae06bf22ca6f4b915 (patch) | |
tree | 2f5a54b0ab04103e62ac79ccd1d14dc16c495cd5 /src/py/cam/helpers.py | |
parent | 1261ff9e935d543764db4eb620d7747caea81a87 (diff) |
android: camera_device: Postpone mapped streams handling
Mapped streams are generated by post-processing and always require a
source buffer to process image data from.
In case a Mapped stream is requested but its source stream is not, it
is required to allocate a buffer on the fly and add it to the
libcamera::Request.
Make sure a source stream is available for all mapped streams, and if
that's not the case, add a dedicated buffer to the request for that
purpose.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/py/cam/helpers.py')
0 files changed, 0 insertions, 0 deletions