From patchwork Thu Mar 10 12:05:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dufresne via libcamera-devel X-Patchwork-Id: 15436 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 0EA7BBE08A for ; Thu, 10 Mar 2022 12:06:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 44F46604E9; Thu, 10 Mar 2022 13:06:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1646913964; bh=6J7qPfRD+GgpbrYzNrXWDAEBI9NH7dmGYXDuUBHwcuI=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=m0MYcdZF7ve9/ICw+OivgqBUZX9XSDVYxYmROSoislH5mTGbZGMBqpmHvuBPpyJk/ qLeQ6oAmBEqG92xDVxx5BX2fcQuRjrx4DFpx3c3JEj/5bCcnhelWy88KotEbgg2Fft Bhf/RJZiBUz9FMFOgREwO4avsrpg38Tnug2GA5HmXAPiOjAam3UwSOqR2v7PK8gbwx 6SNNmWdOhEqoMg1InwKWkkKU3W1Q5QyUkYUIOEBH6c/7s+nRaXy0Q6Wfd2kXxRnDNS IiplkLD9FvHo6S717Vdj56I77aF95Q34t1O4E3W+iXNYZTH6gB4Aa+hWfltBm1pDY3 cxwQ3zg1KKtmA== Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5F01A601F5 for ; Thu, 10 Mar 2022 13:06:02 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="XrweRFmI"; dkim-atps=neutral Received: by mail-wr1-x42b.google.com with SMTP id p9so7565535wra.12 for ; Thu, 10 Mar 2022 04:06:02 -0800 (PST) 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=uIP12HKP39ERfKVxI1XfZsSO54BZ8zIqwsUEKeHeN6s=; b=XrweRFmI25rzUpeb/fl2hM9HbZ6fuk/VQOfbGAXe/2JsqNo3AnytF1bDc7Yar2WQEn bdRvs3soC631dgVDSIZPWvNbcotQ4nr3MXOxSOdaLzOO894T1Dc7RDU9jlbsAccKIueR vck+xzoBTd1Z8agcirA0hdd3zCVhS1e0c+DtqYfV47hvr56WzX8CL2TK1DVmFJbN0/55 +xNAaziYxPRXiRIM6G9MXyzVREdSMX/RFEMOxgIDr/hO0TA4i5+OF3ZJt4RUKCmBkxL1 j/Qa3RVO1ZtTzLbpl8ITMsGQ2CUa2WrEs9+NQoYCxS6RVyMifvpTAC1aBr08OaYcE52g qyRA== 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=uIP12HKP39ERfKVxI1XfZsSO54BZ8zIqwsUEKeHeN6s=; b=LZZWiQYrOQ/qQgIbjoTM3vvY8R+CHISPwp6TFf3mlGKMj75tEiVkZkfUxEWsWBgmqo Nzy3BOD3AidByyQx6O/9BE1YgTEzfwj0TMEBKVmPMvp8a5SXbdI7r3xqhs4pMCU+U5a+ 4tYekgcBH2b3KvYa452s8RydErlhCXiFHQiUc7HetGSLDJ0a4IENQJ0REt4+U80SCYAC Y4H2E6Ej8hBcLlNCyUL9XYhpH/4g4s/eVnpKAIYxyv4dD5Y80lRF+c1VCvWyTRdv2Lgx iha1qJMe0rqCC+Sg306eTwrlp094XD9+mS3Ax82YXPoH7QAfRrCZz9tduP/7Ewu5pLpz k4Eg== X-Gm-Message-State: AOAM531HMIt1Whrvbekce/CRSgjfD2/k86MqPtbxo3G3J/QOYXgrOiPV owm0vkD3dfrdH1amDnmT9haNRZJSvqh3kg== X-Google-Smtp-Source: ABdhPJy8SCf4Bqcz8yPPMOQ9Na2BBTl1EU+eG0tbqIjtlWJwPRbEV0lAiRG71udX1E4jiYpsj9CYUA== X-Received: by 2002:a05:6000:18ae:b0:1f1:f7f8:5a4d with SMTP id b14-20020a05600018ae00b001f1f7f85a4dmr3247377wri.43.1646913961753; Thu, 10 Mar 2022 04:06:01 -0800 (PST) Received: from pi4-davidp.pitowers.org ([2a00:1098:3142:14:e4a2:3070:eea4:e434]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm5399161wmb.3.2022.03.10.04.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 04:06:01 -0800 (PST) To: libcamera-devel@lists.libcamera.org, hanlinchen@chromium.org, hpa@redhat.com Date: Thu, 10 Mar 2022 12:05:39 +0000 Message-Id: <20220310120540.15296-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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: Nicolas Dufresne via libcamera-devel Reply-To: David Plowman Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi everyone Here is a first non-RFC version of the proposed AF (autofocus) controls. There's been quite a bit of discussion already at the RFC stage, most notably the introduction of a manual mode, aimed at making integration with Android easier, and an explicit control for pausing CAF (continuous autofocus). I also removed the AfMethod control as it seems redundant, though I still wonder slightly if some platforms might have alterative ways of handling multi-spot AF. It's quite possible that I've forgotten to incorporate some suggestions that were made previously in which case I apologise - please point them out to me again! Further suggestions and discussion are of course most welcome! Thanks and best best regards David David Plowman (1): libcamera: controls: Controls for driving AF (autofocus) algorithms src/libcamera/control_ids.yaml | 271 +++++++++++++++++++++++++-------- 1 file changed, 211 insertions(+), 60 deletions(-)