[libcamera-devel] [PATCH v2 0/7] libcamera: camera_sensor: Collect camera location and sizes
Jacopo Mondi
jacopo at jmondi.org
Tue Aug 27 11:50:00 CEST 2019
Hello, v2 of the support for retrieving the camera sensor properties.
The series depends on:
https://patchwork.kernel.org/project/linux-media/list/?series=165797
As the previous version, this series collects informations on the camera
location, rotation, pixel array size and active area size.
v1 -> v2:
- update to the new version of the associated kernel changes
- Add support for camera sensor rotation
- Separate controls ID from properties ID (still in the same file though)
- Expose the get/set selection operations of V4L2Subdevice
- Enforce correct values for the pixel array size and active pixel area size
Finally, an example patch to the de-compiled Soraka DSDT table to add the
rotation and location properties to the Soraka image sensor is provided.
A similar change to the coreboot tables is included in the kernel
patch series:
https://patchwork.kernel.org/project/linux-media/list/?series=165803
On top of this series, the camera sensor properties should be expose and added
to the Camera properties constructed by the pipeline handlers.
Thanks
j
Jacopo Mondi (7):
[TEMP] include: linux: Update v4l2-controls.h
libcamera: controls: Document control_ids.h
libcamera: controls: Add camera properties IDs
libcamera: v4l2_controls: Construct from a list of ids
libcamera: camera_sensor: Collect camera properties
libcamera: v4l2_subdevice: Add selection support
libcamera: camera_sensor: Retrieve sensor sizes
include/libcamera/control_ids.h | 11 ++
include/libcamera/geometry.h | 1 +
include/linux/v4l2-controls.h | 7 ++
src/libcamera/camera_sensor.cpp | 90 ++++++++++++++
src/libcamera/controls.cpp | 155 +++++++++++++++++--------
src/libcamera/geometry.cpp | 24 ++++
src/libcamera/include/camera_sensor.h | 8 ++
src/libcamera/include/v4l2_controls.h | 3 +
src/libcamera/include/v4l2_subdevice.h | 9 +-
src/libcamera/pipeline/ipu3/ipu3.cpp | 4 +-
src/libcamera/v4l2_controls.cpp | 17 +++
src/libcamera/v4l2_subdevice.cpp | 113 +++++++++++-------
12 files changed, 347 insertions(+), 95 deletions(-)
--
2.23.0
More information about the libcamera-devel
mailing list