{"id":18453,"url":"https://patchwork.libcamera.org/api/patches/18453/?format=json","web_url":"https://patchwork.libcamera.org/patch/18453/","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":"<20230324142908.64224-11-dse@thaumatec.com>","date":"2023-03-24T14:29:08","name":"[libcamera-devel,v5,10/10] ipa: rkisp1: Add OV5675 tuning file","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"3988bf3aa7730dceb9ccd3aa227f56fba115e22f","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/18453/mbox/","series":[{"id":3813,"url":"https://patchwork.libcamera.org/api/series/3813/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3813","date":"2023-03-24T14:28:58","name":"ipa: rkisp1: Add autofocus algorithm","version":5,"mbox":"https://patchwork.libcamera.org/series/3813/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18453/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18453/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 1CDF5C0F2A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Mar 2023 14:29:41 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8BB6362711;\n\tFri, 24 Mar 2023 15:29:40 +0100 (CET)","from mail-lj1-x232.google.com (mail-lj1-x232.google.com\n\t[IPv6:2a00:1450:4864:20::232])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 085956271E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Mar 2023 15:29:30 +0100 (CET)","by mail-lj1-x232.google.com with SMTP id q14so1895978ljm.11\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Mar 2023 07:29:29 -0700 (PDT)","from localhost.localdomain ([91.90.166.178])\n\tby smtp.gmail.com with ESMTPSA id\n\tj21-20020a2e8515000000b002a10b2ea089sm981714lji.16.2023.03.24.07.29.29\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 24 Mar 2023 07:29:29 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1679668180;\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:Cc:\n\tFrom;\n\tb=McmKE/NFjsTvPaGR/ERP7mcURXkMKxb493NTaP+9wLiZbV4KJkjiUgdyvHDJ2yJ89\n\tMwA/FjbDS0P8drFQ8kc+6W1pW8JmxakormOvZN7WMfQzm4semC4f6i26HNszMlI58P\n\tFZT1Bji4qQo1IKSs4tu8YaCt/42edkZcVGQ++82KiP80kvUcbpinXtQ1rY0MxvXoF3\n\tGGmIOBpSDGvSpoafygcGteH+8/uqwjdRNS5Q1rxOkoVA/kY4Zd6AN28i6nooxisKlm\n\tJLEHejv5OHmzKTBC9ryb28fy/Gj1ASPJPaE1Sv0LraJQhbt1Fe7eLS3CJ55YNA6FgJ\n\tg2N04V7/seXtw==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=thaumatec-com.20210112.gappssmtp.com; s=20210112; t=1679668169;\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=wdVEAVo+cztgty4dtTeEo+b0NnAFkoNvIj46aj0hViqWa0kgr3BK3XIIu4JuJm+uy2\n\tgxKfzuG7940ebE7hLw4FftJlUOm/HKKwA/686W64xhbedLtmqfffiotQAxKrLivNWy1+\n\ttZpbPc9TqVysn3UhqIYsp0XbXFfqTHWwslDOCoMNaThLUAdWlIaY+r9Akl4/LT2/c+DW\n\tz5htgMdilx7HxOtv+EsUdWEbd4zsfPu8sxKqEs9tStIeN9son8jgvY7+cfLawSVBbYQV\n\tKKibRLGjH7nJn4mkTKjK2kuk+VzKLdEg+roiZQ/jDlM0tF1+TKnUCgI82ma5O/Rs/4dQ\n\tHx7Q=="],"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=\"wdVEAVo+\"; \n\tdkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112; t=1679668169;\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=7Lmv802qZXTzRDZetB2O89hlcftfdoqv4O8M06UmmZKdsPjKTWrSCGVxCmXVSzSl5d\n\tleh88vf++wtpHqnQO0V1OHKKY0ZMzP79deqFWMydt1NU/c6EiXsQJlua/jFQLGB+smRe\n\tD6O8BYMw737M3b/lkgn12tiRUYKSG2x6VkFeM/F+u6X/CKvfWQTOrrEBMDMp5B6R9yqk\n\t43fNbAShGH4LX/4MyNLhE9488yQp0vcevkfb2187MwbO/IiMxe5jcbHpXnyd8l/xxOtL\n\t6TWkrdU5Oamh/xh1AEz90LIOcot/JJylE8N7ClmNVM6zAfcq1jf3Z6Pg8M6aqz42G5Kk\n\t573Q==","X-Gm-Message-State":"AAQBX9cSjk+wKxiBSGXUZGzsfLNfEcuZbyXRswVK5BEPF5yy9Htne4D9\n\tj5MKURKSd2qJAL7olwu1tHJC4II2Gdd3XeO7aH4=","X-Google-Smtp-Source":"AKy350awm22/yAVob52IjRSSMFj8SOvnhTWzKLhkftJo1gdXk1jcRW8JKqvIQIbmdl5ohPGEHGPAGA==","X-Received":"by 2002:a2e:94c5:0:b0:29c:9223:2f6b with SMTP id\n\tr5-20020a2e94c5000000b0029c92232f6bmr910984ljh.30.1679668169441; \n\tFri, 24 Mar 2023 07:29:29 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 24 Mar 2023 15:29:08 +0100","Message-Id":"<20230324142908.64224-11-dse@thaumatec.com>","X-Mailer":"git-send-email 2.39.2","In-Reply-To":"<20230324142908.64224-1-dse@thaumatec.com>","References":"<20230324142908.64224-1-dse@thaumatec.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v5 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>","Cc":"jacopo.mondi@ideasonboard.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","v5","10/10"]}