{"id":16324,"url":"https://patchwork.libcamera.org/api/covers/16324/?format=json","web_url":"https://patchwork.libcamera.org/cover/16324/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20220622151918.451635-1-fsylvestre@baylibre.com>","date":"2022-06-22T15:19:13","name":"[libcamera-devel,0/5] Add GSL, LSC and DPCC tuning support for rkisp1","submitter":{"id":123,"url":"https://patchwork.libcamera.org/api/people/123/?format=json","name":"Florian Sylvestre","email":"fsylvestre@baylibre.com"},"mbox":"https://patchwork.libcamera.org/cover/16324/mbox/","series":[{"id":3208,"url":"https://patchwork.libcamera.org/api/series/3208/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3208","date":"2022-06-22T15:19:13","name":"Add GSL, LSC and DPCC tuning support for rkisp1","version":1,"mbox":"https://patchwork.libcamera.org/series/3208/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/16324/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 11B89BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 22 Jun 2022 15:19:24 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2E7E065636;\n\tWed, 22 Jun 2022 17:19:23 +0200 (CEST)","from mail-wm1-x330.google.com (mail-wm1-x330.google.com\n\t[IPv6:2a00:1450:4864:20::330])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id DEFF761FB2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Jun 2022 17:19:21 +0200 (CEST)","by mail-wm1-x330.google.com with SMTP id q15so9434099wmj.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Jun 2022 08:19:21 -0700 (PDT)","from BL087.. ([2a01:e34:eea9:e630:4175:47f:ec:c265])\n\tby smtp.gmail.com with ESMTPSA id\n\tbi11-20020a05600c3d8b00b0039c362311d2sm1745388wmb.9.2022.06.22.08.19.20\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 22 Jun 2022 08:19:20 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1655911163;\n\tbh=1dqPwAXCvDCyy5WIo+gPtEXtNrAKc7Jt+2F2YPdX2Ts=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=hAMP67IuEDY42j/deMUnZvCPkV679ZFC2pq1Xx1SKL96KQkbfnJLk1WKgIKaGnuka\n\tHaApfNHj3D1eMHdtFv+QJXOX9kXGb+LEoOW1C09lWsFYMW5cd4aLkZViBKbcdDT3OP\n\tiMjRsHt6O0ez/QyDtQ6WMjr2B2qmCxp1MEHOyy84sO4JzqY+yZJ1nORT/WwtvaAi4M\n\twv3b3v+ZQSPTXs0VErP5JNSepc75heoqre5mFqXJJL4b2KW/dEtph8ZHUZHkV7O+0g\n\tzSbPNM2ydKeO0kzg/9Z1vRCfzmvraQEMuy/JjwesxWdfRsRNWK+F9PKbFm7B1Hl1cP\n\tgVEzYDhRFrZnQ==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=baylibre-com.20210112.gappssmtp.com; s=20210112;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=uRDNz5g5ZwA5TiClaHEfKScloW7NZ9jLFeQbYLgZiZA=;\n\tb=fRsjciuQNxTdhS9R0ebzZ7nmG6iaoblHuhAXGAuT6LacYobdVmHaxLqFDI1RPX7YuU\n\tqgxkwuEl+Lan+YaBc4uktxGiqKI7I/H2ctQ7F0+SUZ2DhDHsvo7ThEzreqwtE6id5Hjo\n\td/UfPUfm61VViuAfeYAOqj3MTbKLRvoqB6yfHdOy43fXlm2MMK2Xa+mdTaxLKUCn6bGX\n\tEnr6eeHg8zVlHYEPwq+9Cd5PmdUJnKGd6ekNYzY0E7buFbn1I51MjsKXFViDb82J4JlX\n\tkRwW+CcNT56QcT2JiXyI/XnhLspz6oA6HT8J1Y+6g77lrIjpzo/u1XwzRhe92zf/xhkE\n\tq5zA=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=baylibre-com.20210112.gappssmtp.com\n\theader.i=@baylibre-com.20210112.gappssmtp.com header.b=\"fRsjciuQ\"; \n\tdkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=uRDNz5g5ZwA5TiClaHEfKScloW7NZ9jLFeQbYLgZiZA=;\n\tb=Ig/osa/re4iwiwU6W+LUwmFaLbfNjVpYrUiymtHEIyiMPXJvWrRUfjAv1EW5667+ro\n\tfQbFc0XesDGKojJiEm2H+N4IahCbnb5FAUwNViyCQ2jl7vrjKrr0A2xkh88KRkZCD3IB\n\tZ8v64EtT5S/OSduRkGBhVyRaO7v0N/b7hq4Pmi0GIpAfQ74fZA0i2gsvWfz/gyULGzYu\n\tPOtBkR/WhZ2eT8XV34FsqOldI06S3mOYP7Wy1Ab2uX+Ip0apyFpyqNSUA/RXLR9VJ5xF\n\tUtcq8kCEZC87wCXKieCimnfeEoS7992oDCXy5BLq6JlFKlcNWWZPJwMk2F3Tq/ujWvXs\n\t8lnA==","X-Gm-Message-State":"AJIora8YOaOluT2We/K8aoCYfQvm9DGuxHuuhkcFLOCMEaqKhFsrJfq4\n\tI7qSoDENwhldi1DrraBDOHcz//ZuvvSVWA==","X-Google-Smtp-Source":"AGRyM1tB0rLz6m4kyGPA2ewf/NzuvjbObcdUdJ731QiTJnN92L5BAlxf9gy7jjCT34jXmYIUQZ+RJQ==","X-Received":"by 2002:a7b:c389:0:b0:39c:49fe:25df with SMTP id\n\ts9-20020a7bc389000000b0039c49fe25dfmr4507767wmj.164.1655911161116; \n\tWed, 22 Jun 2022 08:19:21 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 22 Jun 2022 17:19:13 +0200","Message-Id":"<20220622151918.451635-1-fsylvestre@baylibre.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/5] Add GSL,\n\tLSC and DPCC tuning support for rkisp1","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>","From":"Florian Sylvestre via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Florian Sylvestre <fsylvestre@baylibre.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello,\n\nThis patch series adds support for several rkisp1 algorithms control:\n\t- Gamma Sensor Linearization (patch 2/5)\n\t- Lens Shading Correction (patch 3/5)\n\t- Defect Pixel Cluster Correction (patch 5/5)\n\nTo manage efficiently lists in YAML tuning file, I added a function in the YAML\nparser to retrieve lists in a single call (patch 1/5).\n\nI have also updated rkisp1 headers from branch:\npinchartl/v5.19/dev/isp/next to get latest DPCC defines (patch 4/5)\n\nThe series is based on top of \"[PATCH v4 12/12] ipa: rkisp1: Add support of\nBlack Level Correction tuning\"\nFlorian Sylvestre (5):\n  libcamera: yaml_parser: Add getList() function\n  ipa: rkisp1: Add support of Gamma Sensor Linearization control\n  ipa: rkisp1: Add support of Lens Shading Correction control\n  include: linux: Update rkisp1 kernel header for DPCC configuration\n  ipa: rkisp1: Add support of Defect Pixel Cluster Correction control\n\n include/libcamera/internal/yaml_parser.h |  16 ++\n include/linux/rkisp1-config.h            |  77 +++++--\n src/ipa/rkisp1/algorithms/dpcc.cpp       | 273 +++++++++++++++++++++++\n src/ipa/rkisp1/algorithms/dpcc.h         |  35 +++\n src/ipa/rkisp1/algorithms/gsl.cpp        | 142 ++++++++++++\n src/ipa/rkisp1/algorithms/gsl.h          |  38 ++++\n src/ipa/rkisp1/algorithms/lsc.cpp        | 171 ++++++++++++++\n src/ipa/rkisp1/algorithms/lsc.h          |  44 ++++\n src/ipa/rkisp1/algorithms/meson.build    |   3 +\n src/ipa/rkisp1/data/ov5640.yaml          | 147 ++++++++++++\n src/ipa/rkisp1/rkisp1.cpp                |   3 +\n src/libcamera/yaml_parser.cpp            |  73 ++++++\n test/yaml-parser.cpp                     |   6 +\n 13 files changed, 1012 insertions(+), 16 deletions(-)\n create mode 100644 src/ipa/rkisp1/algorithms/dpcc.cpp\n create mode 100644 src/ipa/rkisp1/algorithms/dpcc.h\n create mode 100644 src/ipa/rkisp1/algorithms/gsl.cpp\n create mode 100644 src/ipa/rkisp1/algorithms/gsl.h\n create mode 100644 src/ipa/rkisp1/algorithms/lsc.cpp\n create mode 100644 src/ipa/rkisp1/algorithms/lsc.h"}