[0/2] pipeline: rkisp1: Filter out sensor sizes not supported by the pipeline
mbox series

Message ID 20240909163719.267211-1-umang.jain@ideasonboard.com
Headers show
Series
  • pipeline: rkisp1: Filter out sensor sizes not supported by the pipeline
Related show

Message

Umang Jain Sept. 9, 2024, 4:37 p.m. UTC
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/

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 | 52 +++++++++++++++++--
 src/libcamera/pipeline/rkisp1/rkisp1_path.h   |  5 +-
 3 files changed, 66 insertions(+), 6 deletions(-)