From patchwork Mon Dec 4 16:18:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 19276 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 8E2A4C3226 for ; Mon, 4 Dec 2023 16:18:49 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CB008629D0; Mon, 4 Dec 2023 17:18:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1701706728; bh=o5f8JeyvikTQpsTvojgxQieuKEMiihyWdE5qKofqD5w=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=uDF17AdGhb+HZW2gWBW+iX7SwXJxKyvdHPhifOzSyVXoM0jhTAc6rB5aUs0N4YLIM iV45afyhKzXjZeurU+VxXg7Ch0ybffGmE5DRAFyBOiQdCxXX5ioHfnk3C1rVjgWQcZ knM75tk5mScTGOH8ORS+qx+ZKSm9BZIGLKP7L2dyeJkILXTaYTitzybtIC/XWnfkJs VDsZVmzN9ROP/3ecNOQXriAEr9Tlh0tEjnUALo1P8foh3OPlXV0bo86c9Rt7Lj2Z/m EfBpHgR5LtZ4OW/aya/I6KVBOg59ZBkjIucSgwYF3lzBiWTPZEKX3D8Ow5JUVZSKKH xOk7Kdl8mQ2Ow== Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D722861D9F for ; Mon, 4 Dec 2023 17:18:47 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="mFma3ANc"; dkim-atps=neutral Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c9f8faf57bso21161911fa.3 for ; Mon, 04 Dec 2023 08:18:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1701706726; x=1702311526; 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=yruy4Q07R5ziB/6EsnuZZ8TMB793rWeftr9Y0rMpURo=; b=mFma3ANcKqvt433e7lhz8ezlmR86fbFNo8pOeQfIFfGux3RCMOuga4pw/NMxbeIin1 eA21zjBOyiuRR9sFayPPvHAbROGA4POngmGFUVLqiQkQQqfByk185znGHI3yQsfYo+WN TYV3ojc1IDRR0+9torjQizIXw4AJUopx/kJwdXte6B1wHTOqtp+eHHAip1LTG8QHEg95 gygx6aaSiwTGjxLiWuXz+1pzIlKn5lIRNcboLYqxoVj3yFlFEEsboQZC3EmzLnMTCNby dk20nhE8AP0p+pWJv2Dfv2Ut0Zmym3qU4EdpjaLFJqC/Bj9XHJPPL1ak/GbUO7Wt36zz KOEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701706726; x=1702311526; 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=yruy4Q07R5ziB/6EsnuZZ8TMB793rWeftr9Y0rMpURo=; b=QvoZ3Sq0EmR9cA+1PkJr6O71JOb6TkUCSTa5uR1LoPB3sUGeaaUJWG02ahhcwqY4gQ bRlEx3llyIvC00JGW9LXIPS1cn4x5r313kKnXSgvcCWocNtf5KNKjE+U5szc8M/Grp5d AFymAvm+YV5StyUq+Ef6kPp00fdHTcNVR8i/WQxq43oRH1bYS9LkbNEihqXFB5y7RPwp aNRfUOYk0PPR8D+aduQOVWpJMuivvAHQRYw2alrX9BuuW6fSc/MgwLqXrvzTBG1SkVFL 6avixaXnOHh68J8xY8pMMs7TuQ6J5FuilKhLPVFfpueTHOqcee8agokJjcLAiT4KdUJ9 ckgA== X-Gm-Message-State: AOJu0Yz9NbNTN0j3ubOyjTjMVtPG6BDa6K5kLhCAGmcknn9NiRW04cZv Nbj5Po3AcSVrBTV4AJCtZ7k2SVXiBkWcPs/zwSfvFA== X-Google-Smtp-Source: AGHT+IFnSh7+KBpvKcr9yHKu3AMAHIt20OVV0n2xbxgzG6QBq5zqAuGlhCIH/4fG+wrZ754ErIpJUQ== X-Received: by 2002:a2e:3004:0:b0:2c9:d862:c65b with SMTP id w4-20020a2e3004000000b002c9d862c65bmr3013982ljw.72.1701706726450; Mon, 04 Dec 2023 08:18:46 -0800 (PST) Received: from localhost.localdomain ([188.39.149.98]) by smtp.gmail.com with ESMTPSA id g5-20020a170906198500b009c5c5c2c5a4sm5445134ejd.219.2023.12.04.08.18.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 08:18:46 -0800 (PST) To: libcamera-devel@lists.libcamera.org Date: Mon, 4 Dec 2023 16:18:59 +0000 Message-Id: <20231204161901.6632-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 0/2] Raspberry Pi vendor 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: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, This patch series adds Raspberry Pi specific vendor controls, initially for returning hardware generated statistics out in Request metdata. This comes from a user request at https://github.com/raspberrypi/libcamera/issues/90. Thanks, Naush Naushir Patuck (2): build: controls: Add Raspberry Pi vendor specific controls ipa: vc4: Implement the StatsOutputEnable vendor control include/libcamera/meson.build | 1 + src/ipa/rpi/common/ipa_base.cpp | 12 +++++++++--- src/ipa/rpi/common/ipa_base.h | 3 ++- src/ipa/rpi/vc4/vc4.cpp | 6 ++++++ src/libcamera/control_ids_rpi.yaml | 29 +++++++++++++++++++++++++++++ 5 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 src/libcamera/control_ids_rpi.yaml