{"id":23292,"url":"https://patchwork.libcamera.org/api/covers/23292/?format=json","web_url":"https://patchwork.libcamera.org/cover/23292/","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":"<20250428103604.151551-1-david.plowman@raspberrypi.com>","date":"2025-04-28T10:36:02","name":"[0/2] Raspberry Pi Camera Tuning Tool fixes","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/23292/mbox/","series":[{"id":5149,"url":"https://patchwork.libcamera.org/api/series/5149/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5149","date":"2025-04-28T10:36:02","name":"Raspberry Pi Camera Tuning Tool fixes","version":1,"mbox":"https://patchwork.libcamera.org/series/5149/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/23292/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 7E2C7C327D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 28 Apr 2025 10:36:11 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6DEB2617DC;\n\tMon, 28 Apr 2025 12:36:10 +0200 (CEST)","from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com\n\t[IPv6:2a00:1450:4864:20::32e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 437B8617DC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Apr 2025 12:36:08 +0200 (CEST)","by mail-wm1-x32e.google.com with SMTP id\n\t5b1f17b1804b1-43cf3192f3bso44109915e9.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Apr 2025 03:36:08 -0700 (PDT)","from davidp-xps-13.pitowers.org\n\t([2a00:1098:3142:1f:6594:d5bc:c5ae:99b5])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-4408d04802fsm116243185e9.1.2025.04.28.03.36.06\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 28 Apr 2025 03:36:06 -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=\"BM2SYz6m\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1745836567; x=1746441367;\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=9FNWTk5n643gIbkz/JMcHqcTNqAgo0u6s6JHXsLe+wU=;\n\tb=BM2SYz6mOAY+vNuUn4Les0Bg2aOHpXzdpfvcijxQvEykbw4dQdvs/mdHpi2pwy6Kmb\n\thiVtFubOUSNlEDwOwjPOi0g/+mds82rliPr9K/Z0nImXmxnfl6Trb6mIu2RaP4bettTv\n\ttMfR2sdsfwbrBBWLDbH1BMh+W4bRYz64KxVwHv3Yk7oeGrfoM43MmcsaQBgmHwme/J2n\n\t4OMpF1MaMaf1J+kaR7uDa2A7JU247W7c5HGEaucew1UvA84J4Xfcz4iqd6AXz6uaDLD2\n\tLGWC5xnK7+hggcG52vdfR8rhKxRqR1Vj0kXQWbijSK+O5A0LH2+808WBvyGn/Jeh+acZ\n\tMLbg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1745836567; x=1746441367;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=9FNWTk5n643gIbkz/JMcHqcTNqAgo0u6s6JHXsLe+wU=;\n\tb=sm8UF20cSNavnNoIbrz5K6gYKFjOfd65x6CS/ZfE3ceFFo3pqqtotjBmp11eaTUFtw\n\t6M2laGP4yuVCseQmUE2/7qbLZBp5DBeI8XPXwVQklJ1EKtjBTap/+BrLGZsas3Zm4pgJ\n\t0VoSQVxpi/9FFQR3aT6FgpkWTPDXWmenX2oxA4LsEQrecwRF9cwnspXO1Q/dJlpgTAPh\n\tVJtipJAcXHEepMNRqDV3KTWivSqFqivrpRURrSCN/KwujyGU5qtcdfQQWmjjv43y7os5\n\tCTaSTA3BBKwBpAwjmgahcOem5QLcE6pPfx5M6BgMMWKuElgypmxCnGcAGKnAa0JAib+9\n\t262A==","X-Gm-Message-State":"AOJu0Yx2bQaHJ9xSPXRiVYwx6Ee9dAOlqcgqrXH0DqBDYEptmz3CXeUB\n\t6GG6/ufsyhcHeZBtuIxmuX0dmAYrLdkHyOc1v9xFwbQp6EB0B6azlP71WJ998GaVrHOtDqi6PWm\n\tF","X-Gm-Gg":"ASbGncuGcH15P96BhN28bdbE/Sb6SK01G1AHuYX3op2sCx2L+hcXxo46i9Rx8OwuH18\n\tzlnWc1H0MkuKgc/zViYC8l1HhlPfKVybPu5PldmWhBehhh6JHch4pNhIcRhglFwuGOIpaex8VZb\n\t5C30w4OQNk6RxAOZYgSuuwvSDbSNu+l0QnWBwvNpQFU2+7OQBl/d03TwqnLufCXRS00OhmSoyPx\n\tXQCrwls9zjhgCPqtnWZaJuxw908wBaOLVHpGo8jZL64gg+WuwF8TmLlHRKu9Yo7f5oKz39Uvn/a\n\tNGKtIoEkFenFN7DA7fGnwloD3c36XErnBMlwc1OgAxC106p0KYpQhs4UbWLrouemCGaW0ig9too\n\t=","X-Google-Smtp-Source":"AGHT+IEEDY7JvWTpbgdwC+DMzjYonoo1rSTHhwlS7nsRAZlsoXFS42laBEPK1fo/bBm4D+aPxU7OLA==","X-Received":"by 2002:a05:600c:1e0f:b0:43c:fcbc:9680 with SMTP id\n\t5b1f17b1804b1-440a66985dbmr89038225e9.25.1745836567240; \n\tMon, 28 Apr 2025 03:36:07 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"David Plowman <david.plowman@raspberrypi.com>","Subject":"[PATCH 0/2] Raspberry Pi Camera Tuning Tool fixes","Date":"Mon, 28 Apr 2025 11:36:02 +0100","Message-Id":"<20250428103604.151551-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.34.1","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\nThese patches fix some problems with the Raspberry Pi tuning tool, where\nsome of the tables (LSC and CAC tables) could get Nans appearing.\n\nNothing too remarkable here (except that dividing an image into 32x32\ncells is surprisingly easy to get wrong!), but hopefully the patches\nare self-explanatory enough.\n\nThanks!\nDavid\n\n\nDavid Plowman (2):\n  utils: raspberrypi: ctt: Fix NaNs in lens shading tables\n  utils: raspberrypi: ctt: Fix NaNs in chromatic aberration tables\n\n utils/raspberrypi/ctt/ctt.py      |  9 ++++++---\n utils/raspberrypi/ctt/ctt_alsc.py |  7 ++++---\n utils/raspberrypi/ctt/ctt_cac.py  | 32 ++++++++++++++++++++++++++-----\n 3 files changed, 37 insertions(+), 11 deletions(-)"}