{"id":24998,"url":"https://patchwork.libcamera.org/api/1.1/covers/24998/?format=json","web_url":"https://patchwork.libcamera.org/cover/24998/","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":"<20251112082715.17823-1-mzamazal@redhat.com>","date":"2025-11-12T08:27:08","name":"[RFC,0/7] Simple pipeline IPA cleanup","submitter":{"id":177,"url":"https://patchwork.libcamera.org/api/1.1/people/177/?format=json","name":"Milan Zamazal","email":"mzamazal@redhat.com"},"mbox":"https://patchwork.libcamera.org/cover/24998/mbox/","series":[{"id":5582,"url":"https://patchwork.libcamera.org/api/1.1/series/5582/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5582","date":"2025-11-12T08:27:08","name":"Simple pipeline IPA cleanup","version":1,"mbox":"https://patchwork.libcamera.org/series/5582/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/24998/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 D49FCC3241\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 12 Nov 2025 08:27:26 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DFA5A60A80;\n\tWed, 12 Nov 2025 09:27:25 +0100 (CET)","from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.129.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5CBCF606E6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 12 Nov 2025 09:27:23 +0100 (CET)","from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n\t(ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63])\n\tby relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n\tcipher=TLS_AES_256_GCM_SHA384) id us-mta-213-481Z_0R_MFmvdP5en4m_cQ-1;\n\tWed, 12 Nov 2025 03:27:20 -0500","from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n\t(mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n\t[10.30.177.93])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (2048 bits)\n\tserver-digest SHA256) (No client certificate requested)\n\tby mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix)\n\twith ESMTPS\n\tid E696819560B5 for <libcamera-devel@lists.libcamera.org>;\n\tWed, 12 Nov 2025 08:27:19 +0000 (UTC)","from mzamazal-thinkpadp1gen7.tpbc.com (unknown [10.44.33.149])\n\tby mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix)\n\twith ESMTP id C87051800367; Wed, 12 Nov 2025 08:27:18 +0000 (UTC)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=redhat.com header.i=@redhat.com\n\theader.b=\"OkWHHtKw\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1762936042;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding;\n\tbh=bvHulpJQpfmajSGj/7Y0pm7yVss4iS4mTKvbI3OVGoM=;\n\tb=OkWHHtKwgmbxPneYapfxq2ZRoHgJqt+hzkqSh0yNSKHtZJ3xpO7mbOCptaW4HM5h59AZBy\n\tAV572cQUL54lJWdd/Gb4L/yDItoi0byn+LlmMwRgtV6GshA/ig2JBBGIs0TL4Vt5350xpk\n\tA/6jLQJXnKUESXsn6n1uQXGW8uG2Um0=","X-MC-Unique":"481Z_0R_MFmvdP5en4m_cQ-1","X-Mimecast-MFC-AGG-ID":"481Z_0R_MFmvdP5en4m_cQ_1762936040","From":"Milan Zamazal <mzamazal@redhat.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Milan Zamazal <mzamazal@redhat.com>","Subject":"[RFC PATCH 0/7] Simple pipeline IPA cleanup","Date":"Wed, 12 Nov 2025 09:27:08 +0100","Message-ID":"<20251112082715.17823-1-mzamazal@redhat.com>","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.4.1 on 10.30.177.93","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"FNBEMuoDjXY1e7O8AqGt0akL-e9BR6miZv4aOG7KKlI_1762936040","X-Mimecast-Originator":"redhat.com","Content-Transfer-Encoding":"8bit","content-type":"text/plain; charset=\"US-ASCII\"; x-default=true","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":"The simple pipeline IPA algorithms mix contrast and saturation\nprocessing with CCM and LUT processing.  This patch series moves some\nparts of contrast and saturation processing to a separate algorithm.\n\nThis is currently RFC because it conflicts with the changes in GPU ISP.\nIt should be rebased on top of GPU ISP once it is merged.\n\nMilan Zamazal (7):\n  libcamera: ipa: simple: Remove an unused include from awb.cpp\n  libcamera: ipa: simple: Unwrap IPAFrameContext::ccm\n  libcamera: ipa: simple: Generalise tracking matrix changes\n  libcamera: ipa: simple: Rename \"ccm\" identifiers not specific to CCM\n  libcamera: ipa: simple: Introduce a general correction matrix\n  libcamera: ipa: simple: Separate saturation from CCM\n  libcamera: ipa: simple: Move contrast settings to adjust.cpp\n\n src/ipa/simple/algorithms/adjust.cpp  | 125 ++++++++++++++++++++++++++\n src/ipa/simple/algorithms/adjust.h    |  52 +++++++++++\n src/ipa/simple/algorithms/awb.cpp     |   1 -\n src/ipa/simple/algorithms/ccm.cpp     |  70 ++-------------\n src/ipa/simple/algorithms/ccm.h       |  10 +--\n src/ipa/simple/algorithms/lut.cpp     |  67 ++++----------\n src/ipa/simple/algorithms/lut.h       |  13 +--\n src/ipa/simple/algorithms/meson.build |   1 +\n src/ipa/simple/data/uncalibrated.yaml |   1 +\n src/ipa/simple/ipa_context.h          |  11 +--\n 10 files changed, 212 insertions(+), 139 deletions(-)\n create mode 100644 src/ipa/simple/algorithms/adjust.cpp\n create mode 100644 src/ipa/simple/algorithms/adjust.h"}