diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2024-10-08 15:49:18 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2024-10-09 16:40:23 +0530 |
commit | 047d647452c44b610c58dc4425b95d7933cabdc8 (patch) | |
tree | 0ea9df0253aba3a856ce82ad1301789297c68276 /src/apps/qcam/viewfinder.h | |
parent | fc761ffe499bed5ac5a9d2313b87be85f4d41a71 (diff) |
libcamera: rkisp1: Integrate SensorConfiguration support
Integrate the RkISP1 pipeline handler to support sensor configuration
provided by applications through CameraConfiguration::sensorConfig.
The SensorConfiguration must be validated on both RkISP1Path (mainPath
and selfPath), so the parameters of RkISP1Path::validate() have been
updated to include sensorConfig.
The camera configuration will be marked as invalid when the sensor
configuration is supplied, if:
- Invalid sensor configuration (SensorConfiguration::isValid())
- Bit depth not supported by RkISP1 pipeline
- Sensor configuration output size is larger than maximum supported
sensor's size on RkISP1 pipeline
- No matching sensor configuration output size supplied by the sensor
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Tested-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/viewfinder.h')
0 files changed, 0 insertions, 0 deletions