[PATCH 0/3] ipa: simple: Introduce metadata reporting

Kieran Bingham kieran.bingham at ideasonboard.com
Tue Jun 18 01:25:22 CEST 2024


Provide metadata reporting for the SoftISP. Initially the Black Levels
and ColourGains are reported, but also serve as a direction to add
further metadata or internal reporting of the softisp.

Running cam -c1 -C10 --metadata now produces the following:

1668.359684 (14.95 fps) cam0-stream0 seq: 000004 bytesused: 15069888
	SensorBlackLevels = [ 20, 20, 20, 20 ]
	ColourGains = [ 0.316406, 0.299805 ]
	SensorTimestamp = 1668359684000


Kieran Bingham (3):
  ipa: simple: softisp: Extend to pass metadata
  ipa: simple: Report the ColourGains in metadata
  ipa: simple: Report black levels in metadata

 .../libcamera/internal/software_isp/software_isp.h   |  5 ++++-
 include/libcamera/ipa/soft.mojom                     |  2 +-
 src/ipa/simple/soft_simple.cpp                       | 12 +++++++++++-
 src/libcamera/pipeline/simple/simple.cpp             |  7 +++++--
 src/libcamera/software_isp/software_isp.cpp          |  6 ++++--
 5 files changed, 25 insertions(+), 7 deletions(-)

-- 
2.34.1



More information about the libcamera-devel mailing list