libcamera/include/linux
Jean-Michel Hautbois 09a221eb47 ipa: ipu3: Replace ipa::ipu3::algorithms::Ipu3AwbCell
The intel-ipu3.h public interface from the kernel does not define how to
parse the statistics for a cell. This had to be identified by a process
of reverse engineering, and later identifying the structures from [0]
leading to our custom definition of struct Ipu3AwbCell.

[0]
https://chromium.googlesource.com/chromiumos/platform/arc-camera/+/refs/heads/master/hal/intel/include/ia_imaging/awb_public.h

To improve the kernel interface, a proposal has been made to the
linux-kernel [1] to incorporate the memory layout for each cell into the
intel-ipu3 header directly.

[1]
https://lore.kernel.org/linux-media/20211005202019.253353-1-jeanmichel.hautbois@ideasonboard.com/

Update our local copy of the intel-ipu3.h to match the proposal and
change the AGC and AWB algorithms to reference that structure directly,
allowing us to remove the deprecated custom Ipu3AwbCell definition.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-10-06 17:58:17 +02:00
..
bcm2835-isp.h uapi: raspberrypi: Update the bcm2835-isp header definition 2021-02-09 13:23:39 +02:00
dma-buf.h include: linux: Add dma-buf.h and dma-heap.h UAPI headers 2020-07-17 16:36:27 +03:00
dma-heap.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
drm_fourcc.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
intel-ipu3.h ipa: ipu3: Replace ipa::ipu3::algorithms::Ipu3AwbCell 2021-10-06 17:58:17 +02:00
media-bus-format.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
media.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
README include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
rkisp1-config.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
v4l2-common.h include: linux: Update Linux headers to v5.1 2019-06-02 14:31:23 +02:00
v4l2-controls.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
v4l2-mediabus.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
v4l2-subdev.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
videodev2.h include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00

# SPDX-License-Identifier: CC0-1.0

Files in this directory are imported from v5.12-rc1 of the Linux kernel. Do not
modify them manually.