diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-09-24 15:54:16 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-09-29 17:53:53 +0200 |
commit | be9feda2ad0aab53f8c79abcc750bddf31240dcd (patch) | |
tree | 80d205c34c6401fa5b89129dc87aca18a90ea32c /src/android/camera_hal_manager.h | |
parent | 4c2bfc317a062bb84d7221acda8b67ec70bd2ffd (diff) |
libcamera: ipu3: Fix RAW+YUV capture
When requesting one RAW stream and one YUV stream the
StreamConfiguration assigned to the RAW stream is the first one
added to the CameraConfiguration, while the YUV stream gets assigned to
the main output.
At configure() time the viewfinder output needs to be configured with
the same format as the main output, but since the introduction of RAW
capture support, the pipeline has not been updated and still assumes
the main output configuration is the first one in the
CameraConfiguration. This causes the viewfinder to be configured
with the same format as the raw stream, breaking capture operations.
Before this commit the following command fails and the ImgU does not
produce frames:
cam -srole=stillraw -srole=viewfinder -c2 -C
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/camera_hal_manager.h')
0 files changed, 0 insertions, 0 deletions