[libcamera-devel] [PATCH v4 00/10] Camera properties

Jacopo Mondi jacopo at jmondi.org
Wed Jan 8 17:34:24 CET 2020


Hello,
   series refresh, but mostly sent out to have feedback on the newly defined
'rotation' property which is the result of collaborative effort with Niklas
and Laurent, I hope to have captured there the result of our endless meetings on
the subject.

If this progress, the associated DT and v4l2-controls should be re-defined, as
well as the translation to the corresponding android metadata.

Thanks
   j

Jacopo Mondi (10):
  [TEMP] include: linux: Update v4l2-controls.h
  libcamera: controls: Parse 'enum' in gen-controls.py
  libcamera: properties: Generate libcamera properties
  libcamera: controls: Add default to ControlRange
  libcamera: v4l2_controls: Store default value
  libcamera: camera_sensor: Parse camera properties
  libcamera: pipeline_handler: Add Camera properties
  libcamera: camera: Add Camera properties
  android: camera_device: Use Camera properties for static Metadata
  cam: Add option to list camera properties

 include/libcamera/camera.h               |   1 +
 include/libcamera/controls.h             |   5 +-
 include/libcamera/meson.build            |  26 +-
 include/libcamera/property_ids.h.in      |  33 +++
 include/linux/v4l2-controls.h            |   7 +
 src/android/camera_device.cpp            |  29 +-
 src/cam/main.cpp                         |  50 ++++
 src/cam/main.h                           |   1 +
 src/libcamera/camera.cpp                 |  16 +-
 src/libcamera/camera_sensor.cpp          |  46 +++-
 src/libcamera/controls.cpp               |  17 +-
 src/libcamera/gen-controls.py            |  41 +++
 src/libcamera/include/camera_sensor.h    |   7 +-
 src/libcamera/include/pipeline_handler.h |   2 +
 src/libcamera/meson.build                |  21 +-
 src/libcamera/pipeline/ipu3/ipu3.cpp     |   3 +
 src/libcamera/pipeline/rkisp1/rkisp1.cpp |   3 +
 src/libcamera/pipeline/vimc.cpp          |   4 +
 src/libcamera/pipeline_handler.cpp       |  19 ++
 src/libcamera/property_ids.cpp.in        |  43 +++
 src/libcamera/property_ids.yaml          | 334 +++++++++++++++++++++++
 src/libcamera/v4l2_controls.cpp          |   9 +-
 22 files changed, 688 insertions(+), 29 deletions(-)
 create mode 100644 include/libcamera/property_ids.h.in
 create mode 100644 src/libcamera/property_ids.cpp.in
 create mode 100644 src/libcamera/property_ids.yaml

--
2.24.0



More information about the libcamera-devel mailing list