{"id":15550,"url":"https://patchwork.libcamera.org/api/covers/15550/?format=json","web_url":"https://patchwork.libcamera.org/cover/15550/","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":"<20220325092555.1799897-1-kieran.bingham@ideasonboard.com>","date":"2022-03-25T09:25:50","name":"[libcamera-devel,v3,0/5] ipa: ipu3: af: Small improvements","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/15550/mbox/","series":[{"id":3000,"url":"https://patchwork.libcamera.org/api/series/3000/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3000","date":"2022-03-25T09:25:50","name":"ipa: ipu3: af: Small improvements","version":3,"mbox":"https://patchwork.libcamera.org/series/3000/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/15550/comments/","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 CF909BD80A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 25 Mar 2022 09:26:02 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 270E66118A;\n\tFri, 25 Mar 2022 10:26:02 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 839A560136\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Mar 2022 10:26:00 +0100 (CET)","from Monstersaurus.ksquared.org.uk.beta.tailscale.net\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id EDE386F3;\n\tFri, 25 Mar 2022 10:25:59 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1648200362;\n\tbh=Hq6LPYpQ+wgrIuqEqKTOFN+2FnsC58V2qPwvEGhBBtY=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=3qdVCQ7uVkQCSht6GsZCavxzdTuzZchnbXbGzuXu1Uberng/izi99aZs278AbtiKo\n\t2OACp9Kxvie1IBA5aT4DrUh6jgHfgAgR59HPLWMUkCsqb/P6IXZJrefzOdo6Wox6go\n\tjiCPsOYFNcObvVHviEdWytj91cAX0O6KcHpTeecV9CnFQkevzn9nGQGzqC4tPUPS+5\n\tPpkJHWjTOFMuLakgCYwLqtWfHDQtw0/F6rGr3BHO9uGZExPNHDCGdu5Xt6oV19F6aL\n\tFfPgWjiwxYe6hnY2zlEX7a/8UUuGg0QeD/TYkXCjWkDglXJ0LR7Xv0VO8LRkDDFFRk\n\t4WELsJhsebmhg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1648200360;\n\tbh=Hq6LPYpQ+wgrIuqEqKTOFN+2FnsC58V2qPwvEGhBBtY=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=mIRKgh6Oqxc8NNXTzBqW49DhiOiA2AUefnOB3zQOB9Txir4K7DrgsDbZ3EUc2biQh\n\trGFIoOYXcCxiI3NeSrhs5Vv5ECj9Ney+CcUCooALNsSWwBTTpXfNbWiKlhjQwZZBvC\n\tgDUaJBUp4o284rzUt3Gd3H9D423GQgnIR16sPofs="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"mIRKgh6O\"; dkim-atps=neutral","To":"libcamera devel <libcamera-devel@lists.libcamera.org>,\n\tKate Hsuan <hpa@redhat.com>,\n\tJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>","Date":"Fri, 25 Mar 2022 09:25:50 +0000","Message-Id":"<20220325092555.1799897-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.32.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/5] ipa: ipu3: af: Small improvements","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":"Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Following review of the IPU3 Af implementation, the following additional\nimprovements were identified.\n\nNo functional change to the running of the algorithm is intended or\nexpected, though this does remove a memcpy, and adapts to use a Span for\nrange based iterators, as well as hopefully make it easier to use custom\nROI's and return the AF regions in later developments.\n\n *** This is only compile tested! ***\n\nKate/JM - could you test this please?\n\nv3:\n - Minor cleanups from Laurent and collect tags.\n - Keeping the two loop implementation of Af::afEstimateVariance\n   to prevent risk of \"catasrophic cancellation\".\n\nKieran Bingham (5):\n  ipa: ipu3: af: Move constants to implementation\n  ipa: ipu3: af: Use geometry classes to perform grid centering\n  ipa: ipu3: af: Remove redundant memcpy\n  ipa: ipu3: af: Use Span for y_table_item_t\n  ipa: ipu3: af: Simplify accumulations of y_items\n\n src/ipa/ipu3/algorithms/af.cpp | 140 +++++++++++++--------------------\n src/ipa/ipu3/algorithms/af.h   |  15 +---\n 2 files changed, 56 insertions(+), 99 deletions(-)"}