diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-12-16 16:40:48 +0100 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-12-17 10:33:14 +0100 |
commit | 9abc05fae9364aae88eb0dc14b3f994905f276b3 (patch) | |
tree | 587ddda674b791975f8e65e0916ed134341a436e /Documentation/getting-started.rst | |
parent | d6c21e237e82fd009ddafdfcce4bade0e375d9c5 (diff) |
libcamera: converter: Add function to query crop bounds
The inputCropBounds_ member of the V4L2M2MConverter::Stream class is
only initialized after a V4L2M2MConverter::configure() call, when the
streams are initialized.
However, the converter has crop limits that do not depend on the
configured Streams, and which are currently not accessible from the
class interface.
Add a new inputCropBounds() function to the V4L2M2MConverter class
that allows to retrieve the converter crop limits before any stream
is configured.
This is particularly useful for pipelines to initialize controls and
properties and to implement validation before the Camera gets
configured.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'Documentation/getting-started.rst')
0 files changed, 0 insertions, 0 deletions