[PATCH v4 07/18] libcamera: software_isp: Add Debayer base class

Milan Zamazal mzamazal at redhat.com
Mon Mar 4 16:25:43 CET 2024


Hans de Goede <hdegoede at redhat.com> writes:

> Add a base class for debayer implementations. This is intended to be
> suitable for both GPU (or otherwise) accelerated debayer implementations
> as well as CPU based debayering.
>
> Doxygen documentation by Dennis Bonke.
>
> Tested-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org> # sc8280xp Lenovo x13s
> Tested-by: Pavel Machek <pavel at ucw.cz>
> Reviewed-by: Pavel Machek <pavel at ucw.cz>
> Co-developed-by: Dennis Bonke <admin at dennisbonke.com>
> Signed-off-by: Dennis Bonke <admin at dennisbonke.com>
> Co-developed-by: Andrey Konovalov <andrey.konovalov at linaro.org>
> Signed-off-by: Andrey Konovalov <andrey.konovalov at linaro.org>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

With one change below:

Reviewed-by: Milan Zamazal <mzamazal at redhat.com>

> ---
> Changes in v3:
> - Move debayer.h to src/libcamera/software_isp/
> - Move class documentation (only a brief for now) to .cpp file
> ---
>  .../internal/software_isp/debayer_params.h    |  48 ++++++++
>  .../internal/software_isp/meson.build         |   1 +
>  src/libcamera/software_isp/debayer.cpp        |  29 +++++
>  src/libcamera/software_isp/debayer.h          | 104 ++++++++++++++++++
>  src/libcamera/software_isp/meson.build        |   1 +
>  5 files changed, 183 insertions(+)
>  create mode 100644 include/libcamera/internal/software_isp/debayer_params.h
>  create mode 100644 src/libcamera/software_isp/debayer.cpp
>  create mode 100644 src/libcamera/software_isp/debayer.h
>
> diff --git a/include/libcamera/internal/software_isp/debayer_params.h b/include/libcamera/internal/software_isp/debayer_params.h
> new file mode 100644
> index 00000000..98e7fc92
> --- /dev/null
> +++ b/include/libcamera/internal/software_isp/debayer_params.h
> @@ -0,0 +1,48 @@
> +/* SPDX-License-Identifier: LGPL-2.1-or-later */
> +/*
> + * Copyright (C) 2023, Red Hat Inc.
> + *
> + * Authors:
> + * Hans de Goede <hdegoede at redhat.com>
> + *
> + * swstats.h - software statistics base class

Forgotten update of a copy from a different file.

[...]



More information about the libcamera-devel mailing list