From patchwork Tue Jun 23 09:14:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 4139 Return-Path: Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CE20D603BA for ; Tue, 23 Jun 2020 11:14:09 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="aPWHXMM+"; dkim-atps=neutral Received: by mail-wm1-x329.google.com with SMTP id 22so1406053wmg.1 for ; Tue, 23 Jun 2020 02:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=10zixTiYVNPA/nzmmoNjm+jaJX4DZ82c1YhfzYb00pc=; b=aPWHXMM+u3AulQpSiWHUjpK9K+A8okw9U/6rpXvrFz80Azfu8viMujoZ3I15JU4mie 00zT4PbpvIrDrgwrzjg+GVlieUZM0vOw5g34vzzpPHp4j1mNh9XZC7r2US19hG6dLRTz 7XMEHVaHauGwr0QYYbV4gFuuVeApSYGL05zt742kY81TL0//jfy83isJK34IAb9FWnRX +/w/Ud5xlM0EDUA8Rfse5skvuWdiM/ztaWsGEazwEPlFjbhurBzxYlGwvsaHVeWBzMIr c/QbzOjBbGyMesJfD/XjCFI5vyvQB74eqFi+kejF6dL0UWjs2kBGeFmdUNXPwLOBRPtX zCrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=10zixTiYVNPA/nzmmoNjm+jaJX4DZ82c1YhfzYb00pc=; b=rB1XNWTC7xh40JB0wB2JzphQAeO0YCOgc+tNLT4uxoxwJSsgwC5IIfsIbJJSbdzR9W w5KXIvPVHr5iY5Zzgrsdo5Vfd3DnF1DFYLYs71sPqBBL9XkbCZzRQAlSlGuDFahoIO2H LhymTZDyMFa8EjVEa/sQ1BlGOcH2CS3lrMi57ruYjPL26zOsJ+KYswJKOmoA1QK+W2te xsowV879jMkxHYrMWHa11Yi2aRqojalCd2vNSdTKw7ws+bLbucnYzyoKVABd6IdLdNww S/D9ManaGI8OvB3QN8CGPHD6cxzxaqN0FhQsNEQ3/CBa+NmRGcNmwm88iqkCVxW5ZNK2 wAqg== X-Gm-Message-State: AOAM5316hvrKHefDMjVUDOpcVo2LGefxWaWst36l884odKHe3nE5/DMk NIYyb6dyAstspfc0SdA99GJ/ig/VfQU= X-Google-Smtp-Source: ABdhPJw5cfN5xsjJPMfNwACysrJNnZS+FvVM9sqvJb+Fxc/jzd2d4sBEgaQPgIGmRhTR/3aSFcqlNw== X-Received: by 2002:a1c:c908:: with SMTP id f8mr22974247wmb.150.1592903648025; Tue, 23 Jun 2020 02:14:08 -0700 (PDT) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id t125sm2931616wmf.10.2020.06.23.02.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 02:14:07 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Tue, 23 Jun 2020 10:14:00 +0100 Message-Id: <20200623091404.15155-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/4] libcamera sharpness strength control X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2020 09:14:10 -0000 Hi Version 3 of the sharpness control patch - same as v2 except: * Commit messages tidied a little. * In commit 3 I've made the user_strength_ parameter a regular double too, as everything does get serialised within our pipeline handler. Thanks and best regards David David Plowman (4): libcamera: Add a sharpness strength control libcamera: ipa: raspberrypi: Make sharpening mode_factor an ordinary double libcamera: ipa: raspberrypi: Add sharpness strength control libcamera: ipa: raspberrypi: plumb in the libcamera sharpness control include/libcamera/ipa/raspberrypi.h | 1 + .../raspberrypi/controller/rpi/sharpen.cpp | 29 +++++++++++++++---- .../raspberrypi/controller/rpi/sharpen.hpp | 8 +++-- .../controller/sharpen_algorithm.hpp | 21 ++++++++++++++ .../raspberrypi/controller/sharpen_status.h | 2 ++ src/ipa/raspberrypi/raspberrypi.cpp | 12 ++++++++ src/libcamera/control_ids.yaml | 12 ++++++++ 7 files changed, 76 insertions(+), 9 deletions(-) create mode 100644 src/ipa/raspberrypi/controller/sharpen_algorithm.hpp