[PATCH 0/8] libcamera: Add swstats_cpu::processFrame() and atomisp pipeline handler

Hans de Goede hdegoede at redhat.com
Sun Nov 3 16:21:57 CET 2024


Hi All,

Here is a patch series adding a new pipeline handler for the atomisp.

This series includes the patches which I posted earlier as:
"[RFC 0/4] libcamera: swstats_cpu: Add processFrame() method"
as patches 1, 2, 4 and 5. I have added Reviewed-by-s received on the RFC
posting and I've fixed the lack of doxygen documentation.

I have pushed this to the libcamera-softisp as atomisp-v1 and this
has passed CI without any issues, see:
https://gitlab.freedesktop.org/camera/libcamera-softisp/-/commit/111b26f3b1c353888ebab3268a632f8827d83f2d/pipelines?ref=atomisp-v1

Regards,

Hans


Hans de Goede (8):
  libcamera: swstats_cpu: Update statsProcessFn() / processLine0()
    documentation
  libcamera: swstats_cpu: Drop patternSize_ documentation
  libcamera: swstats_cpu: Move header to libcamera/internal/software_isp
  libcamera: software_isp: Move benchmark code to its own class
  libcamera: swstats_cpu: Add processFrame() method
  libcamera: swstats_cpu: Add support for YUV420
  libcamera: ipa_manager: createIPA: Allow passing an IPA name to match
  libcamera: Add new atomisp pipeline handler

 include/libcamera/internal/ipa_manager.h      |  11 +-
 include/libcamera/internal/ipa_module.h       |   2 +-
 .../internal/software_isp/benchmark.h         |  36 ++
 .../internal/software_isp/meson.build         |   2 +
 .../internal}/software_isp/swstats_cpu.h      |  18 +
 meson.build                                   |   1 +
 meson_options.txt                             |   1 +
 src/ipa/simple/data/uncalibrated_atomisp.yaml |   7 +
 src/libcamera/ipa_manager.cpp                 |   7 +-
 src/libcamera/ipa_module.cpp                  |   6 +-
 src/libcamera/pipeline/atomisp/atomisp.cpp    | 584 ++++++++++++++++++
 src/libcamera/pipeline/atomisp/meson.build    |   5 +
 src/libcamera/software_isp/benchmark.cpp      |  93 +++
 src/libcamera/software_isp/debayer_cpu.cpp    |  32 +-
 src/libcamera/software_isp/debayer_cpu.h      |   9 +-
 src/libcamera/software_isp/meson.build        |   3 +-
 src/libcamera/software_isp/swstats_cpu.cpp    | 178 +++++-
 17 files changed, 926 insertions(+), 69 deletions(-)
 create mode 100644 include/libcamera/internal/software_isp/benchmark.h
 rename {src/libcamera => include/libcamera/internal}/software_isp/swstats_cpu.h (79%)
 create mode 100644 src/ipa/simple/data/uncalibrated_atomisp.yaml
 create mode 100644 src/libcamera/pipeline/atomisp/atomisp.cpp
 create mode 100644 src/libcamera/pipeline/atomisp/meson.build
 create mode 100644 src/libcamera/software_isp/benchmark.cpp

-- 
2.47.0



More information about the libcamera-devel mailing list