From patchwork Sun Oct 26 12:56:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 24822 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 2446AC3259 for ; Sun, 26 Oct 2025 12:56:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 20750606E4; Sun, 26 Oct 2025 13:56:27 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="klssC/Ig"; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 051BC6068F for ; Sun, 26 Oct 2025 13:56:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bTSfZgNqJHpzTBDarv0+gqvxbYnr5WFap7OmXJWIw90=; b=klssC/Igmsl5GCwp8LF9zDdjz5 mvJvz5yx2zfrg+2j5vBv4+CeYoXwA9l6NDtuLUeu3cV4f3UMM52vfQ83ilbdnDAzYeQCHeCa4p6lI 63qRwxnhkuoiwpWia/rs+fQpjYMgmdie+odT7g0zr94RL1Ro8JK9lDexEA0qNAh2bjJSDcXYynnkE 3wjeK067S/e6v4erQIIPPWvF40VGiNxBBDmP89q+GgnpdBbvIlVsZNknBf0Mc8cyAQ9Q0TM/SsA50 CTK/NgrBzlhHM3bT4uGsT1uEp1gjKN/+C0JtZT00eo3B+y/mUi18aRdZJ/qMv2ZcDLhMXIsLqArfl PaWrncHw==; Received: from amazon1-vf-gw.lnd.cw.net ([195.89.103.118] helo=uajain) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1vD0IG-00FPma-Rd; Sun, 26 Oct 2025 13:56:20 +0100 From: Umang Jain To: libcamera-devel@lists.libcamera.org Cc: Umang Jain Subject: [PATCH v4 0/2] lc-compliance: Ensure stream's colorspace is set after validate() Date: Sun, 26 Oct 2025 12:56:48 +0000 Message-ID: <20251026125650.117468-1-uajain@igalia.com> X-Mailer: git-send-email 2.51.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" Patch 1/2 stems from a test result given by 2/2; virtual pipeline handler now sets a colorspace. See https://gitlab.freedesktop.org/camera/libcamera/-/jobs/79412875 Patch 2/2 is the lc-compliance check to ensure pipeline handlers set colorspace after validate(). Changes in v4: - Expand on commit message in 1/2 for colorspace selection - Address missing review comment in 2/2 from v2 Changes in v3: - Set Rec709 colorspace for all generated NV12 frames Link to v2: https://patchwork.libcamera.org/project/libcamera/list/?series=5263 Umang Jain (2): pipeline: virtual: Provide and validate colorspace lc-compliance: Ensure stream's colorspace is set after validate() src/apps/lc-compliance/helpers/capture.cpp | 3 +++ src/libcamera/pipeline/virtual/virtual.cpp | 13 +++++++++++++ 2 files changed, 16 insertions(+)