{"id":19929,"url":"https://patchwork.libcamera.org/api/1.1/covers/19929/?format=json","web_url":"https://patchwork.libcamera.org/cover/19929/","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":"<20240423182000.1527425-1-mzamazal@redhat.com>","date":"2024-04-23T18:19:55","name":"[0/5] Software ISP levels 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/19929/mbox/","series":[{"id":4268,"url":"https://patchwork.libcamera.org/api/1.1/series/4268/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4268","date":"2024-04-23T18:19:55","name":"Software ISP levels cleanup","version":1,"mbox":"https://patchwork.libcamera.org/series/4268/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/19929/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 C6000BE08B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 23 Apr 2024 18:20:16 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 09BA961AC1;\n\tTue, 23 Apr 2024 20:20:16 +0200 (CEST)","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 3DD5361AC1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 Apr 2024 20:20:14 +0200 (CEST)","from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73])\n\tby relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n\tcipher=TLS_AES_256_GCM_SHA384) id us-mta-193-jSb7qDuENHOHNmkQO76NtA-1;\n\tTue, 23 Apr 2024 14:20:11 -0400","from smtp.corp.redhat.com\n\t(int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1])\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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2D2181C05AA0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 Apr 2024 18:20:11 +0000 (UTC)","from nuthatch.redhat.com (unknown [10.45.225.63])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 55534151EF;\n\tTue, 23 Apr 2024 18:20:10 +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=\"aBLWmpnN\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1713896413;\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=JGKCXtB4xVLC5PJVJDFr78ycFFWX5DI61s7/xavFFgs=;\n\tb=aBLWmpnNzZ6hnyOHyjTjWH8hpCIR7RbD77jclnPKj24w+IG6tAP6Gtag11KeEX+dR7JAXw\n\t9M7Ezfb7TB8lTqLhgrPUxBr7AoyWw6F1/4CDqJxbJR0K0DZkCfGOo1cY2/ChVqVJOr4lmO\n\tY53CoufDHh6cAnC/TjU6UAA136Kvz8Y=","X-MC-Unique":"jSb7qDuENHOHNmkQO76NtA-1","From":"Milan Zamazal <mzamazal@redhat.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Milan Zamazal <mzamazal@redhat.com>","Subject":"[PATCH 0/5] Software ISP levels cleanup","Date":"Tue, 23 Apr 2024 20:19:55 +0200","Message-ID":"<20240423182000.1527425-1-mzamazal@redhat.com>","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.4.1 on 10.11.54.1","X-Mimecast-Spam-Score":"0","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":"This is a cleanup of black level and color gain handling in software ISP.\nIt fixes omission of black level subtraction in white balance computation and moves color lookup tables computations out of debayering.  The latter also serves as a preparation for bringing software ISP algorithms closer to common libcamera algorithm handling, in future patches.\n\nMilan Zamazal (5):\n  libcamera: software_isp: Use a specific integer type for black level\n  libcamera: software_isp: Honor black level in AWB\n  libcamera: software_isp: Move color mappings out of debayering\n  libcamera: software_isp: Remove TODO #13\n  libcamera: software_isp: Remove DebayerParams::kGain10\n\n .../internal/software_isp/debayer_params.h    | 19 ++--\n src/ipa/simple/black_level.cpp                |  3 +-\n src/ipa/simple/black_level.h                  |  4 +-\n src/ipa/simple/soft_simple.cpp                | 86 +++++++++++++++----\n src/libcamera/software_isp/TODO               | 23 -----\n src/libcamera/software_isp/debayer.cpp        | 28 +++---\n src/libcamera/software_isp/debayer_cpu.cpp    | 41 ++-------\n src/libcamera/software_isp/debayer_cpu.h      |  9 +-\n src/libcamera/software_isp/software_isp.cpp   |  4 +-\n 9 files changed, 103 insertions(+), 114 deletions(-)"}