[v2,0/2] rkisp1: Integrate Sensorconfiguration
mbox series

Message ID 20241003135741.60869-1-umang.jain@ideasonboard.com
Headers show
Series
  • rkisp1: Integrate Sensorconfiguration
Related show

Message

Umang Jain Oct. 3, 2024, 1:57 p.m. UTC
1/2 is a drive-by patch, reducing scope of a variable.
2/2 integrates sensor configuration ni rkisp1

Changes in v2:
- Validate sensor resolution in RkISP1Path::validate() instead of RkISP1
- Pass sensorConfiguration by reference
- Do not adjust sensor Configuration, always return
  CameraConfiguration::Invalid if sensor configuration cannot be
  satisfied
- Apply sensor configuration at configure() time

v1:
- https://patchwork.libcamera.org/patch/21463/

- Developed over [PATCH 0/2] libcamera: pixelformat: Add isRaw() helper
- Tested with cam+[1] on i.MX8MP with IMX283 attached

[1]: https://patchwork.libcamera.org/patch/20080/

Umang Jain (2):
  libcamera rkisp1: Reduce scope of sensor max resolution variable
  libcamera: rkisp1: Integrate SensorConfiguration support

 src/libcamera/pipeline/rkisp1/rkisp1.cpp      | 68 ++++++++++++++++---
 src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 48 +++++++++++--
 src/libcamera/pipeline/rkisp1/rkisp1_path.h   |  2 +
 3 files changed, 102 insertions(+), 16 deletions(-)