diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-12-16 16:40:59 +0100 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-12-17 11:19:36 +0100 |
commit | 60e94a0d9957a8dd25ed78ae4c16c2918644671f (patch) | |
tree | 4f48de5dc976293708143bf8a7d05c159368423f /LICENSES | |
parent | 041377839bf9d254608f18643d35cfdb4df1a371 (diff) |
libcamera: camera_sensor: Add parameter to limit returned sensor size
The getFormat function takes the aspect ratio and the area of the
requested size into account when choosing the best sensor size. In case
the sensor is connected to an rkisp1 the maximum supported frame size of
the ISP is another constraining factor for the selection of the best
format. Add a maxSize parameter to support such a constraint.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions