From patchwork Thu May 5 14:14:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 15797 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 4B8D8C0F2A for ; Thu, 5 May 2022 14:15:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A57AF60424; Thu, 5 May 2022 16:15:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1651760119; bh=c1xg0cKPg/RzLQTnPICIdTjXhFsoUhl8AVqv22LwR6E=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=XSieN7b8ZWeCv0ahRYmxAaLNrr1DSECybLq58VSSrCf/G2Hq1FUkExgTScEz76K7z Is+36cNiMehhkV+bGPlK04nMc0t44i6QtictmPULoYf1Hf8kvqaLVknpFWRniOpWAZ ZdJcVPcu1Gzr+e0dNS2QTqlw1qFy7Cz75hdx/MDR5IPSwfaTdbb+TN7gN/PWkuJy9a DDX3OsTHX7SyMUs8tPVVHxKbG/oPaaoMQug6AnOEjR6xfHDnCL2f4+fZvZehrhcrnr h8BQr0CX6oRY+q/i2d9XNou82tzI+b2b0oVNPNd9jzmkZA9POaYMLcjFSlInIORIOQ +8nvGmld0Rjdg== 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 B8C6E603AB for ; Thu, 5 May 2022 16:15:17 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="pcIKwoxs"; dkim-atps=neutral Received: by mail-wm1-x32e.google.com with SMTP id 125-20020a1c1983000000b003941f354c62so2743721wmz.0 for ; Thu, 05 May 2022 07:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+e3BnlSsN62vdZLbxvJbPENvV9Eb3HaUu5uqNxCcybA=; b=pcIKwoxsWHQwl4XnsZutItK5uVBkfqIrPOI6oLDfaViQiAsFIs2e4tSVYXtW63t9hJ /K2JUysMCKtnNyX2nLG1vkqQ1WFvgaJNyyFg62ppYf7RTTzLRQH0r/KUUSDmv5BoWytY E5uQBh41NCe2x7TLg42+CcqgyAEhQv+6XEBMxP+ORu6xHrIQZeXTko1fXRJg51i6JTfE kBMFaLzoRSMvrpiZ6onlrsD/5cipQAZGTuZQSDyk6kHjSSAR8o9NgJ9GnMDAoz6DINV9 HixMvFzbhascu8BoK1Dn2Ej/h9kCk0ULOXC4WLVfZLbMtOBRe9ExOeifcZebP/kf3e7B 0Yhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+e3BnlSsN62vdZLbxvJbPENvV9Eb3HaUu5uqNxCcybA=; b=3KmL2npS3H3ZuKnKqAXOCZf37Vg1/6jilqgLLttUIvOgCehuUovCQnxItt8VdWMi6v x9c7ROsB5aUXha1Swvsqbl09T4jZSHPcfuv9djmPVu+k6Z45YE9bfFWxIPuQz1yigQST 55KOWlRttbsJXVlNzFl5S6u+I6MmcFZcTFa5VkyKrQWsP9yzceplI7N+7Wx5Z5FRujvm U47H6YlD1r+B6A/O1tkkLF+2TuKeTyM/g6bnqhiKJRLX3o5CJWWR2IwbRsXzMwOv88cd eP3Hcs7413ycvZJK+gAKZ7kwgcOPar88TvOdqMi6yKvZ0dtxDONZebfQgCiUyyplXD5d 7iIA== X-Gm-Message-State: AOAM533PnpG+lMH5rW1W27iXT5hTt650ogTyg7dDeXezCHcRk0SbsHBz s55lQ37Xd8RAK3oetiKt9pS7ncgJ1FsXFW0+ X-Google-Smtp-Source: ABdhPJy8yiIUGZVU8+iMy0P3hrMRO/y4iEZJnNxVmDLOmDgp559MU3ngncidLhjzACHPrfsXJIOXAg== X-Received: by 2002:a05:600c:2249:b0:393:fac7:476b with SMTP id a9-20020a05600c224900b00393fac7476bmr5134503wmm.151.1651760117276; Thu, 05 May 2022 07:15:17 -0700 (PDT) Received: from pi4-davidp.pitowers.org ([2a00:1098:3142:14:e4a2:3070:eea4:e434]) by smtp.gmail.com with ESMTPSA id i18-20020adfb652000000b0020c5253d8c4sm1374371wre.16.2022.05.05.07.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 07:15:16 -0700 (PDT) To: libcamera-devel@lists.libcamera.org, Jacopo Mondi , Han-Lin Chen , Jean-Michel Hautbois , Kate Hsuan Date: Thu, 5 May 2022 15:14:59 +0100 Message-Id: <20220505141500.9064-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/1] AF controls 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: David Plowman via libcamera-devel From: David Plowman Reply-To: David Plowman Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi everyone Here's version 4 of the AF controls. As usual, most stuff is unchanged from last time except for: 1. There's a new AfMetering control which determines whether to use the AfWindows or something else. This is partly so that the algo can choose grids if it wants, and might be helpful to applications that simply don't want to bother ("I don't care, just work!"). 2. The AfWindow units are defined to be pixels within the ScalerCropMaximum rectangle, and they won't change if an application changes the ScalerCrop control. Thanks again, hopefully we're getting near the finishing line! David David Plowman (1): libcamera: controls: Controls for driving AF (autofocus) algorithms src/libcamera/control_ids.yaml | 345 +++++++++++++++++++++++++++------ 1 file changed, 285 insertions(+), 60 deletions(-)