From patchwork Wed Mar 26 07:51:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 23025 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 CB8FCC3213 for ; Wed, 26 Mar 2025 07:52:01 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5D82068947; Wed, 26 Mar 2025 08:52:01 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="bKLZa+c4"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2F0F468947 for ; Wed, 26 Mar 2025 08:51:58 +0100 (CET) Received: from neptunite.flets-east.jp (unknown [IPv6:2404:7a81:160:2100:7402:917d:ea0c:6d4c]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id F3BDD3A4; Wed, 26 Mar 2025 08:50:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1742975410; bh=I2J7XBLha2uwc7PUdj554Ik8W5V2QOVGNaqPdivvGNw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bKLZa+c4JnDSIlBhBARJjPsHtZUA90iKlcvyZPRna6dViS07pzo/N5MAJggjQJjJp b59cQsln2r1whdbgDSXE4Ghi3f4IS9GMmjBFuierDIxSvgZ1IzKbBCb0GTsdJFqDUW Ny5VrhClAOxmkWteAe6IjG/nFgpcTAaBD3QwKXtM= From: Paul Elder To: libcamera-devel@lists.libcamera.org Cc: Paul Elder Subject: [PATCH 1/3] libcamera: framebuffer: Add offset field to metadata Date: Wed, 26 Mar 2025 16:51:25 +0900 Message-ID: <20250326075129.1705736-2-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250326075129.1705736-1-paul.elder@ideasonboard.com> References: <20250326075129.1705736-1-paul.elder@ideasonboard.com> 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" Add an offset field to the frame metadata so that it can be reported to the application. Signed-off-by: Paul Elder --- include/libcamera/framebuffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h index ff83924300ac..f6fa1fd510a7 100644 --- a/include/libcamera/framebuffer.h +++ b/include/libcamera/framebuffer.h @@ -30,6 +30,7 @@ struct FrameMetadata { struct Plane { unsigned int bytesused; + unsigned int offset; }; Status status;