Files
external_libcamera/src/ipa/raspberrypi
Naushir Patuck 61b43e50e7 ipa: raspberrypi: Normalise region sums to 16-bits
The VC4 ISP uses a pipeline bit-depth of 13-bits. The AGC algorithm needs to
know this bit-depth when computing the Y value for the image.

Instead of hardcoding the VC4 bit-depth in the AGC source code, normalise all
region sums to 16-bits when filling the Statistics structure. AWB and ALSC are
agnostic about pipeline depth, so do not need changing.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2023-02-09 13:11:44 +00:00
..

.. SPDX-License-Identifier: BSD-2-Clause

libcamera for the Raspberry Pi

Raspberry Pi provides a fully featured pipeline handler and control algorithms (IPAs, or "Image Processing Algorithms") to work with libcamera. Support is included for all existing Raspberry Pi camera modules.

libcamera for the Raspberry Pi allows users to:

  1. Use their existing Raspberry Pi cameras.
  2. Change the tuning of the image processing for their Raspberry Pi cameras.
  3. Alter or amend the control algorithms (such as AGC/AEC, AWB or any others) that control the sensor and ISP.
  4. Implement their own custom control algorithms.
  5. Supply new tunings and/or algorithms for completely new sensors.

How to install and run libcamera on the Raspberry Pi

Please follow the instructions here.

Documentation

Full documentation for the Raspberry Pi Camera Algorithm and Tuning Guide can be found here.