{"id":10944,"url":"https://patchwork.libcamera.org/api/1.1/covers/10944/?format=json","web_url":"https://patchwork.libcamera.org/cover/10944/","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":"<20210122092537.708375-1-naush@raspberrypi.com>","date":"2021-01-22T09:25:31","name":"[libcamera-devel,v2,0/6] Raspberry Pi: Colour denoise","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/10944/mbox/","series":[{"id":1596,"url":"https://patchwork.libcamera.org/api/1.1/series/1596/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1596","date":"2021-01-22T09:25:31","name":"Raspberry Pi: Colour denoise","version":2,"mbox":"https://patchwork.libcamera.org/series/1596/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/10944/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 9BD5DBD808\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 22 Jan 2021 09:25:45 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F362C68235;\n\tFri, 22 Jan 2021 10:25:44 +0100 (CET)","from mail-wr1-x436.google.com (mail-wr1-x436.google.com\n\t[IPv6:2a00:1450:4864:20::436])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 099F36822E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Jan 2021 10:25:43 +0100 (CET)","by mail-wr1-x436.google.com with SMTP id c12so4380116wrc.7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Jan 2021 01:25:43 -0800 (PST)","from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\th15sm10664801wru.4.2021.01.22.01.25.41\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 22 Jan 2021 01:25:41 -0800 (PST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"QPb/ws0L\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=m61hNY8PhJnSRsg+Rcpae/jsrF+Ev4uLaOh/zPHK83k=;\n\tb=QPb/ws0LXltHv26hLVgV7a+7CFEh+ujosBsQ7Sfse1hsVBvsUmBSVm3ewa9ZgnESXO\n\tx/2NWw3aj7+8U0nUkdhCVyhFUOAIzReuAVrcyzkX0byZAl/OrWeLg9ISEvDnZikTEIq8\n\tX7aRrlYVimL1FZte7SY8hlE6fb0q3YLoIhAZ6iaLKFNyGbR3OCkK07qX3ujRQpWt9erb\n\tnTh7Q1IMAK7SXCqlVfu/9nWfAYiLJYqe1lcyaW00T8V8MvujjKUo+41ub2tSBkzgrRRV\n\tx7zQnan6k1vs8dZavc03UCFUkUXKWwWz0QcbqouzJhfphpM0dmZBqOf4qDibu5KkP5lk\n\tc5JQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=m61hNY8PhJnSRsg+Rcpae/jsrF+Ev4uLaOh/zPHK83k=;\n\tb=AEds2BMOx2P9JMJeBvDSuoFoytFRWksrpXStWgqDSSPOJpoW30IvV/pi4wiPKzp1QV\n\tJmKvCF66F5ImJ271PohhmJbFNlvOyftXXEZCMi2GJohCX05XWr6QIzPZ6QLoCUiOn4oq\n\tJAJ4GeMNHh3mHUkASy3rFki2udkXQX+F9uW+15WfCANL+LKruL/iUOCXufIEQSpYljUL\n\t8xr4PLPGQw/oQ3tsQ6CI7UpK+qrAqE6WnyPcO/n+IyAxkX9RGyIlazLmMgd23eLfBp94\n\t3GxznrJk+jRZwLJ2sIi2mTZWeboFc3Y13HeBfN2nWVivTtjReXLxY1qzCn9SNR3FvOgJ\n\tLg0w==","X-Gm-Message-State":"AOAM532JytTGKLbZGANSoFSeWK20aMapq/MNhCza6pUGIQTYOhJXcweb\n\tDL1iGUDgaKdXzYmNMd0Y4/ljrLEarEJgvA==","X-Google-Smtp-Source":"ABdhPJye6uHPuyk/dueIKEvE2Cy7sMCG2Uu4Zx5uxecHiYkJeI4wRRLxSxONmCxjo620NuOfBhUaog==","X-Received":"by 2002:adf:ce90:: with SMTP id\n\tr16mr3603529wrn.100.1611307542435; \n\tFri, 22 Jan 2021 01:25:42 -0800 (PST)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 22 Jan 2021 09:25:31 +0000","Message-Id":"<20210122092537.708375-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 0/6] Raspberry Pi: Colour denoise","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>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nThis is v2 of the patchset that adds colour denoise support to the Raspberry Pi pipeline handler and IPA.  The differences from v1 are:\n\n1) In patch 2/6, we simplify the 1/4 resolution calculation using the existing methods in the Size class.\n2) Patch 4/6 is a new commit that renames SdnStatus to DenoiseStatus to reflect us now using a DenoiseAlgorithm base class.\n3) In patches 5/6 and 6/6 we expand the DenoiseMode enum to allow us to selectively switch off SDN and CDN.\n\nMany thanks,\nNaush\n\nNaushir Patuck (6):\n  pipeline: raspberrypi: Refactor stream configuration routine\n  pipeline: raspberrypi: Set the ISP Output1 to 1/4 resolution if unused\n  uapi: raspberrypi: Update the bcm2835-isp header definition\n  ipa: raspberrypi: Rename SdnStatus to DenoiseStatus\n  ipa: raspberrypi: Add a DenoiseAlgorithm class to the Controller\n  ipa: raspberrypi: Handle control::NoiseReductionMode in the controller\n\n include/linux/bcm2835-isp.h                   | 32 ++++++-\n .../controller/denoise_algorithm.hpp          | 23 +++++\n .../{sdn_status.h => denoise_status.h}        |  7 +-\n src/ipa/raspberrypi/controller/rpi/sdn.cpp    | 17 ++--\n src/ipa/raspberrypi/controller/rpi/sdn.hpp    |  5 +-\n src/ipa/raspberrypi/raspberrypi.cpp           | 55 ++++++++++--\n .../pipeline/raspberrypi/raspberrypi.cpp      | 87 ++++++++++---------\n 7 files changed, 168 insertions(+), 58 deletions(-)\n create mode 100644 src/ipa/raspberrypi/controller/denoise_algorithm.hpp\n rename src/ipa/raspberrypi/controller/{sdn_status.h => denoise_status.h} (62%)"}