[v1,0/4] Raspberry Pi: Decompanding support
mbox series

Message ID 20251002133523.293413-1-naush@raspberrypi.com
Headers show
Series
  • Raspberry Pi: Decompanding support
Related show

Message

Naushir Patuck Oct. 2, 2025, 1:26 p.m. UTC
Hi,

This series is a successor to [1] adding support for sensor data decompanding in
the frontend.

Patch 1 adds support for the algorithm in the IPA, and patches 2-4 update the
code to provide initial values to the hardware before the sensor starts
streaming.  Without these patches, the first 1-2 frames would not have the
decompanding enabled.

Thanks,
Naush

[1]: https://patchwork.libcamera.org/patch/24540/

Naushir Patuck (3):
  ipa: rpi: Add FE globals as a parameter to applyDecompand()
  ipa: rpi: pisp: Add a DecompandAlgorithm class
  ipa: rpi: pisp: Allow an initial decompand curve to be set on the FE

Sena Asotani (1):
  ipa: rpi: pisp: Add decompand support using PiSP hardware block

 src/ipa/rpi/controller/decompand_algorithm.h | 26 ++++++++
 src/ipa/rpi/controller/decompand_status.h    |  8 +++
 src/ipa/rpi/controller/meson.build           |  1 +
 src/ipa/rpi/controller/rpi/decompand.cpp     | 66 ++++++++++++++++++++
 src/ipa/rpi/controller/rpi/decompand.h       | 31 +++++++++
 src/ipa/rpi/pisp/pisp.cpp                    | 56 +++++++++++++++++
 6 files changed, 188 insertions(+)
 create mode 100644 src/ipa/rpi/controller/decompand_algorithm.h
 create mode 100644 src/ipa/rpi/controller/decompand_status.h
 create mode 100644 src/ipa/rpi/controller/rpi/decompand.cpp
 create mode 100644 src/ipa/rpi/controller/rpi/decompand.h

Comments

Nick Hollinghurst Oct. 2, 2025, 2:10 p.m. UTC | #1
Hi Naush,

On Thu, 2 Oct 2025 at 14:35, Naushir Patuck <naush@raspberrypi.com> wrote:
>
> Hi,
>
> This series is a successor to [1] adding support for sensor data decompanding in
> the frontend.
>
> Patch 1 adds support for the algorithm in the IPA, and patches 2-4 update the
> code to provide initial values to the hardware before the sensor starts
> streaming.  Without these patches, the first 1-2 frames would not have the
> decompanding enabled.
>
> Thanks,
> Naush
>
> [1]: https://patchwork.libcamera.org/patch/24540/
>
> Naushir Patuck (3):
>   ipa: rpi: Add FE globals as a parameter to applyDecompand()
>   ipa: rpi: pisp: Add a DecompandAlgorithm class
>   ipa: rpi: pisp: Allow an initial decompand curve to be set on the FE
>
> Sena Asotani (1):
>   ipa: rpi: pisp: Add decompand support using PiSP hardware block
>
>  src/ipa/rpi/controller/decompand_algorithm.h | 26 ++++++++
>  src/ipa/rpi/controller/decompand_status.h    |  8 +++
>  src/ipa/rpi/controller/meson.build           |  1 +
>  src/ipa/rpi/controller/rpi/decompand.cpp     | 66 ++++++++++++++++++++
>  src/ipa/rpi/controller/rpi/decompand.h       | 31 +++++++++
>  src/ipa/rpi/pisp/pisp.cpp                    | 56 +++++++++++++++++
>  6 files changed, 188 insertions(+)
>  create mode 100644 src/ipa/rpi/controller/decompand_algorithm.h
>  create mode 100644 src/ipa/rpi/controller/decompand_status.h
>  create mode 100644 src/ipa/rpi/controller/rpi/decompand.cpp
>  create mode 100644 src/ipa/rpi/controller/rpi/decompand.h
>
> --
> 2.43.0
>

Tested-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>

 Nick