[libcamera-devel] [PATCH 0/3] Add SensorTemperature control
Naushir Patuck
naush at raspberrypi.com
Thu Jun 23 16:44:07 CEST 2022
Hi,
This series adds a sensor temperature metadata control to libcamera. This
control is returned out through Request metadata when available. There is an
open PR [1] to enable the temperature sensor on the imx477 on the Raspberry Pi
platforms.
At present, there is no mechanism in V4L2 to return the temperature from the
sensor device driver, so we rely on the embedded data to fetch the values every
frame.
Thanks,
Naush
[1] https://github.com/raspberrypi/linux/pull/5067
Naushir Patuck (3):
libcamera: controls: Add SensorTemperature control
ipa: raspberrypi: Add sensor temperature to DeviceStatus
ipa: raspberrypi: imx477: Get sensor temperature from embedded data
src/ipa/raspberrypi/cam_helper.cpp | 7 ++++---
src/ipa/raspberrypi/cam_helper_imx477.cpp | 5 ++++-
src/ipa/raspberrypi/controller/device_status.cpp | 3 +++
src/ipa/raspberrypi/controller/device_status.h | 4 +++-
src/ipa/raspberrypi/raspberrypi.cpp | 2 ++
src/libcamera/control_ids.yaml | 10 ++++++++++
6 files changed, 26 insertions(+), 5 deletions(-)
--
2.25.1
More information about the libcamera-devel
mailing list