From patchwork Fri Dec 13 09:38:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 22305 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 A712AC32EA for ; Fri, 13 Dec 2024 09:46:12 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 32A4467EEA; Fri, 13 Dec 2024 10:46:11 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="CJmL6nmO"; dkim-atps=neutral Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id F16D4618AD for ; Fri, 13 Dec 2024 10:46:08 +0100 (CET) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3862e570832so132373f8f.0 for ; Fri, 13 Dec 2024 01:46:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734083168; x=1734687968; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=VeKxc6KU+PwXJ/3C+AJen2MWiqDibYj6SozHSHvO9Is=; b=CJmL6nmOWyyw284t4Ic3sAglcT+Rt2pGKz7XhaPGRhrbaIMl5xWGHBRkJu5r4+dLD0 K4fK0w211Vz5k5vgmyECIjssF3X0Tp/4FNwUFK0mjrk1of2XXMx+Rb+cXPCQiQkLWf7Z 2l5uuWHcBSFJMUG9rjrSMZusAa+f6L+GTc3miMQWEzJF70olN6KRPdTiVs9Mo5kHpk42 syKmwws5br8PwVFiXfrV4EdLxNDwmzyi7iYwC1WEupNscTEyBETqShM5pA33rj8o1ogb IDSLlT2zAaJ4yUQmqrvLxIbbCS5zkF+mHH8iCBrm4R+57ZJikJ15S/VLwEE21bBOrsn0 B1yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734083168; x=1734687968; 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=VeKxc6KU+PwXJ/3C+AJen2MWiqDibYj6SozHSHvO9Is=; b=MXKfOezsCl/TC5bSbHmoKh0ez7GWhhhOEtlfzyZVQH4fnNAN2fmByGCg87gANuGZ2l /6PLY88kikrzS8dzq4U3pLINVtzFQ599Mpdtk2+ZZdI0vFXMFCcaeef/O5ZDTa8XVIbx ceaxrwUML0rMfkuwieUaXEsI503RMxSXd/4bjgQyZru0eN1CmCuwZh4I99cckl/xuQG4 E3YkjXCADejGBze9hTlldgHYnc2K2yJz5Q40ZV35VoBKFBzixRBC/FkKKpq//OrSFsTY rPH5CVuu57xaMYysIjPDiCyyj2S7dFd/pAFP/x0d9W1rz8U8gjzqbc70jOQHW4wT+QeV gqQA== X-Gm-Message-State: AOJu0Yzf25lypUQBlYnrrk/YcFOS9TstFZdtxz7uYvuWNUA1p6ANHr27 kdun+rpAt05o+9x8gHz/1B1sUc7q7ISRKM1fvvE0WDKdMi6sOIh6jj3LYbLaGI9r8pUN4tBeEfv q X-Gm-Gg: ASbGncvpExdWUcEY05BVo7urudoDeL4Ww6WshCqW1YFHgzGnNj2lqmNJSWP9H1fXOpt IiA1MB5NO/i9/dSxBXv07w2f3T56+ujjTmJ795TLvwIirlH11WQChqAMqkpZ8jroXmjPwGY+pii XxADwF91M6ZQDOEv9cAFJyQ431EhPJAhSIUdtll39j12ZjbtaS/rkUpzuW/thQ7fk2Mu7ikPt2s SMv8b6vNKIVzPysEcdn9mr++6HFepVOHMpRtxJoEVAILAcNr3jhaAuyOguyNgp3MQX1VwwVEeCI X-Google-Smtp-Source: AGHT+IEB7sQvqauryfLoBA7YrS5N2d9f9YNRJ8xK5CahCvPQJCxo7WVsnK4Cb1LljLJG8tw9hpejxw== X-Received: by 2002:a05:600c:5249:b0:434:f5f8:22cd with SMTP id 5b1f17b1804b1-4362a98106emr5514425e9.0.1734083168061; Fri, 13 Dec 2024 01:46:08 -0800 (PST) Received: from NAUSH-P-DELL.pitowers.org ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4362557c502sm43989105e9.11.2024.12.13.01.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 01:46:07 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: Naushir Patuck Subject: [PATCH 0/6] Raspberry Pi: Various changes Date: Fri, 13 Dec 2024 09:38:23 +0000 Message-ID: <20241213094602.2083174-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, These changes have been living in the RPi downstream tree for a while and address the following: - Helpers used for Pi 5 - Helpers for IMX500 (RPi AI camera) Eventually full support for these will be pushed upstream, but for now adding these small changes reduces the number of donstream packages which is always a good thing! Regards, Naush *** BLURB HERE *** Naushir Patuck (6): ipa: rpi: Use r-value references in the set()/setLocked() functions ipa: rpi: Add erase()/eraseLocked() to RPiController::Metadata ipa: rpi: Add a HW property to determine if the data buffer is strided controls: ipa: rpi: Add CNN controls ipa: rpi: Handle the new CNN controls in the IPA ipa: rpi: Provide the camera helper with the hardware configuration src/ipa/rpi/cam_helper/cam_helper.cpp | 5 ++ src/ipa/rpi/cam_helper/cam_helper.h | 2 + src/ipa/rpi/common/ipa_base.cpp | 53 ++++++++++++- src/ipa/rpi/common/ipa_base.h | 2 + src/ipa/rpi/controller/controller.cpp | 2 + src/ipa/rpi/controller/controller.h | 34 ++++++++ src/ipa/rpi/controller/metadata.h | 22 +++++- src/libcamera/control_ids_rpi.yaml | 108 ++++++++++++++++++++++++++ 8 files changed, 223 insertions(+), 5 deletions(-)