From patchwork Mon Jun 5 09:14:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 18703 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 9AD22C31E9 for ; Mon, 5 Jun 2023 09:14:48 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D286362888; Mon, 5 Jun 2023 11:14:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1685956487; bh=zVJu/q+9FI/YNCdC7x9rEuQyidNRut5WcDuh66kP5dI=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=0R8WxXss3Et/kO2Ui0C01Sm0Az7QJCui2XsF4PnPBNxNbG3kus7fGnnFKdHBoRbXg Rxt0JOCFh40Kmz4vfPBt26OPQtgLX0W3594gTO4Ux7LK0L0xIJHE4zt0DwHlPgzSu7 Lc++ZCzrGcrmke9ZVJRkVsLdBNPDK5Q6ubo2QK35yecGnprHUkrWuwF3lB4YzWI0LM x/YG5OcPv+xKb9rs5K7h+y889DgB5q7FHmmYDewrBAqBtAhUmZfRca7Odik6buhe86 XH0ebL6Xcq9mhE4Mjv/SK1nKcpmIyFA+pMhPD420n5fuj3wz/qDa4Jv2ZzL6Zq+LPZ dBufsCaHN/cSA== Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id AFD4C61EA2 for ; Mon, 5 Jun 2023 11:14:46 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="qd9ofQAr"; dkim-atps=neutral Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f6042d605dso37898625e9.2 for ; Mon, 05 Jun 2023 02:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1685956486; x=1688548486; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=44PKv0bp0RlK4EdJ8eJbc/0l/bSu02wTIxcqPuoBvQM=; b=qd9ofQAroRFSVa4XRzJ/voBVjxTxbDQzOc9WYfQpZ1A/eQ1y3k88knUmEU7t858ts4 K6exIXO7ZYHik2D7EsiHqpfut/vPCYoODhCVuBvw4KRTCWLfwOT/E0YvFbM7UHUzOru9 p8q5P7NDzNlgumonQIMnk6O1TfPAQHOmqQGUA8bZBX8Vd2GP0C2QkugBNLiIRjQhixm3 LY0WTQs87cixDt5L/ZvfMibG8NvPI3oVlxea8skQVlq9EA+8uR9C6ltLLDwDGb8w5Sys h9fFwM6QaiKk6QS5Ho/HK8xDei7AbtI3BCMppNVSoWgdFwUzRnAEaoSiXQADT2KKkmaT 4JyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685956486; x=1688548486; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=44PKv0bp0RlK4EdJ8eJbc/0l/bSu02wTIxcqPuoBvQM=; b=lRRTRDwOhTL0I706lzhlyFE3p4L7F9U+1b1CbxNW3B6SgVv4glvdxBBJku0spG+I+z rTUY+GISPTM6PBiHjMb3gwCoH3+Hbx6JYN9GHS2haeyYnt6patzlDr4X+Ww7xnXyRsPr 4uMM+S4iMzuGjyunpUHg7JWn/epwKcKXX51Ps6ZxSE/sWOtP6avfgLJoTHmmkVAbMspI jN2c5b+GYVbYlVz2Ct+VsVPHjBnGSNvwWNgTcmm0gR4zmSk07AMYON0KWS6ny9jTpJ8d giCsDdimBZ7duihTrv+YRvvi088xz8tJsef4NeCBmyoMW3BmdJjC8gTeXUQTOxhnBbq1 rNng== X-Gm-Message-State: AC+VfDxqadj2673v7LUMCvugKuPrRDULRsF3LjV/frZQ7ZGSoaIcwyiq vEiwZ+73NrHeCfRiJK4ERAoAWcbGf7inoz4yp7L5SQ== X-Google-Smtp-Source: ACHHUZ5z5Np93WDcaQBj5D3txI/WzJTTdPfprPW/1mF8L1qe2MN4rIWoCFnJeGE5ojf2D85wFHo1ng== X-Received: by 2002:a7b:c415:0:b0:3f7:2a13:9621 with SMTP id k21-20020a7bc415000000b003f72a139621mr1737475wmi.40.1685956485927; Mon, 05 Jun 2023 02:14:45 -0700 (PDT) Received: from localhost.localdomain ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id z16-20020a7bc7d0000000b003f605814850sm13776369wmk.37.2023.06.05.02.14.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jun 2023 02:14:45 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 5 Jun 2023 10:14:03 +0100 Message-Id: <20230605091406.31757-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/3] Default lens behaviour 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: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, A few minor changes from v2: - Reword documentation in patch 1/3 to address default lens position in AfMode instead of LensPosition. - Minor logic change in patch 3/3 to test for AF algorithm only if a lens is present. Thanks, Naush Naushir Patuck (3): libcamera: controls: Define a default lens position behaviour pipeline: ipa: rpi: Return lens controls from ipa->configure() ipa: rpi: Set lens position to hyperfocal on startup include/libcamera/ipa/raspberrypi.mojom | 3 ++- src/ipa/rpi/common/ipa_base.cpp | 19 ++++++++++++++++++- src/libcamera/control_ids.yaml | 7 +++++++ .../pipeline/rpi/common/pipeline_base.cpp | 6 ++++-- 4 files changed, 31 insertions(+), 4 deletions(-)