[PATCH v2 0/2] pipeline: rkisp1: Filter out sensor sizes not supported by the pipeline
Umang Jain
umang.jain at ideasonboard.com
Fri Sep 13 12:37:57 CEST 2024
The series targets fixing and improving maximum resolutions that can be
streamed on the pipeline, successfully.
1/2 targets fixing the issue where the RkISP1MainPath was considering max
supported size > ISP on i.MX8MP.
2/2 filters out sensor sizes that cannot be supported by the pipeline.
Such sizes are filtered out and the highest resolution (supported by
sensor) is considered as the max sensor resolution for
generateConfiguration() and validate() code paths.
Previous attempts:
https://patchwork.libcamera.org/patch/20699/
https://patchwork.libcamera.org/patch/19411/
Based on series:
libcamera: rkisp1: Plumb the dw100 dewarper as V4L2M2M converter v7
Changes in v2:
- Use const for variables in 1/2
- Add comment on why we need to bound max size 1/2
- Use std::map<> in 2/2 for sensor sizes as multiple
sensor can be attached to same ISP.
Umang Jain (2):
pipeline: rkisp1: Bound RkISP1 path to ISP maximum input
pipeline: rkisp1: Filter out sensor sizes not supported by the
pipeline
src/libcamera/pipeline/rkisp1/rkisp1.cpp | 15 ++++-
src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 64 ++++++++++++++++++-
src/libcamera/pipeline/rkisp1/rkisp1_path.h | 10 ++-
3 files changed, 83 insertions(+), 6 deletions(-)
--
2.45.0
More information about the libcamera-devel
mailing list