{"id":18147,"url":"https://patchwork.libcamera.org/api/patches/18147/?format=json","web_url":"https://patchwork.libcamera.org/patch/18147/","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":"<20230119084112.20564-9-dse@thaumatec.com>","date":"2023-01-19T08:41:12","name":"[libcamera-devel,v3,8/8] ipa: rkisp1: Add OV5675 tuning file","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"c4d24a71addc10798036c0472fbcd417b144299a","submitter":{"id":126,"url":"https://patchwork.libcamera.org/api/people/126/?format=json","name":"Daniel Semkowicz","email":"dse@thaumatec.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/18147/mbox/","series":[{"id":3714,"url":"https://patchwork.libcamera.org/api/series/3714/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3714","date":"2023-01-19T08:41:04","name":"ipa: rkisp1: Add autofocus algorithm","version":3,"mbox":"https://patchwork.libcamera.org/series/3714/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18147/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18147/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 9ADE3C3294\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 19 Jan 2023 08:42:25 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 400C2625E7;\n\tThu, 19 Jan 2023 09:42:25 +0100 (CET)","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 C255A625E4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 19 Jan 2023 09:42:14 +0100 (CET)","by mail-wm1-x32e.google.com with SMTP id k16so915206wms.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 19 Jan 2023 00:42:14 -0800 (PST)","from localhost.localdomain (ip092042140082.rev.nessus.at.\n\t[92.42.140.82]) by smtp.gmail.com with ESMTPSA id\n\tj10-20020a05600c074a00b003db0ee277b2sm3935754wmn.5.2023.01.19.00.42.13\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 19 Jan 2023 00:42:13 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1674117745;\n\tbh=GIMpXaryP7znzBiZXQMH5sz0PRMIQ+ST6Rz0P8qjbNo=;\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=rMTfl4IlurC68P6OtV8L81swoiyAqUEWWMlxK0wk/LMp0wqrr7tWL/U57eW8F5ZIk\n\tKT35pB3qnehzXBuCuOYHnkRQTJFJqnFNvibUZNMTXlBHdoko6pvGAj2uJpQUl1r6m6\n\to8bQdZRu74YWW6qVkozwLjf3hcOR5qq4+XXVH4mWFGjUMb1r8iLlGajsnCCAQA0BpJ\n\tNQL8GVjEy1EkAV0j5MPav5U2O9nwIxy5XSkuB0B0iTwpB+wk9o+o5qvFjzsOPNmRCQ\n\tbgBVCLwwS8qDcOaZmHVbqZPbQn4nLcznAtBYdA9EVN4SWEG//5bzn3IzDhLnZa3hUm\n\tHTUD6vrCSkBbg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=thaumatec-com.20210112.gappssmtp.com; s=20210112;\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=rnBHv/p55smbyokZqUcRz3Y27DY7OeF7uOKvhY6JMak=;\n\tb=6EWTIpPkv4FVxtkfSj2vytZmPUoEI0ytVRB1lmGJBuTXoUIqqC3p/ttu0D3ArCdHA7\n\tGG1w366uDlPNnz7wLOheagYmf9LUfXe406756iK9FSeCQLfGQqC4A0xDsdwGmdj1O+B9\n\tl6it9sCP5mk1ZDR93HEczd3AuegrcTeWk/ncEjpc9c2p3VJgQ4+MF7d5KxUGNawcf6k4\n\tkhJPV9VMAzhrT+EvZ37fv0soXem/TO+mXP4sKSXXmCx6F0FHnrFaLqZ2NjzurFzfSPvc\n\totBWTP6cSl8epKm/pmu3LVeqD6U2uBsKJyHz63g6mNl1ScCqYL06yf6YCyqc/VHxcDTc\n\tY//w=="],"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=\"6EWTIpPk\"; \n\tdkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\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=rnBHv/p55smbyokZqUcRz3Y27DY7OeF7uOKvhY6JMak=;\n\tb=AC+XlDw8sUqx4Mj9E3/hSWei7Wo/LL8jw9tMDBJRB3weX+ehQgqYWJ6kbSO1mXWN5J\n\t0ty//porQywvfzqYteaKOpv2kH4tYyL6jWQ9XnJzTuzGa0bRQ2lek4I/lRMDKc3spXhn\n\teJSoy80MwfndZJtMToWJK+no/1GXRvZ4QOBxFh4yfnp4zslUJdX9f2r/SsOCeEjNDmnv\n\tdBiEWg+DvSn1xqS4ALPmd4ini4/O6DWNI75U9II2vIHhIH17bftVRdgHeiI1OGk/Gg3M\n\t4eAgEKP9mLPNLGYnCmdCYJ6FEELAQmhVIvap6102DZPn7ioan27eICCDjpWKukcc2ZOS\n\tk2eA==","X-Gm-Message-State":"AFqh2krTXj0mw/M8xT8JYWIZfmJB8GIc1zic34YrxqpLZFO05T/H7Hif\n\t5In0t8NY7MgYnbupivWp5ngzbX7rxkheQZahs0Y=","X-Google-Smtp-Source":"AMrXdXuJe0NhWL4znwyrF4ozydXcCCFqw4Yg5pQ/2FkrfASnCQYcqVDX5O9hjalHWysPPA2sO59yQw==","X-Received":"by 2002:a05:600c:35c1:b0:3db:1424:e781 with SMTP id\n\tr1-20020a05600c35c100b003db1424e781mr4717650wmq.23.1674117734103; \n\tThu, 19 Jan 2023 00:42:14 -0800 (PST)","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 19 Jan 2023 09:41:12 +0100","Message-Id":"<20230119084112.20564-9-dse@thaumatec.com>","X-Mailer":"git-send-email 2.39.0","In-Reply-To":"<20230119084112.20564-1-dse@thaumatec.com>","References":"<20230119084112.20564-1-dse@thaumatec.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 8/8] ipa: rkisp1: Add OV5675 tuning file","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 | 20 ++++++++++++++++++++\n 2 files changed, 21 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 c3b4e388..03d71cbf 100644\n--- a/src/ipa/rkisp1/data/meson.build\n+++ b/src/ipa/rkisp1/data/meson.build\n@@ -3,6 +3,7 @@\n conf_files = files([\n     'imx219.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..2c088d18\n--- /dev/null\n+++ b/src/ipa/rkisp1/data/ov5675.yaml\n@@ -0,0 +1,20 @@\n+# SPDX-License-Identifier: CC0-1.0\n+%YAML 1.1\n+---\n+version: 1\n+algorithms:\n+  - Af:\n+      min-vcm-position: 0\n+      max-vcm-position: 1023\n+      coarse-search-step: 30\n+      fine-search-step: 1\n+      fine-scan-range: 0.05\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","v3","8/8"]}