[libcamera-devel] [PATCH v2 0/4] ipu3: Change sensor size selection policy
Umang Jain
umang.jain at ideasonboard.com
Tue Aug 10 09:58:50 CEST 2021
The series is geared towards addressing sensor selection constraints
on soraka and nautilus. 1/4 and 2/4 prepares the base to highlight
the change in selection policy. 3/4 and 4/4 is the actual change.
The constraints are documented in the commit messages of 3/4 and 4/4.
Changes in v2:
- 1/4 also sees the change in CIO2Device::sizes to
CIO2Device::sizes(pixelFormat).
- Use std::numeric_limits<> in 2/4. Include <math.h> otherwise
compilation breaks on gcc.
- Few wordings restructure.
Umang Jain (4):
libcamera: camera_sensor: Transform CameraSensor::sizes()
ipu3: cio2: Replicate CameraSensor::getFormats() to a member function
ipu3: cio2: Change sensor size selection policy
ipu3: cio2: Tweak sensor size selection policy
include/libcamera/internal/camera_sensor.h | 2 +-
src/libcamera/camera_sensor.cpp | 25 +++--
src/libcamera/pipeline/ipu3/cio2.cpp | 119 +++++++++++++++++++--
src/libcamera/pipeline/ipu3/cio2.h | 5 +-
src/libcamera/pipeline/ipu3/ipu3.cpp | 2 +-
test/camera-sensor.cpp | 2 +-
6 files changed, 138 insertions(+), 17 deletions(-)
--
2.31.1
More information about the libcamera-devel
mailing list