{"id":16705,"url":"https://patchwork.libcamera.org/api/1.1/covers/16705/?format=json","web_url":"https://patchwork.libcamera.org/cover/16705/","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":"<20220720154221.50937-1-fsylvestre@baylibre.com>","date":"2022-07-20T15:42:17","name":"[libcamera-devel,v2,0/4] Add Demosaicing and Color Processing control for rkisp1","submitter":{"id":123,"url":"https://patchwork.libcamera.org/api/1.1/people/123/?format=json","name":"Florian Sylvestre","email":"fsylvestre@baylibre.com"},"mbox":"https://patchwork.libcamera.org/cover/16705/mbox/","series":[{"id":3310,"url":"https://patchwork.libcamera.org/api/1.1/series/3310/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3310","date":"2022-07-20T15:42:17","name":"Add Demosaicing and Color Processing control for rkisp1","version":2,"mbox":"https://patchwork.libcamera.org/series/3310/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/16705/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 15FF6BD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 20 Jul 2022 15:42:29 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5A1E763312;\n\tWed, 20 Jul 2022 17:42:28 +0200 (CEST)","from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com\n\t[IPv6:2a00:1450:4864:20::42a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 44E9760489\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 20 Jul 2022 17:42:27 +0200 (CEST)","by mail-wr1-x42a.google.com with SMTP id d16so26664993wrv.10\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 20 Jul 2022 08:42:27 -0700 (PDT)","from BL087.. ([2a01:e34:eea9:e630:516d:f303:6345:b768])\n\tby smtp.gmail.com with ESMTPSA id\n\td2-20020adffbc2000000b0021e489ec78bsm2159294wrs.21.2022.07.20.08.42.25\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 20 Jul 2022 08:42:25 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1658331748;\n\tbh=qtCR4fgutxccqwIsfq4nl6NDYqXX3zCFLq+8sO/unZU=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=f3Zf8AnHatHpw6pJybww6TRwCFhpCk9h3jw/YPX3mF1WAzI/Vd9bLEWzCz/Uu9EOu\n\tlcxUC8LbcXT93KbcaxsOP9He/upyQu1OR8T0H7eIlPEI8lfjtiARE3U5v0070XeJh2\n\tjsjwnt19GEH1CuXhmYQTpBFiOEWIJbSfUE+0uW8RFc7YGXF5ufmqV/HspACy3hwB0h\n\taBGWUmSmHCP7dhBi98YM12HiXz75AR55i3nzE/vR6sZfIOd1f/ewenklFKtpusKOrI\n\tkBn+ehAvVzP4HV1p4PgU2rh0POy+vbgKrQqFMyxRf+bhxwTQAj+IFDAno4YOkN70uw\n\tywOj+h2VUKEeA==","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=8Pi9b/7lnrM5Jcv9Vdd1FVHOzK4WW9TjsGmb/gamr+4=;\n\tb=i2aN8JiyPBYNijNSAlXjiBaiu5VArhayqeJ1YUw5NU2PWubAqZLWhSySaMlbKZAK3I\n\teSz3bXvioYtoQU5N6AlUFtdIFYNcC2xZLKQkCB5VPw9LeCCdVwF5L+MpiarywnWPrmEN\n\t4TgPluuJumBH0jKURc70X1Y4nmr4Tjco3KK/0KbGvSXHvgKrSo7qD7Vcpy/NhYHpVy38\n\tK8hLxqVVbhAwot0pZGklozY+/pZr2/bONBpyJfwEQXRzVbsBSDmag5kEj1rnP2eQ0Htt\n\tBR/I9BY2422soM7M/kxt1ZaxTGQXXaCmm2UcNYp8HzcW8Sz6V5VB51cBCUq5BXLMdTDz\n\tzfiQ=="],"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=\"i2aN8Jiy\"; \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=8Pi9b/7lnrM5Jcv9Vdd1FVHOzK4WW9TjsGmb/gamr+4=;\n\tb=WodPpzTkod94E03veRhmI2410TuBYSN6Uz00S3kRGBy9ags8QfwDoRHA71pEryE4U+\n\tcIRjVYUGOsfpAUmAsgw4roKerBFpZCyqSUa7h5znDIkZJtk+mpv+N5dVhRLXgcUcw9Xw\n\t477xlvY9aNqJXJi5d9dflfhq2XSYQ+5oBdxUkD4BbJrW4X5fpE21/awxEz6b0FoHdKVg\n\tHWg2CJWN8CQ0p6C7fzlE1kPAx2TbgILnuvV2UGfDwuUX3RZltKE1uRVMDokBQFKc5VGJ\n\t9usfLZrQt3pHywzmdcmcx9wHT6KxaM/+h5+tV6VLfiX0JBSadOxyI5/4/drKgNx9vUk4\n\t6uiQ==","X-Gm-Message-State":"AJIora96iUJbC+aR3DvC+8kDKX1WjRnNLRdrBu16RVGxp/LK0jATX59a\n\t/QU7qpMEJhbXlMB/elrUk28AvWfJcl6RT3zA","X-Google-Smtp-Source":"AGRyM1vGUeMIyYTbis0lOGvlze0HVjLrqJfD0m6xM35qRmxnTvi56YwuzyZpuc8p7EtMHYrNNbAtwQ==","X-Received":"by 2002:adf:cd05:0:b0:21d:df26:8db with SMTP id\n\tw5-20020adfcd05000000b0021ddf2608dbmr19957823wrm.220.1658331746578; \n\tWed, 20 Jul 2022 08:42:26 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 20 Jul 2022 17:42:17 +0200","Message-Id":"<20220720154221.50937-1-fsylvestre@baylibre.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 0/4] Add Demosaicing and Color\n\tProcessing control 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 two rkisp1 algorithms:\n        - Demosaicing algorithm (patch 3/4)\n        - Color Processing algorithm (patch 4/4)\nDemosaicing algorithm is in charge of denoising and sharpness control.\nColorProcessing algorithm is in charge of brightness, contrast and saturation\ncontrol.\n\nDemosaicing and ColorProcessing algorithm are currently configurable from the\napplication by user controls.\nSo I add support for transfering user controls respectively in the algorithm\nclass (patch 1/4) and in the IPARkISP1 (patch 2/4).\n\nThis version addresses all the feedback made on the first version except for\nthe use of a frameContext associated with the targeted frame (the frameContext\nused is the one of the current frame, as it's not currently supported for\nrkisp).\n\nFlorian Sylvestre (4):\n  ipa: libipa: algorithm: Add queueRequest() to the Algorithm class\n  ipa: rkisp1: Transfer queueRequest() call to each algorithm\n  ipa: rkisp1: Add support of Demosaicing control\n  ipa: rkisp1: Add support of ColorProcessing control\n\n src/ipa/libipa/algorithm.cpp              |  16 ++\n src/ipa/libipa/algorithm.h                |   8 +\n src/ipa/rkisp1/algorithms/cproc.cpp       |  94 +++++++++++\n src/ipa/rkisp1/algorithms/cproc.h         |  30 ++++\n src/ipa/rkisp1/algorithms/demosaicing.cpp | 197 ++++++++++++++++++++++\n src/ipa/rkisp1/algorithms/demosaicing.h   |  30 ++++\n src/ipa/rkisp1/algorithms/meson.build     |   2 +\n src/ipa/rkisp1/data/ov5640.yaml           |   2 +\n src/ipa/rkisp1/ipa_context.h              |  13 ++\n src/ipa/rkisp1/rkisp1.cpp                 |   8 +-\n src/libcamera/pipeline/rkisp1/rkisp1.cpp  |  20 +++\n 11 files changed, 417 insertions(+), 3 deletions(-)\n create mode 100644 src/ipa/rkisp1/algorithms/cproc.cpp\n create mode 100644 src/ipa/rkisp1/algorithms/cproc.h\n create mode 100644 src/ipa/rkisp1/algorithms/demosaicing.cpp\n create mode 100644 src/ipa/rkisp1/algorithms/demosaicing.h"}