{"id":18517,"url":"https://patchwork.libcamera.org/api/1.1/patches/18517/?format=json","web_url":"https://patchwork.libcamera.org/patch/18517/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20230331081930.19289-11-dse@thaumatec.com>","date":"2023-03-31T08:19:30","name":"[libcamera-devel,v6,10/10] ipa: rkisp1: Add OV5675 tuning file","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"3988bf3aa7730dceb9ccd3aa227f56fba115e22f","submitter":{"id":126,"url":"https://patchwork.libcamera.org/api/1.1/people/126/?format=json","name":"Daniel Semkowicz","email":"dse@thaumatec.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/18517/mbox/","series":[{"id":3831,"url":"https://patchwork.libcamera.org/api/1.1/series/3831/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3831","date":"2023-03-31T08:19:21","name":"ipa: rkisp1: Add autofocus algorithm","version":6,"mbox":"https://patchwork.libcamera.org/series/3831/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18517/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18517/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 1C008C32A3\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 31 Mar 2023 08:20:02 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 713AE627B7;\n\tFri, 31 Mar 2023 10:20:01 +0200 (CEST)","from mail-lf1-x129.google.com (mail-lf1-x129.google.com\n\t[IPv6:2a00:1450:4864:20::129])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E2DA762750\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 31 Mar 2023 10:19:52 +0200 (CEST)","by mail-lf1-x129.google.com with SMTP id k37so27939751lfv.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 31 Mar 2023 01:19:52 -0700 (PDT)","from localhost.localdomain ([91.90.166.178])\n\tby smtp.gmail.com with ESMTPSA id\n\tt1-20020ac24c01000000b004e84a8c3d86sm281459lfq.42.2023.03.31.01.19.51\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 31 Mar 2023 01:19:51 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1680250801;\n\tbh=x0R9Qqic00qgo35ORUHPibHmiHSvzEH9VdtJbsiB1p4=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=Dv2MVC47pNYqgu6uTjfS3GgCG834P2LNBmf4JgaCKFxR0nsJ314znXf27OMbDFmt9\n\tcPRFKUJWbXLwDA5Zbr1eUo3cKvEtTxlnJYzETc/FMVD2Dry8CA64RGcyZNF5lEZu29\n\tyBJaRTxD4+taQOuCqItPC4iQIEJZlCvLolwtpKgTPs1RCDX2uiuOtuqZQZdcZTH6Oh\n\tsF6oZ1gba4jdX1RtaoY1Km/ZNIs6WkTlmoKbrotfcWERf8B2POKGq5xEy2sZchhQzC\n\tqv4Gio8+mdB8Ev5gSZy0V2QN1YednaH9w0YdBmzVbCmrcJFYPXU7bSWSpKIk5bCABi\n\tvuAQVqDsvIjdg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=thaumatec-com.20210112.gappssmtp.com; s=20210112; t=1680250792;\n\tx=1682842792; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=mLZm2INCozHNI1ySEb1DUhlrc5wmxjKjFeWdt7Y767s=;\n\tb=HIPOzk4J9jgaLPj8sKU6nEuU/l/JBOBUR+D0OHXoNsCYuHpBKgX4M4/Ln54DTezRoz\n\tWucav2oOBVJuPCk7KEJnDzpkBU8bESkScc0q1wRUWtTUN829wt/f0oQN6DQd1kdfyWau\n\tUCUf8RZdZV4tpf0VTlq04zZJ3GYc9ysw6rxqWXw6YMVqBMlIojEteZSq6b1Hyb4D0JsR\n\tOpI86REYlDztYu9iQXo2GZnI66uowAnd8RlyfPh+Y65aEX9hz8rXl1GKPDiYgF98eALX\n\tGg0b+IpgYJHqn3TUYoiMkSuKjUPkdUxFEkQ9Mqr5e7oUk9V7ymL+w1gvrLNIVdb5Ggb9\n\tR/QA=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=thaumatec-com.20210112.gappssmtp.com\n\theader.i=@thaumatec-com.20210112.gappssmtp.com header.b=\"HIPOzk4J\"; \n\tdkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112; t=1680250792; x=1682842792;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=mLZm2INCozHNI1ySEb1DUhlrc5wmxjKjFeWdt7Y767s=;\n\tb=4+LEi1ijcY+KrmhoWkGC9RG5qDva7w7RX/oVC+A/rtCJDMpEoIB1sPg3StHnGsoKZi\n\tZ74ZhUIx+zItyPwZC/ZxKiNV/3luBf45Fs67dsUQyiTHdjjeDm42q36AaT0qOqLP2NhH\n\tCBYErTvwZD+ak2+o52H1RTiJxkLAd6ONx/WzgEB36R8QHDkAqtjGXwiNd1UA0Y44t0zF\n\t9GNhfMi54Jd8wGIqx5vtthpzdEGA0OEVU3CGrXHrad+dZV1cSBSEhN4kxHH8fl0U2Nap\n\tUAqywrdae/KGrdFox1XMSoB1HeZrXcMumfupDb8aFd+g+8EZdsuEvoaiE9IrM4ZLRcHR\n\tEEmA==","X-Gm-Message-State":"AAQBX9fNqa+xmhYUQPCTF21lZ6Ip7jKeXZfewYBg7x2zWy1InPFTXIGj\n\t2g2rkMjapa2GPJ53aFYuwiaVJEOokWZWhfkbmUEyxQ==","X-Google-Smtp-Source":"AKy350a4vEpmdXQ6PA+E/udb6YlnoSkaqyZYA3BT+3ZfV18rsoe17uvg7JVVywJMBwEhNl0nqkV5gA==","X-Received":"by 2002:a19:f51a:0:b0:4bb:9415:38a2 with SMTP id\n\tj26-20020a19f51a000000b004bb941538a2mr7291186lfb.51.1680250792241; \n\tFri, 31 Mar 2023 01:19:52 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 31 Mar 2023 10:19:30 +0200","Message-Id":"<20230331081930.19289-11-dse@thaumatec.com>","X-Mailer":"git-send-email 2.39.2","In-Reply-To":"<20230331081930.19289-1-dse@thaumatec.com>","References":"<20230331081930.19289-1-dse@thaumatec.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v6 10/10] ipa: rkisp1: Add OV5675 tuning\n\tfile","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":"Daniel Semkowicz via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Daniel Semkowicz <dse@thaumatec.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add the OV5675 tuning file with default values and enabled AF algorithm.\n\nSigned-off-by: Daniel Semkowicz <dse@thaumatec.com>\n---\n src/ipa/rkisp1/data/meson.build |  1 +\n src/ipa/rkisp1/data/ov5675.yaml | 18 ++++++++++++++++++\n 2 files changed, 19 insertions(+)\n create mode 100644 src/ipa/rkisp1/data/ov5675.yaml","diff":"diff --git a/src/ipa/rkisp1/data/meson.build b/src/ipa/rkisp1/data/meson.build\nindex f5e9fa75..1fdce2c9 100644\n--- a/src/ipa/rkisp1/data/meson.build\n+++ b/src/ipa/rkisp1/data/meson.build\n@@ -4,6 +4,7 @@ conf_files = files([\n     'imx219.yaml',\n     'ov4689.yaml',\n     'ov5640.yaml',\n+    'ov5675.yaml',\n     'uncalibrated.yaml',\n ])\n \ndiff --git a/src/ipa/rkisp1/data/ov5675.yaml b/src/ipa/rkisp1/data/ov5675.yaml\nnew file mode 100644\nindex 00000000..4f3da897\n--- /dev/null\n+++ b/src/ipa/rkisp1/data/ov5675.yaml\n@@ -0,0 +1,18 @@\n+# SPDX-License-Identifier: CC0-1.0\n+%YAML 1.1\n+---\n+version: 1\n+algorithms:\n+  - Af:\n+      coarse-search-step: 30\n+      fine-search-step: 1\n+      fine-search-range: 5\n+      max-variance-change: 0.5\n+      wait-frames-lens: 2 # tuned for 30fps stream\n+      isp-threshold: 128\n+      isp-var-shift: 4\n+  - Agc:\n+  - Awb:\n+  - BlackLevelCorrection:\n+  - ColorProcessing:\n+...\n","prefixes":["libcamera-devel","v6","10/10"]}