| Message ID | 20260507-kbingham-simple-scaler-crop-v1-0-7a5af1948565@ideasonboard.com |
|---|---|
| Headers | show
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 [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id BB627BE173 for <parsemail@patchwork.libcamera.org>; Thu, 7 May 2026 15:25:42 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BFA7C63026; Thu, 7 May 2026 17:25:41 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="WeZa7yZI"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 405D462FE1 for <libcamera-devel@lists.libcamera.org>; Thu, 7 May 2026 17:25:40 +0200 (CEST) Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id EE102664; Thu, 7 May 2026 17:25:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1778167536; bh=ZhjNuunRoYIef5CFxKCE1R9yA/fZ9NLuFy3wJlG/9MQ=; h=From:Subject:Date:To:Cc:From; b=WeZa7yZIZf7+hsmO8bVAsb4BfTXWecxTbJgPmRDEMPu5R5bE8JCbruvgvMZbc/30N zvTrcGAL7wzCricSanCf37zvpjr0C3b2BWXz2TpQ906S1RLYenmwI2ZwdFq6kIoKSW ViIxoETB7IbNCFw8aRP6r059EckiBRrk0uo2pBBA= From: Kieran Bingham <kieran.bingham@ideasonboard.com> Subject: [PATCH 0/2] pipeline: simple: Add ScalerCrop reporting Date: Thu, 07 May 2026 16:25:32 +0100 Message-Id: <20260507-kbingham-simple-scaler-crop-v1-0-7a5af1948565@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOyu/GkC/x3MwQqDMAwA0F+RnBfIyuzAXxk7tDHToNaSwBiI/ 77i8V3eAS6m4jB0B5h81XUvDfdbBzynMgnq2AyBQqSenrhkLdOcNnTd6ironFYxZNsrRso9RQm ZHwxtqCYf/V37632ef3Xz4LhtAAAA X-Change-ID: 20260507-kbingham-simple-scaler-crop-60b506e2bc4c To: libcamera-devel@lists.libcamera.org Cc: Kieran Bingham <kieran.bingham@ideasonboard.com> X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1778167539; l=1164; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=ZhjNuunRoYIef5CFxKCE1R9yA/fZ9NLuFy3wJlG/9MQ=; b=BnZLApDHceBEyfx07Z4ue4iguJLVOpTdxx90mQvRt5V9mA5LK40adUyn3AcmhGTd9zL7c+KBZ YKNQ/T5yOK0Cy0GcF7h5PqiiGEtsc/SKhcnQhk6LFW1VUBhbp9rKdx7 X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= 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>, <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>, <mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe> Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" <libcamera-devel-bounces@lists.libcamera.org> |
| Series |
|
| Related |
show
|
While the Simple Pipeline handler doesn't support ScalerCrop, it can be beneficial to report the ScalerCropMaximum and the ScalerCrop metadata anyway as applications can use this information to determine the positioning of the pixels captured in respect to the active area. This series reports the AnalogCrop as the ScalerCropMaximum in the camera properties, and also as the the ScalerCrop in each completed frame metadata. I'm curious on opinions if we should have more specific names for reporting this metadata when theres' not actually a ScalerCrop involved... With this series, it's possible to view the bounding rectangles and crop positions of the selected modes in camshark. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> --- Kieran Bingham (2): pipeline: simple: Report ScalerCropMaximum camera property pipeline: simple: Report the ScalerCrop src/libcamera/pipeline/simple/simple.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) --- base-commit: 183e37362f57ff3ce7493abf0bc6f1b57b931f55 change-id: 20260507-kbingham-simple-scaler-crop-60b506e2bc4c Best regards,