{"id":4109,"url":"https://patchwork.libcamera.org/api/patches/4109/?format=json","web_url":"https://patchwork.libcamera.org/patch/4109/","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":"<20200622135550.10788-2-david.plowman@raspberrypi.com>","date":"2020-06-22T13:55:47","name":"[libcamera-devel,v2,1/4] libcamera: add a sharpness strength control","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"6fdf9bedf964e99be271623ac416c988229d7e51","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/4109/mbox/","series":[{"id":1024,"url":"https://patchwork.libcamera.org/api/series/1024/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1024","date":"2020-06-22T13:55:46","name":"libcamera sharpness strength control","version":2,"mbox":"https://patchwork.libcamera.org/series/1024/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/4109/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/4109/checks/","tags":{},"headers":{"Return-Path":"<david.plowman@raspberrypi.com>","Received":["from mail-wr1-x442.google.com (mail-wr1-x442.google.com\n\t[IPv6:2a00:1450:4864:20::442])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id AAC29603BE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 22 Jun 2020 15:56:00 +0200 (CEST)","by mail-wr1-x442.google.com with SMTP id q5so4385286wru.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 22 Jun 2020 06:56:00 -0700 (PDT)","from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tc201sm12742903wmd.4.2020.06.22.06.55.59\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 22 Jun 2020 06:55:59 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"OTALVZXR\"; 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:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=lwuzQcP5NtV0Djz+8ybqG+xX95tfmuqC7ARVnlPnPCk=;\n\tb=OTALVZXRAwnGdGyB5cuBgqCSpXhAiDiYs+LuIzGBD6HTOd3qbJgUlyYrKrGzQzjzH4\n\tL6euSZXMRSLJmLQaEhFBBSgsdNFHo561mWgjyDywiBXrSLPLr4yuVjsNHqKKV/FbD8rv\n\tHbeSekMaLPXi9ts9oXVm96uF8rrqLvi6h7LeNuqIDv3chvXza4xnKGtjNgySm3TRIh8Y\n\tcfdNNQ3bqj25DbMmkqleUPHnIKQjs7noTU4f+N5ZNbdAKWzId/A2641YRoENp7M4ngVh\n\tjRUKTlKhPeA8p8SGQ4Ii0OU2cgsb32h6X1IglF+ib4xmiSREHgxJrD2OnczFWwAQLSKV\n\tg4Gg==","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:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=lwuzQcP5NtV0Djz+8ybqG+xX95tfmuqC7ARVnlPnPCk=;\n\tb=YyappAq1qrhVa7DpJwIaX9sEbBIRWNJnYM43thrl7NGD2NbxcGBSzX6xwRS7YUMShf\n\tvV9KvG8E3LB2nXkGKOj099IETIZ81aWg1kMVT5oY57hb5w3/AEBf2KzHqFKJTa8Bhjs8\n\t4ghrQc2S+P7c2Uww2oglstp4F1GYyYdfJzHjNm9fqKwbCD47TJ+GflZM0lBHWnc18PmT\n\txsYlUvH7OfN9NP4CjHsiYQ1rq+eNV3E9n/chVEuh++sfGfcH/ctyGUklaqHEyT4k3OI9\n\tKlNqbl+ZAGR/9hhrr6yjHruhRI1BwwmmeMKXdw+jTHFStrTrQOVUvbUJtpgvUDARrLD2\n\tPiMA==","X-Gm-Message-State":"AOAM531/g+xsRmTOnXDnuffgp9UL4Q874xMaMTaP2+jX0PNCWCmk/2Gj\n\tpiq3fiMdEuWJFSCgrGFjeOiPE74AI7Y=","X-Google-Smtp-Source":"ABdhPJyTARib66xE00uPm5ETQmhYP8YuMwIpz6sKABLWCFG7JIg2i98yH3eRfDO/Ooy4nSFwjZieDw==","X-Received":"by 2002:adf:db4d:: with SMTP id\n\tf13mr15534799wrj.336.1592834160108; \n\tMon, 22 Jun 2020 06:56:00 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 22 Jun 2020 14:55:47 +0100","Message-Id":"<20200622135550.10788-2-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","In-Reply-To":"<20200622135550.10788-1-david.plowman@raspberrypi.com>","References":"<20200622135550.10788-1-david.plowman@raspberrypi.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 1/4] libcamera: add a sharpness\n\tstrength control","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>","X-List-Received-Date":"Mon, 22 Jun 2020 13:56:00 -0000"},"content":"The control is a single float value with minimum, default and maximum\nvalues. Please read the description for more details.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 12 ++++++++++++\n 1 file changed, 12 insertions(+)","diff":"diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 77ebc3f..8c3e4c7 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -239,4 +239,16 @@ controls:\n         pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels\n         control can only be returned in metadata.\n       size: [4]\n+\n+  - Sharpness:\n+      type: float\n+      description:  |\n+        A value of 0.0 means no sharpening. The minimum value means\n+        minimal sharpening, and shall be 0.0 unless the camera can't\n+        disable sharpening completely. The default value shall give a\n+        \"reasonable\" level of sharpening, suitable for most use cases.\n+        The maximum value may apply extremely high levels of sharpening,\n+        higher than anyone could reasonably want. Negative values are\n+        not allowed. Note also that sharpening is not applied to raw\n+        streams.\n ...\n","prefixes":["libcamera-devel","v2","1/4"]}