From patchwork Fri Jul 28 07:34:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 18894 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id B8AA5BDC71 for ; Fri, 28 Jul 2023 07:34:55 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F3813627E8; Fri, 28 Jul 2023 09:34:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1690529695; bh=y4R1XwH+fLeUyd194jH8zDqtnO2/tPk5ttY32JIw/xc=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=HY7gTisijyEltMNRZBC4t18uu0MSWZLjxbsKlkPTAwtZRZm6cbNsUyYrxWxbIfmMs L1kUEYbGgre+zuw1QE0CtpBbRKP6GSjJbWZ1yAHnyxpbWMEWfqr1FZraTOPRYatiLX Unl1CfTtiHepsHy2JkgJWyHg0b1YLaqN+oKBDrHhfM9HgOUiODgUPM2uHrNAUFuyVO mkv1r5+4nIe0DfMEbRUVLcdZCeFZbdGQ26l5brG9bwkHRXmJRrArGVJhqGgtx/9BVO svz19I1fTgc/3LSa6FZabOkCQ5Ce1r5aNQbGQBBhLEmqWlSvrQ16bclny2pzTfz/o0 Y7M+6VtF2whoA== Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 14AB661E20 for ; Fri, 28 Jul 2023 09:34:52 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="RHKt7zS0"; dkim-atps=neutral Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-c5f98fc4237so1595092276.2 for ; Fri, 28 Jul 2023 00:34:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1690529691; x=1691134491; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FWMSuvOfKZJCcxY4lduFwOLLwWOfMHmTc/PSc70dk94=; b=RHKt7zS07Ra93ESyDwvXCY8gHY1YFN1gH6Nn7535FBaGeLlPEpEVv6W6o94KE7AY3X edJQdalre3OK+2DB26g3MAcqTL7g5wSp1Kk8CDv3yUL/2pLZB5CjFwCXjYp/j0nUQI5H 1rjcsATPKHuGSWdBhe72uxRWS4gxcRvAHRx89x0NiZzFz2VT7TL+7qq2C388vCTPtLmW esuyfyuw2Ai1OKWhaKlbqDz9YDgvFsmMJWehHg/860tVsF/1PH3+iPYqZJMGqQr+fKTN nSWtfHY1iBVI1cf2rqxSBlMuM559f1CQL6pv621ZABvf+wCleLJr/crmDpQjToqpOvsf 16Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690529691; x=1691134491; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FWMSuvOfKZJCcxY4lduFwOLLwWOfMHmTc/PSc70dk94=; b=hN4LbWKwp7MzgZpILzJlrLGY76Ngh1Vcg7OCTkVNYZh5epY0/y+fzC9X/gujxCGrFN u/u7xfqS1MFSWyqPouru2KhPc0CpLRalbtzxef2WVQRIFkH3MxWdJhEgNNWOpsewD1ay AF75dymZ6j4c+byrcGV6XWG82lR5SYPCfSDJvy0kX45aI9yERE+idq9Nn1cYGjcLxbQF PdtHgdFnhIlgSQ6mOUQzDysF2tEk4DHxXxE/onMvLKupw/CzW6rL7YbGyPBeAuFm7LgN qx/6naPq/9Jn5WI2/zVtUuwpzj9uP8CyAoQ+dibn0JVfEada0opBrVKQPySODP4251PI 04PA== X-Gm-Message-State: ABy/qLYAFrnf6PsVM9OJ0NJWuTXyrfgOl0ItuRIzKNpBoWoyahNjeMOe WZxo0IRzmYeLAKCd4Uwuxf+fEbMInm7+CVmnYSXyEg== X-Google-Smtp-Source: APBJJlEbsM3jO9pHJlwdxr3iBC6m2RShrLobMoL1KyquNBMpiCBqDQpaAixqqV4BZhAK4tHkpj7XTpG/kd0KVIVHtB4= X-Received: by 2002:a81:83ce:0:b0:56d:34:893c with SMTP id t197-20020a8183ce000000b0056d0034893cmr1187671ywf.4.1690529691622; Fri, 28 Jul 2023 00:34:51 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 28 Jul 2023 08:34:44 +0100 Message-ID: To: Kieran Bingham , libcamera devel Subject: [libcamera-devel] [GIT PULL] Raspberry Pi CCM improvements X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The following changes since commit a2eadc40a78f73410d2dcf76a24313a83a1c51c8: ipa: rpi: common: Handle AEC/AGC flicker controls (2023-07-25 10:21:11 +0100) are available in the Git repository at: https://github.com/naushir/libcamera.git for you to fetch changes up to 09dd65442b62f4069189f7a92f2b224687257e52: utils: raspberrypi: ctt: Code tidying (2023-07-28 08:32:40 +0100) ---------------------------------------------------------------- Ben Benson (3): utils: raspberrypi: ctt: Improved color matrix fitting ipa: rpi: vc4: data: Updated color matrices for RPi Cameras utils: raspberrypi: ctt: Code tidying src/ipa/rpi/vc4/data/imx219.json | 66 ++++++++++++-------------------- src/ipa/rpi/vc4/data/imx296.json | 160 +++++++++++++---------------------------------------------------------------- src/ipa/rpi/vc4/data/imx477.json | 93 ++++++++++++--------------------------------- src/ipa/rpi/vc4/data/imx708.json | 139 ++++++++++--------------------------------------------------------- src/ipa/rpi/vc4/data/imx708_wide.json | 49 ++++++++++++++---------- src/ipa/rpi/vc4/data/ov5647.json | 66 ++++++++++++-------------------- utils/raspberrypi/ctt/colors.py | 30 +++++++++++++++ utils/raspberrypi/ctt/ctt_ccm.py | 258 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------- utils/raspberrypi/ctt/ctt_visualise.py | 43 +++++++++++++++++++++ 9 files changed, 440 insertions(+), 464 deletions(-) create mode 100644 utils/raspberrypi/ctt/colors.py create mode 100644 utils/raspberrypi/ctt/ctt_visualise.py