[0/3] ipa: simple: Introduce metadata reporting
mbox series

Message ID 20240617232525.878530-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • ipa: simple: Introduce metadata reporting
Related show

Message

Kieran Bingham June 17, 2024, 11:25 p.m. UTC
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(-)