From patchwork Mon Nov 3 22:13:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 24959 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 904AEC3241 for ; Mon, 3 Nov 2025 22:12:46 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CDD4560A86; Mon, 3 Nov 2025 23:12:45 +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="q4fMYV3D"; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 15AC2606A0 for ; Mon, 3 Nov 2025 23:12:44 +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=op3TsZon6rXfukMv9PX4i8VCrQoQ31p9ZUcT6JrdKMI=; b=q4fMYV3DNI09mkSMUmAay0FX7M MhM/dJ07OGhuL+yGkLKOKFg+QNTHhSMZJm7JbWTh+ZRIeCqvoNRwRBQb+EHUtEwNBeg8w7DZM4+dM HosmjzNXYwGRfvvWC4E0KQ1r+ZhhoKJGrW3KizBwOrNh6Hs2LiXSy3LaoVzcPB9cdw234wChuLgfV BfZDULneSNYRXDYMefmF1PxPFDipWQ6hPo2jDm0+ADYIDkqkPi9g48K2Enos2HjurosN6H7hr6tzB nEmBHKCk0zpnFMe5uYUkFYQHWyujLXOfomHyGhoNdx1PFMjr1pvob4/UCSsX7kNwnEtpw3zKgnx6d oovpveyQ==; Received: from [81.140.124.245] (helo=uajain) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1vG2n4-0014tl-Ch; Mon, 03 Nov 2025 23:12:42 +0100 From: Umang Jain To: libcamera-devel@lists.libcamera.org Cc: Umang Jain Subject: [PATCH v5 0/2] lc-compliance: Ensure stream's colorspace is set after validate() Date: Mon, 3 Nov 2025 22:13:13 +0000 Message-ID: <20251103221315.73350-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 v5: - Drop redudnant std::optional<> empty check in 1/2 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 | 12 ++++++++++++ 2 files changed, 15 insertions(+)