[libcamera-devel] [PATCH v4 0/7] Raspberry Pi AGC digital gain fixes

Naushir Patuck naush at raspberrypi.com
Mon Oct 24 09:43:53 CEST 2022


Hi all,

Any chance I could get somebody to have a review on this series please?

Would it possibly help move this further if I were to revert my changes to
DelayedControls,
and add a Raspberry Pi specific implementation?

Regards,
Naush

On Wed, 19 Oct 2022 at 10:01, Naushir Patuck <naush at raspberrypi.com> wrote:

> Hi,
>
> Version 4 of this series only has one change from the previous versions:
>
> In patch 6/7, the IPA cookie (index into the RPiMetadata array) is passed
> from
> the pipeline handler into the IPA rather than the other way around.  This
> helps
> simplify some of our future work on per-frame-control.
>
> There is still lots of discussion on this series to be had, particularly
> for
> patch 1/7 where we add a cookie to DelayedControls, so feel free to
> provide some
> feedback.
>
> Regards,
> Naush
>
> Naushir Patuck (7):
>   delayed_controls: Template the ControlRingBuffer class
>   delayed_controls: Add user cookie to DelayedControls
>   tests: delayed_controls: Add cookie value test
>   ipa: raspberrypi: Add RPiController::Metadata::mergeCopy
>   ipa: raspberrypi: Use an array of RPiController::Metadata objects
>   pipeline: ipa: raspberrypi: Use IPA cookies
>   ipa: raspberrypi: agc: Fix digital gain calculation for manual mode
>
>  include/libcamera/internal/delayed_controls.h | 21 +++--
>  include/libcamera/ipa/raspberrypi.mojom       |  4 +-
>  src/ipa/raspberrypi/controller/metadata.h     | 10 +++
>  src/ipa/raspberrypi/controller/rpi/agc.cpp    | 10 ++-
>  src/ipa/raspberrypi/raspberrypi.cpp           | 82 ++++++++++++-------
>  src/libcamera/delayed_controls.cpp            | 20 +++--
>  src/libcamera/pipeline/ipu3/ipu3.cpp          |  3 +-
>  .../pipeline/raspberrypi/raspberrypi.cpp      | 19 +++--
>  src/libcamera/pipeline/rkisp1/rkisp1.cpp      |  3 +-
>  test/delayed_controls.cpp                     | 52 +++++++++++-
>  10 files changed, 163 insertions(+), 61 deletions(-)
>
> --
> 2.25.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20221024/328f7e3c/attachment.htm>


More information about the libcamera-devel mailing list