{"id":18518,"url":"https://patchwork.libcamera.org/api/patches/18518/?format=json","web_url":"https://patchwork.libcamera.org/patch/18518/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<CAEmqJPqoBgndvOd6gOyoFvDMb9E9qd=UixKYOGFvAuj2-M9BaA@mail.gmail.com>","date":"2023-03-31T08:24:44","name":"[libcamera-devel,GIT,PULL] Raspberry Pi: Generalised algorithms","commit_ref":null,"pull_url":"https://github.com/naushir/libcamera.git","state":"accepted","archived":false,"hash":null,"submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/18518/mbox/","series":[{"id":3832,"url":"https://patchwork.libcamera.org/api/series/3832/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3832","date":"2023-03-31T08:24:44","name":"[libcamera-devel,GIT,PULL] Raspberry Pi: Generalised algorithms","version":1,"mbox":"https://patchwork.libcamera.org/series/3832/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18518/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18518/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 915EDC326B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 31 Mar 2023 08:24:49 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CD1D96272A;\n\tFri, 31 Mar 2023 10:24:48 +0200 (CEST)","from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com\n\t[IPv6:2607:f8b0:4864:20::112d])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 627FD61ECB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 31 Mar 2023 10:24:47 +0200 (CEST)","by mail-yw1-x112d.google.com with SMTP id\n\t00721157ae682-54606036bb3so236540697b3.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 31 Mar 2023 01:24:47 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1680251088;\n\tbh=LZPXYIZZAkzXgCH0n0Kw8aWKbjzuCpbrm8+gMde5E94=;\n\th=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=wObyKAyjoPG4iRWk5iDRnmZxXt5y+K3ti1HZYT/uswiyhRoPSG9phpMiTpabbN8FR\n\tmolqixxmCO+uREpYBBEd+nrKPfM193trnqJJpPHSMz9UX5LcJqsv97wXAps/O0LWKr\n\tqhGc4EzMFtRHj3pdaavwpJ76S7tdMza4i5IQ5JVLJFOf3rdsJoBwrSJevEii0TTEmR\n\t76ctgCAr0FMdwY8SBI2rL8PL5mIMIbnrktrb0QmuhKe77B7qWz9fNSw0D80++WD5pn\n\tETXho24NgtbRgKTxQmjUDbNLqaOUePMFpgUIHqtXPSbkvC56rvhCCLrHsFueIKE9d+\n\tbGLYEY/VIj7YQ==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1680251086;\n\th=to:subject:message-id:date:from:mime-version:from:to:cc:subject\n\t:date:message-id:reply-to;\n\tbh=pB1RqRvWD4C5NR/CN8bF33HVtZdb8k9Pa4zmtV7l7LA=;\n\tb=k/H1zFQXBSYZeN8lILwDquxv2RSYRLymvSR/A2CrfoHa/lYl3RDmBtF/HGGMjeXEvS\n\tnE7V2q5LyXfSpQKM2I2HdhLgttI3hiy1Pz61NxoIVsxWS0SFXeDy1ufEOk2jbWfG/7AR\n\tqky9ANZ22T2OV1/YQA4dm2cXZgjivoD5tzkMbkJlqAcbY34//Jj+A8yZ/t1jp/sowOpS\n\tlbuEuEk9Nyjf43B51C2qhpyXXRQd65ejtww/Fjq5Sr8BfgjeQF/7/WnVcfk+kYKzuZHU\n\tlD+0q2fEuCAeT3lMglwSu2mjAXFAyjULF5EzPNFYSib5r4kes+vZdkjWRbkKj1BFytkV\n\tg3+g=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"k/H1zFQX\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112; t=1680251086;\n\th=to:subject:message-id:date:from:mime-version:x-gm-message-state\n\t:from:to:cc:subject:date:message-id:reply-to;\n\tbh=pB1RqRvWD4C5NR/CN8bF33HVtZdb8k9Pa4zmtV7l7LA=;\n\tb=qwdJD29XRUkj3gXH9hvKoF6i9oWQh8gWIG+kR1d63QOCtvkgJ9h5iaRbiAl8w9yruK\n\tlbyBE73Bp8uYSz5AZcCqS50NZiwUvGAUcdJbuWG8hifde8/T3yri9jZQCGiuhtFH7DeY\n\t09U3lIZP2W9A3A+XV0kicriL8JfBcB2r83FWchKL2AY9ZvYLfcQXB/WNl/wjPl1r9czA\n\tYpUUoGAmpE4vNkIEXjXDeVYGRvEAkSr8E4vjnJOcTUwhmhfH87vMtM1O4b7LodTQLjS9\n\tzbSa58bT+k87qcAMkWCS2ILpn2aQv7eOQyHbcz5X+OUJUQ+1Hzin1LntAC7tLOk4sV6p\n\tjOmA==","X-Gm-Message-State":"AAQBX9ct76XazTsV9HTfLmc4dfJW15EqAldOVRkxSoAWgYyIBwML7WY4\n\tP1TbjU6AmAHkkBuIcQWf5rXwK+afgyWL+JKO38XOwTLgs8ecCqS8UtwIbg==","X-Google-Smtp-Source":"AKy350ZVtgDVKPseJnyrR5zvtoxznweVPs+WoTFMzf9KvSvevhUrq9st1LVDktDgvaVzn3LzsfFIqgYpaU0QVHJKkHo=","X-Received":"by 2002:a81:b149:0:b0:545:1d7f:abfe with SMTP id\n\tp70-20020a81b149000000b005451d7fabfemr12547333ywh.7.1680251086100;\n\tFri, 31 Mar 2023 01:24:46 -0700 (PDT)","MIME-Version":"1.0","Date":"Fri, 31 Mar 2023 09:24:44 +0100","Message-ID":"<CAEmqJPqoBgndvOd6gOyoFvDMb9E9qd=UixKYOGFvAuj2-M9BaA@mail.gmail.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>, \n\tKieran Bingham <kieran.bingham@ideasonboard.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Subject":"[libcamera-devel] [GIT PULL] Raspberry Pi: Generalised algorithms","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Naushir Patuck <naush@raspberrypi.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The following changes since commit f7bf0be65360d9154e3bbed8d1a4c69cad7b0b98:\n\n  ipa: raspberrypi: Fix default frame durations calculation\n(2023-03-28 14:12:20 +0100)\n\nare available in the Git repository at:\n\n  https://github.com/naushir/libcamera.git\n\nfor you to fetch changes up to a716101903654fb1bd6727f3f58ec816019b6898:\n\n  ipa: raspberrypi: Generalise the focus reporting code (2023-03-31\n09:07:14 +0100)\n\n----------------------------------------------------------------\nDavid Plowman (2):\n      ipa: raspberrypi: alsc: Replace std::vectors by Array2D class\n      ipa: raspberrypi: alsc: Use a better type name for sparse arrays\n\nNaushir Patuck (7):\n      ipa: raspberrypi Store the target string in the controller\n      ipa: raspberrypi: Add hardware configuration to the controller\n      ipa: raspberrypi: Generalise the ALSC algorithm\n      ipa: raspberrypi: Generalise the contrast algorithm\n      ipa: raspberrypi: Make RegionStats::get() always return a Region struct\n      ipa: raspberrypi: Generalise the agc algorithm\n      ipa: raspberrypi: Generalise the focus reporting code\n\nNick Hollinghurst (1):\n      ipa: raspberrypi: Generalise the autofocus algorithm\n\n src/ipa/raspberrypi/cam_helper_imx708.cpp        |  23 ++++++----\n src/ipa/raspberrypi/controller/algorithm.h       |   8 ++++\n src/ipa/raspberrypi/controller/alsc_status.h     |  13 +++---\n src/ipa/raspberrypi/controller/contrast_status.h |  11 ++---\n src/ipa/raspberrypi/controller/controller.cpp    |  37 +++++++++++++++\n src/ipa/raspberrypi/controller/controller.h      |  15 ++++++\n src/ipa/raspberrypi/controller/focus_status.h    |  20 --------\n src/ipa/raspberrypi/controller/pdaf_data.h       |  21 +++++----\n src/ipa/raspberrypi/controller/region_stats.h    |   4 +-\n src/ipa/raspberrypi/controller/rpi/af.cpp        | 176\n++++++++++++++++++++++++++++++++++++----------------------------------\n src/ipa/raspberrypi/controller/rpi/af.h          |  29 ++++++------\n src/ipa/raspberrypi/controller/rpi/agc.cpp       |  20 +++++---\n src/ipa/raspberrypi/controller/rpi/agc.h         |   9 +---\n src/ipa/raspberrypi/controller/rpi/alsc.cpp      | 291\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------\n src/ipa/raspberrypi/controller/rpi/alsc.h        |  83\n+++++++++++++++++++++++++++++----\n src/ipa/raspberrypi/controller/rpi/contrast.cpp  |  30 +++---------\n src/ipa/raspberrypi/controller/rpi/contrast.h    |   1 -\n src/ipa/raspberrypi/controller/rpi/focus.cpp     |  49 --------------------\n src/ipa/raspberrypi/data/imx290.json             |   3 --\n src/ipa/raspberrypi/data/imx296.json             |   3 --\n src/ipa/raspberrypi/data/imx296_mono.json        |   3 --\n src/ipa/raspberrypi/data/imx477.json             |   3 --\n src/ipa/raspberrypi/data/imx477_noir.json        |   3 --\n src/ipa/raspberrypi/data/imx477_scientific.json  |   3 --\n src/ipa/raspberrypi/data/imx477_v1.json          |   3 --\n src/ipa/raspberrypi/data/imx708.json             |   3 --\n src/ipa/raspberrypi/data/imx708_noir.json        |   3 --\n src/ipa/raspberrypi/data/imx708_wide.json        |   3 --\n src/ipa/raspberrypi/data/imx708_wide_noir.json   |   3 --\n src/ipa/raspberrypi/meson.build                  |   1 -\n src/ipa/raspberrypi/raspberrypi.cpp              |  85\n++++++++++++++++++++++------------\n 31 files changed, 520 insertions(+), 439 deletions(-)\n delete mode 100644 src/ipa/raspberrypi/controller/focus_status.h\n delete mode 100644 src/ipa/raspberrypi/controller/rpi/focus.cpp","diff":null,"prefixes":["libcamera-devel","GIT","PULL"]}