{"id":24822,"url":"https://patchwork.libcamera.org/api/1.1/covers/24822/?format=json","web_url":"https://patchwork.libcamera.org/cover/24822/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20251026125650.117468-1-uajain@igalia.com>","date":"2025-10-26T12:56:48","name":"[v4,0/2] lc-compliance: Ensure stream's colorspace is set after validate()","submitter":{"id":232,"url":"https://patchwork.libcamera.org/api/1.1/people/232/?format=json","name":"Umang Jain","email":"uajain@igalia.com"},"mbox":"https://patchwork.libcamera.org/cover/24822/mbox/","series":[{"id":5531,"url":"https://patchwork.libcamera.org/api/1.1/series/5531/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5531","date":"2025-10-26T12:56:50","name":"lc-compliance: Ensure stream's colorspace is set after validate()","version":4,"mbox":"https://patchwork.libcamera.org/series/5531/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/24822/comments/","headers":{"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\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 2446AC3259\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 26 Oct 2025 12:56:29 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 20750606E4;\n\tSun, 26 Oct 2025 13:56:27 +0100 (CET)","from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 051BC6068F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 26 Oct 2025 13:56:21 +0100 (CET)","from amazon1-vf-gw.lnd.cw.net ([195.89.103.118] helo=uajain)\n\tby fanzine2.igalia.com with esmtpsa \n\t(Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)\n\t(Exim) id 1vD0IG-00FPma-Rd; Sun, 26 Oct 2025 13:56:20 +0100"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=igalia.com header.i=@igalia.com\n\theader.b=\"klssC/Ig\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com;\n\ts=20170329;\n\th=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:\n\tDate:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tIn-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n\tList-Post:List-Owner:List-Archive;\n\tbh=bTSfZgNqJHpzTBDarv0+gqvxbYnr5WFap7OmXJWIw90=;\n\tb=klssC/Igmsl5GCwp8LF9zDdjz5\n\tmvJvz5yx2zfrg+2j5vBv4+CeYoXwA9l6NDtuLUeu3cV4f3UMM52vfQ83ilbdnDAzYeQCHeCa4p6lI\n\t63qRwxnhkuoiwpWia/rs+fQpjYMgmdie+odT7g0zr94RL1Ro8JK9lDexEA0qNAh2bjJSDcXYynnkE\n\t3wjeK067S/e6v4erQIIPPWvF40VGiNxBBDmP89q+GgnpdBbvIlVsZNknBf0Mc8cyAQ9Q0TM/SsA50\n\tCTK/NgrBzlhHM3bT4uGsT1uEp1gjKN/+C0JtZT00eo3B+y/mUi18aRdZJ/qMv2ZcDLhMXIsLqArfl\n\tPaWrncHw==;","From":"Umang Jain <uajain@igalia.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Umang Jain <uajain@igalia.com>","Subject":"[PATCH v4 0/2] lc-compliance: Ensure stream's colorspace is set\n\tafter 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","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","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>,\n\t<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>,\n\t<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>"},"content":"Patch 1/2 stems from a test result given by 2/2; virtual pipeline\nhandler now sets a colorspace.\nSee https://gitlab.freedesktop.org/camera/libcamera/-/jobs/79412875\n\nPatch 2/2 is the lc-compliance check to ensure pipeline handlers\nset colorspace after validate().\n\nChanges in v4:\n- Expand on commit message in 1/2 for colorspace selection\n- Address missing review comment in 2/2 from v2\n\nChanges in v3:\n- Set Rec709 colorspace for all generated NV12 frames\n\nLink to v2: https://patchwork.libcamera.org/project/libcamera/list/?series=5263\n\nUmang Jain (2):\n  pipeline: virtual: Provide and validate colorspace\n  lc-compliance: Ensure stream's colorspace is set after validate()\n\n src/apps/lc-compliance/helpers/capture.cpp |  3 +++\n src/libcamera/pipeline/virtual/virtual.cpp | 13 +++++++++++++\n 2 files changed, 16 insertions(+)"}