[libcamera-devel] [RFC PATCH 0/3] IPU3: Tweak sensor format selection

Umang Jain umang.jain at ideasonboard.com
Fri Jul 30 10:28:25 CEST 2021


Different IPU3 platforms have different constraints that require certain
tweaking on the policy on how libcamera determines best sensor format.
To address these contraints, we need to drop CameraSensor::getFormat()
and have IPU3 specific sensor format selector member function.

Patch 1/3 and 2/3 prepares the base to introduce new policy on
selection. Patch 3/3 is the crux of the change, meant to address
constraints faced on Nautilus and Soraka.

This is a RFC where only preliminary testing have been done.
Extensive testing and further discussions are still under-way.

Umang Jain (3):
  libcamera: base: camera_sensor: Expose sensor's formats map
  ipu3: cio2: Replicate CameraSensor::getFormats() to a member function
  ipu3: cio2: Customize sensor format selection logic

 include/libcamera/internal/camera_sensor.h |   1 +
 src/libcamera/pipeline/ipu3/cio2.cpp       | 115 ++++++++++++++++++++-
 src/libcamera/pipeline/ipu3/cio2.h         |   5 +
 3 files changed, 119 insertions(+), 2 deletions(-)

-- 
2.31.0



More information about the libcamera-devel mailing list