From patchwork Thu Jan 19 08:41:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Semkowicz X-Patchwork-Id: 18147 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 9ADE3C3294 for ; Thu, 19 Jan 2023 08:42:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 400C2625E7; Thu, 19 Jan 2023 09:42:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1674117745; bh=GIMpXaryP7znzBiZXQMH5sz0PRMIQ+ST6Rz0P8qjbNo=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=rMTfl4IlurC68P6OtV8L81swoiyAqUEWWMlxK0wk/LMp0wqrr7tWL/U57eW8F5ZIk KT35pB3qnehzXBuCuOYHnkRQTJFJqnFNvibUZNMTXlBHdoko6pvGAj2uJpQUl1r6m6 o8bQdZRu74YWW6qVkozwLjf3hcOR5qq4+XXVH4mWFGjUMb1r8iLlGajsnCCAQA0BpJ NQL8GVjEy1EkAV0j5MPav5U2O9nwIxy5XSkuB0B0iTwpB+wk9o+o5qvFjzsOPNmRCQ bgBVCLwwS8qDcOaZmHVbqZPbQn4nLcznAtBYdA9EVN4SWEG//5bzn3IzDhLnZa3hUm HTUD6vrCSkBbg== Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C255A625E4 for ; Thu, 19 Jan 2023 09:42:14 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=thaumatec-com.20210112.gappssmtp.com header.i=@thaumatec-com.20210112.gappssmtp.com header.b="6EWTIpPk"; dkim-atps=neutral Received: by mail-wm1-x32e.google.com with SMTP id k16so915206wms.2 for ; Thu, 19 Jan 2023 00:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thaumatec-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rnBHv/p55smbyokZqUcRz3Y27DY7OeF7uOKvhY6JMak=; b=6EWTIpPkv4FVxtkfSj2vytZmPUoEI0ytVRB1lmGJBuTXoUIqqC3p/ttu0D3ArCdHA7 GG1w366uDlPNnz7wLOheagYmf9LUfXe406756iK9FSeCQLfGQqC4A0xDsdwGmdj1O+B9 l6it9sCP5mk1ZDR93HEczd3AuegrcTeWk/ncEjpc9c2p3VJgQ4+MF7d5KxUGNawcf6k4 khJPV9VMAzhrT+EvZ37fv0soXem/TO+mXP4sKSXXmCx6F0FHnrFaLqZ2NjzurFzfSPvc otBWTP6cSl8epKm/pmu3LVeqD6U2uBsKJyHz63g6mNl1ScCqYL06yf6YCyqc/VHxcDTc Y//w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rnBHv/p55smbyokZqUcRz3Y27DY7OeF7uOKvhY6JMak=; b=AC+XlDw8sUqx4Mj9E3/hSWei7Wo/LL8jw9tMDBJRB3weX+ehQgqYWJ6kbSO1mXWN5J 0ty//porQywvfzqYteaKOpv2kH4tYyL6jWQ9XnJzTuzGa0bRQ2lek4I/lRMDKc3spXhn eJSoy80MwfndZJtMToWJK+no/1GXRvZ4QOBxFh4yfnp4zslUJdX9f2r/SsOCeEjNDmnv dBiEWg+DvSn1xqS4ALPmd4ini4/O6DWNI75U9II2vIHhIH17bftVRdgHeiI1OGk/Gg3M 4eAgEKP9mLPNLGYnCmdCYJ6FEELAQmhVIvap6102DZPn7ioan27eICCDjpWKukcc2ZOS k2eA== X-Gm-Message-State: AFqh2krTXj0mw/M8xT8JYWIZfmJB8GIc1zic34YrxqpLZFO05T/H7Hif 5In0t8NY7MgYnbupivWp5ngzbX7rxkheQZahs0Y= X-Google-Smtp-Source: AMrXdXuJe0NhWL4znwyrF4ozydXcCCFqw4Yg5pQ/2FkrfASnCQYcqVDX5O9hjalHWysPPA2sO59yQw== X-Received: by 2002:a05:600c:35c1:b0:3db:1424:e781 with SMTP id r1-20020a05600c35c100b003db1424e781mr4717650wmq.23.1674117734103; Thu, 19 Jan 2023 00:42:14 -0800 (PST) Received: from localhost.localdomain (ip092042140082.rev.nessus.at. [92.42.140.82]) by smtp.gmail.com with ESMTPSA id j10-20020a05600c074a00b003db0ee277b2sm3935754wmn.5.2023.01.19.00.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 00:42:13 -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 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Daniel Semkowicz via libcamera-devel From: Daniel Semkowicz Reply-To: Daniel Semkowicz Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add the OV5675 tuning file with default values and enabled AF algorithm. Signed-off-by: Daniel Semkowicz Reviewed-by: Jacopo Mondi --- src/ipa/rkisp1/data/meson.build | 1 + src/ipa/rkisp1/data/ov5675.yaml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/ipa/rkisp1/data/ov5675.yaml diff --git a/src/ipa/rkisp1/data/meson.build b/src/ipa/rkisp1/data/meson.build index c3b4e388..03d71cbf 100644 --- a/src/ipa/rkisp1/data/meson.build +++ b/src/ipa/rkisp1/data/meson.build @@ -3,6 +3,7 @@ conf_files = files([ 'imx219.yaml', 'ov5640.yaml', + 'ov5675.yaml', 'uncalibrated.yaml', ]) diff --git a/src/ipa/rkisp1/data/ov5675.yaml b/src/ipa/rkisp1/data/ov5675.yaml new file mode 100644 index 00000000..2c088d18 --- /dev/null +++ b/src/ipa/rkisp1/data/ov5675.yaml @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: CC0-1.0 +%YAML 1.1 +--- +version: 1 +algorithms: + - Af: + min-vcm-position: 0 + max-vcm-position: 1023 + coarse-search-step: 30 + fine-search-step: 1 + fine-scan-range: 0.05 + max-variance-change: 0.5 + wait-frames-lens: 2 # tuned for 30fps stream + isp-threshold: 128 + isp-var-shift: 4 + - Agc: + - Awb: + - BlackLevelCorrection: + - ColorProcessing: +...