summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2024-09-30 11:10:25 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2024-09-30 13:05:56 +0530
commit761545407c7666063f4c98d92a17af2a2c790b08 (patch)
tree788dd4bc6a466f6cc9aa4d39720a2e9ddb4d0bb6 /.clang-format
parente85c7ddd38ce8456ab01c2a73baf9e788f6a462e (diff)
pipeline: rkisp1: Filter out sensor sizes not supported by the pipeline
It is possible that the maximum sensor size (returned by CameraSensor::resolution()) is not supported by the pipeline. In such cases, a filter function is required to filter out resolutions of the camera sensor, which cannot be supported by the pipeline. Introduce the filter function filterSensorResolution() in RkISP1Path class and use it for validate() and generateConfiguration(). The maximum sensor resolution is picked from that filtered set of resolutions instead of CameraSensor::resolution(). Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions