{"id":15688,"url":"https://patchwork.libcamera.org/api/covers/15688/?format=json","web_url":"https://patchwork.libcamera.org/cover/15688/","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":"<20220420162622.16521-1-david.plowman@raspberrypi.com>","date":"2022-04-20T16:26:21","name":"[libcamera-devel,v3,0/1] AF controls","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/15688/mbox/","series":[{"id":3060,"url":"https://patchwork.libcamera.org/api/series/3060/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3060","date":"2022-04-20T16:26:21","name":"AF controls","version":3,"mbox":"https://patchwork.libcamera.org/series/3060/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/15688/comments/","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 ADA4CC0F1B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 20 Apr 2022 16:26:45 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E333A65645;\n\tWed, 20 Apr 2022 18:26:44 +0200 (CEST)","from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com\n\t[IPv6:2a00:1450:4864:20::42a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 52FF1604AB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 20 Apr 2022 18:26:43 +0200 (CEST)","by mail-wr1-x42a.google.com with SMTP id bv16so2975718wrb.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 20 Apr 2022 09:26:43 -0700 (PDT)","from pi4-davidp.pitowers.org\n\t([2a00:1098:3142:14:e4a2:3070:eea4:e434])\n\tby smtp.gmail.com with ESMTPSA id\n\tc12-20020a05600c0a4c00b00381141f4967sm298910wmq.35.2022.04.20.09.26.41\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 20 Apr 2022 09:26:42 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1650472004;\n\tbh=AYJSuQwbIPWcmsC/l6nZepyOABPpQeqfmAHq6LRbW30=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=3EVQVfnZ4qJezIJLt0S2CUQ9B4T6Md1RnhCU5G36faYWfMCD4QYsvoOLwJck8UfQ2\n\tWizrlBdtcMKoPiGtH15MKsqZfl3ZKXlM4ew03gEv3ROef7KlU6HXjGHpVIotkEWhjo\n\tYlLMF/bSDYPmAUqr4k+K8wotmSqC7m0S7ByJmltNRkeXkSKQWDtRAixkmYwiG4s8EU\n\tPJFSsybj4l7P2rEnrKlj4kY7HFje4WAS9fYJsW0CP9OlCC5XR7Wm4ieHIla5dYmqsG\n\tVYkQTOUyI54re1Wth1GsXozypDCo5ZEuZ8AnXZpm+rNis0/UaqGZmPwiRGIFjWSDfm\n\tP784bs4ec3g5Q==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=QxQXue6UkuG7HbOlX//yWVAT5uci9n0oEFEdSOdq0D4=;\n\tb=TBCd0nphaRJ2C55VH1JYp7IsE130LGSmG3Y+FZyZiSUfP7xWFDauwO/A1AQn094TUf\n\tbY015ymJuFsJ9Ausn5Fa6sfBncMaumbHBmb2tlKObZEzAf+Hs+pSyBmo1IfyU9xdvie5\n\tyzUHWWoKEwrwQoXMdX/Ppg8S+FQl8zmR25M8cER2MG5sIjG5xAIKbeHt8aRneS+tyYec\n\tYX8hiQ/zMNPzvGvhHnh04inNhcOZahGLiy3tv2T6bn3vEhcmHx9Z9cqBjtBd3k0A01LV\n\tEJUThhsgMzWhUunSxi6iUmzPns4yKTkg35YdK9zUd9jJ4LcJirGqLYDUDqkFV+AfytWs\n\t1D7g=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"TBCd0nph\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=QxQXue6UkuG7HbOlX//yWVAT5uci9n0oEFEdSOdq0D4=;\n\tb=BJFDPRNYiKJeigwZeQ+IwCJRoMFgepbHdmWyZ6nxC4NDf9n84B++xZOUiM/xiWRxxX\n\tbvljfEtTP4TTuYkLZBe76yOxt36Chgw03sh0ec0oBTB3N9onBKMxn+lOEzTLgnhq6ZVy\n\tFHIp/2N1hHI91oSvzCoeQfP8G4566cAp+8WsGGWdXJemULmDrneHYSrL5u4wKbZjfybU\n\tXwJiDEhpW4C6lPbWC+fp/i5vjdUT0uzyCwlG3KkLSbaViPyN2DBQV7Zuast62F0zN1cD\n\t2BGqoHtdV6JQLe5mH/lbXURlT+qByNVpKGo8eqxNNe/GK3FTeIIHWFfMsPhrt3CVuNFi\n\tAT5A==","X-Gm-Message-State":"AOAM530AVU1cNtI714+wTBgELerCgY3TtECUnkCKVl86UD+Ydmp0LJH9\n\tqJAsFAWLGEMNRISfXz6q5MtXMuepMD6cj7s7","X-Google-Smtp-Source":"ABdhPJzGEDKepbC70AZQ37Z1gx1aPBPYRxdAsrAJFLPpEvKkimsBip9W8ooIzcVOtE6Igu7FwEZ4DA==","X-Received":"by 2002:a5d:5705:0:b0:207:a299:27e2 with SMTP id\n\ta5-20020a5d5705000000b00207a29927e2mr16094259wrv.59.1650472002524; \n\tWed, 20 Apr 2022 09:26:42 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org,\n\tJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>,\n\tHan-Lin Chen <hanlinchen@chromium.org>, Kate Hsuan <hpa@redhat.com>, \n\tJacopo Mondi <jacopo@jmondi.org>","Date":"Wed, 20 Apr 2022 17:26:21 +0100","Message-Id":"<20220420162622.16521-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.30.2","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/1] AF controls","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":"David Plowman via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"David Plowman <david.plowman@raspberrypi.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi everyone\n\nChanges in v3:\n\n* The controls have all been \"un-draft-ified\". I've moved them all up\n  the file to the non-draft section.\n\n* We had a discussion about having a \"custom\" range, but I think the\n  conclusion for the moment was not to add it. Please correct me if\n  I'm wrong there.\n\n* The AfLensPosition control has gone. Instead LensPosition is defined\n  to use a scaled \"dioptre-like\" kind of unit (hyperfocal distance\n  divided by focal distance), so that 0 = infinity, 1 = hyperfocal,\n  bigger numbers = closer.\n\n* The AfState has been reduced to just\n  reset/scanning/focused/failed. It is expected that AfMode will be\n  reported on every frame, and also the new AfPauseState which says\n  whether CAF is running/pausing/paused.\n\n* I note that there's still some discussion elsewhere about the units\n  for defining AF regions, and whether they need to have associated\n  weights.\n\n* I haven't carried any tags over for now, I think things are still at\n  a stage where everyone needs to review the changes, if that's OK!\n\nThe state transition diagram is cosmetically updated, but not\nmaterially different. It should be in the same place, but in case\nyou've lost the link:\nhttps://docs.google.com/drawings/d/1rU2nS82dEC8Y2eY0lKPkQQhd67gKLOl7PvSeUcL1j_E/edit?usp=sharing\n\nThanks!\nDavid\n\nDavid Plowman (1):\n  libcamera: controls: Controls for driving AF (autofocus) algorithms\n\n src/libcamera/control_ids.yaml | 318 ++++++++++++++++++++++++++-------\n 1 file changed, 258 insertions(+), 60 deletions(-)"}