{"id":23859,"url":"https://patchwork.libcamera.org/api/covers/23859/?format=json","web_url":"https://patchwork.libcamera.org/cover/23859/","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":"<20250721074853.1463358-1-naush@raspberrypi.com>","date":"2025-07-21T07:47:20","name":"[v2,0/7] Raspberry Pi AEC/AGC update","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/23859/mbox/","series":[{"id":5303,"url":"https://patchwork.libcamera.org/api/series/5303/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5303","date":"2025-07-21T07:47:20","name":"Raspberry Pi AEC/AGC update","version":2,"mbox":"https://patchwork.libcamera.org/series/5303/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/23859/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 72BACBDCC1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 21 Jul 2025 07:49:00 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C299868FCC;\n\tMon, 21 Jul 2025 09:48:58 +0200 (CEST)","from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com\n\t[IPv6:2a00:1450:4864:20::42b])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 42A4261509\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jul 2025 09:48:56 +0200 (CEST)","by mail-wr1-x42b.google.com with SMTP id\n\tffacd0b85a97d-3b39c46e1cfso628331f8f.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jul 2025 00:48:56 -0700 (PDT)","from NAUSH-P-DELL.pitowers.org ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-4562e802afasm151101765e9.12.2025.07.21.00.48.54\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 21 Jul 2025 00:48:55 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"MvTL4CJw\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1753084135; x=1753688935;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=Tf4tCcQYYwRkQGvbtTyEZ5enC/L+9eiBi4mJxGqW1KY=;\n\tb=MvTL4CJwrtBtw9hP0Fym9WYq62wX15KKJBq+0jINoZLHT+gHN6YOLoR6QUItJuWR0Y\n\tmrHUR+YQ59GRbpWHrmDfWSOjRghZO4dfXNyTaAJjVKBWWGwoLiarabyWr/TBnp2yJ/dY\n\tqW1YCFOYYavwXzUpjYHGuVc+IxhaRLi8Q/3U9UblBvZtojto3ldYBqtJa6JccBZUhQET\n\te7pAxSNAOsjRsIn9ebJLQyzvzcfXs+koCveJbGhD+av2PT5Z5ZaMSAGy5KAwn5QFK8gf\n\tCn32AQ8bpR0pnBpvqJbUZsNQfXcGiLasch8wqLPVuzfW4p6R0ES5faIhECtQ4F2dgkkI\n\titVQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1753084135; x=1753688935;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc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pWk715AgSwK7o","X-Google-Smtp-Source":"AGHT+IGcfvRQPdYDFJ1ngA7ODjck5M0ZpA/p4O0xtKNFUFppZY0lKzqzl7dnpgk8ew71fJ2ORghGsg==","X-Received":"by 2002:a05:6000:240d:b0:3a4:e0e1:8dbd with SMTP id\n\tffacd0b85a97d-3b60dd78ceamr6283347f8f.11.1753084135347; \n\tMon, 21 Jul 2025 00:48:55 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Naushir Patuck <naush@raspberrypi.com>","Subject":"[PATCH v2 0/7] Raspberry Pi AEC/AGC update ","Date":"Mon, 21 Jul 2025 08:47:20 +0100","Message-ID":"<20250721074853.1463358-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.43.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nAs requested, here is v2 of The AGC changes originally submitted by David.\n\nI've rebased to the top of master and added my tags, but no other functional\nchanges made.\n\nThanks!\nNaush\n\nDavid Plowman (7):\n  ipa: rpi: agc: Change handling of colour gains less than 1\n  ipa: rpi: agc: Make the maximum digital gain configurable\n  ipa: rpi: agc: Rename \"analogue gain\" to \"gain\" where appropriate\n  ipa: rpi: Advance the delay context counter even when IPAs don't run\n  ipa: rpi: agc: Calculate digital gain in process()\n  ipa: rpi: Update digital gain handling in IPA base and derived classes\n  ipa: rpi: agc: Remove digital gain from AgcPrepareStatus\n\n src/ipa/rpi/common/ipa_base.cpp            |  71 ++++---\n src/ipa/rpi/common/ipa_base.h              |   6 +-\n src/ipa/rpi/controller/agc_algorithm.h     |   2 +-\n src/ipa/rpi/controller/agc_status.h        |   4 +-\n src/ipa/rpi/controller/rpi/agc.cpp         |   6 +-\n src/ipa/rpi/controller/rpi/agc.h           |   4 +-\n src/ipa/rpi/controller/rpi/agc_channel.cpp | 236 +++++++++------------\n src/ipa/rpi/controller/rpi/agc_channel.h   |   6 +-\n src/ipa/rpi/pisp/pisp.cpp                  |  81 ++++---\n src/ipa/rpi/vc4/vc4.cpp                    |  42 +++-\n 10 files changed, 248 insertions(+), 210 deletions(-)"}