[PATCH 0/3] libcamera: Add gamma control for rkisp1
Stefan Klug
stefan.klug at ideasonboard.com
Thu May 16 14:41:47 CEST 2024
This patchset adds a gamma algorithm and the corresponding control for rkisp1.
A camera gamma of roughly 2.2 is necessary to produce correct output images on
a standard monitor and to comply with sRGB.
Further information is available here:
https://en.wikipedia.org/wiki/SRGB
https://www.cambridgeincolour.com/tutorials/gamma-correction.htm
Stefan Klug (3):
ipa: rkisp1: Add gamma algorithm
libcamera: Add gamma control id
pipeline: rkisp1: Implement gamma control
src/ipa/rkisp1/algorithms/goc.cpp | 143 ++++++++++++++++++++++++++
src/ipa/rkisp1/algorithms/goc.h | 41 ++++++++
src/ipa/rkisp1/algorithms/meson.build | 1 +
src/ipa/rkisp1/ipa_context.h | 4 +
src/ipa/rkisp1/rkisp1.cpp | 3 +-
src/libcamera/control_ids_core.yaml | 6 ++
6 files changed, 197 insertions(+), 1 deletion(-)
create mode 100644 src/ipa/rkisp1/algorithms/goc.cpp
create mode 100644 src/ipa/rkisp1/algorithms/goc.h
--
2.40.1
More information about the libcamera-devel
mailing list