{"id":18674,"url":"https://patchwork.libcamera.org/api/1.1/covers/18674/?format=json","web_url":"https://patchwork.libcamera.org/cover/18674/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20230601095630.25443-1-naush@raspberrypi.com>","date":"2023-06-01T09:56:27","name":"[libcamera-devel,v1,0/3] Default lens behaviour","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/18674/mbox/","series":[{"id":3898,"url":"https://patchwork.libcamera.org/api/1.1/series/3898/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3898","date":"2023-06-01T09:56:27","name":"Default lens behaviour","version":1,"mbox":"https://patchwork.libcamera.org/series/3898/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/18674/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 6C7A7C31E9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  1 Jun 2023 09:56:35 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C749661EA6;\n\tThu,  1 Jun 2023 11:56:34 +0200 (CEST)","from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com\n\t[IPv6:2a00:1450:4864:20::42c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4C91A61EA6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  1 Jun 2023 11:56:32 +0200 (CEST)","by mail-wr1-x42c.google.com with SMTP id\n\tffacd0b85a97d-30aa1eb95a0so682826f8f.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 01 Jun 2023 02:56:32 -0700 (PDT)","from localhost.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\th12-20020a5d6e0c000000b002ca864b807csm9889531wrz.0.2023.06.01.02.56.30\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 01 Jun 2023 02:56:30 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1685613394;\n\tbh=daTkJa4Rt1RHhLpUFd4MndIrVUv35U/jsC9AvSpwe0M=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=mHaLhJ2jfTvOuL7X9E60iIRPApHMGuim4LRp9ClBZyTFjBRL0XRBdqUWUZ9Gx1JUx\n\tktXZ6co9K51AE3D8XGrUZkT8MY7gednTiFwmXstQE5ggBa/nLGJdy0VnjMiErk9G9Y\n\tE2DU6YLJFSU9KgTx02LRxThy8lDKujjiOHL4QxXvBzV375pF0r/L17CL/tyi2bxxHz\n\t4YOUoYNwHlgvLVAiNwdWNLXldhDkyM2aYpWzEpwvXjqB36CtyC/EegILqsp2MsVA5W\n\tLdAspF5PNT/w0LXNTUHqAf13YM+SVY+hzPeXVxLw0s0LofJHO3RG0Iu3Mf5mNRyA5u\n\tGYKGlNd+3DNgA==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1685613391; x=1688205391;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=73uN0vpNsSBwwK8jAejQivunPg0Ny3j07niEXcG9Qhc=;\n\tb=b5XM4dK6YwsKJtUlGNXvkB1YuC3veoOiIBA9CklxiM5XAxJ5WSLYnDaARAVVVu47Xn\n\t/HxjdqAe70JmH/Nj9Pu58LKnb+e/sx8vZoP9dR4QqVAnKtmMje4RCqae+BAEp1qUZntN\n\tT5ylrVkPrCzccU3Rpfp3a3V/VWiGQUa8GE2/KZ1uyIxYO4CJmKS81i8EsOS60YPsC/7v\n\tWeHOu4dbEK/K5IHzTXIdZu04F1X8EwogqzPT3qU2zi22rNneI1uTubMSlsF2hMzG+C4u\n\tZt4+OEHLxxHfNEWhEIRFgNm4u/jxq4KH6w/shfHjp9eJbdojB4Zkj+3hnRaU+Usf0rau\n\tzP7g=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"b5XM4dK6\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20221208; t=1685613391; x=1688205391;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=73uN0vpNsSBwwK8jAejQivunPg0Ny3j07niEXcG9Qhc=;\n\tb=S5pMkj52EZIPDO8aGrmT4BI3PfBiBDPnaGTIQhCSmMK0DWf/knwpVicP1CrmbcFVG7\n\tI12M0JrcDRZnoko7uM3d6iIkxXxS/sT+Nd4FVJKIX/9z1nUblDkI3a35P2PrZqwot6eI\n\thvvWxK8gt1NO0AArKSfCecXBNuF/eJaJbdcsdELU36Du1UULlpsFYgqykoF9jfh2Nd8e\n\t4pwhUAcEbnDsoSjBfxuPtAc3dKmiySXc5wOAHbd4HyTxbWm0OEUZGEEN/nGHevdbXjvr\n\tMIR0YUGb5FbGNXjqpBbVaidK7wIwvvjl5xRd1lfTVXj+1dzxys7L4qCn/D9KW1MoUG4D\n\tr4wg==","X-Gm-Message-State":"AC+VfDwPBPqYBDFgC3Xi8tmsCOEtjIJ5npMY2qVu9t6Syp8Z8Nls728i\n\tVYgZjjyNExI+MMx2ub/jLPJzo6sNdoAb1Dthb2Tjuw==","X-Google-Smtp-Source":"ACHHUZ63RXu4x5aGvT88emxTepw8j6n8TC7lsrGHvFHoIfjwSS8VSXWXjEV2mnWI75eFe3ssIaLNtA==","X-Received":"by 2002:adf:fd8a:0:b0:306:492c:cdd8 with SMTP id\n\td10-20020adffd8a000000b00306492ccdd8mr1382837wrr.15.1685613391448; \n\tThu, 01 Jun 2023 02:56:31 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Thu,  1 Jun 2023 10:56:27 +0100","Message-Id":"<20230601095630.25443-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v1 0/3] Default lens behaviour","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":"Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Naushir Patuck <naush@raspberrypi.com>","Cc":"nick.hollinghurst@raspberrypi.com","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nFrom the discussions on the GStreamer focus controls thread [1], we decided to\ndefine a default behaviour for camera startup to be handled by the IPA.\n\nThis series explicitly defines a default behaviour by requiring the IPA put the\nlens to the position given by the controls::LensPosition default value.\nTypically this would be the hyperfocal position.  Patch 1 updates the controls\ndocumentation, while patches 2 and 3 make the necessary changes to the RPi IPA\nto move the lens on the first call to ipa->configure().\n\nRegards,\nNaush\n\n[1]: https://lists.libcamera.org/pipermail/libcamera-devel/2023-June/038008.html\n\nNaushir Patuck (3):\n  libcamera: controls: Define a default lens position behaviour\n  pipeline: ipa: rpi: Return lens controls from ipa->configure()\n  ipa: rpi: Set lens position to hyperfocal on startup\n\n include/libcamera/ipa/raspberrypi.mojom           |  3 ++-\n src/ipa/rpi/common/ipa_base.cpp                   | 15 ++++++++++++++-\n src/libcamera/control_ids.yaml                    |  5 +++++\n .../pipeline/rpi/common/pipeline_base.cpp         |  6 ++++--\n 4 files changed, 25 insertions(+), 4 deletions(-)"}