From patchwork Tue Jun 23 09:14:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 4140 Return-Path: Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E88E5609A3 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="JGeXiYV2"; dkim-atps=neutral Received: by mail-wm1-x342.google.com with SMTP id q15so620648wmj.2 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:in-reply-to:references :mime-version:content-transfer-encoding; bh=lwuzQcP5NtV0Djz+8ybqG+xX95tfmuqC7ARVnlPnPCk=; b=JGeXiYV2YxmyDPElWowVbMs8jlDQMufQ9Hf7hIsN8DeAJfTg6oRa/XiAvTLrHP76PD tu4CWKa4WJWVzqCAwSyDSI3B7AyvLb0S7pmt0BEdNCVtmJ/vgQOvFLCFNqYf3qqo81gZ plyyGvWd2ZitulZd3bk7Foc5yD1jW+PD6JOJ0btBxeUg7kVLn6st24OKFEPzJaP2S/I2 3Ew0xuiOXsShFtmwNiVaRWAVanli4oi05Ycu2Vt6cxKorXxJbo96CZlv5ckxCddu2PUa 5x25wpvuQ0/Oghfc/gMVx6uZKtho9ijPfThxpr3carHNBLPdgCGU0VhF+4wQoEfAVNNp MKgA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=lwuzQcP5NtV0Djz+8ybqG+xX95tfmuqC7ARVnlPnPCk=; b=Wq1RaX4j2yF2Eh9TNjfzAwuceLsW9uyCxeojTk+8B+PoQzoK8jw3vUSfduHFfYp5mO ssmjqcD0FGRVzMDi+t7bwLcQK9uyuVUQ6ZWCBDvRPHQbQZpRlPcGnTK5zVXcT0ZeEdSn /Yfxx5t2ncDAFHvAI9V6hYE+yFJuvm1yGFF5q6iO1gZBkWJHm3Pnan4vePrWOIPbJlcI dnB5Nw/DxtTmJ+fIuWWq95OpcW6so4Da6L/TMS7iw720PDu5U8j20D2bWa8zW3d30IvN kAeRCB5scIMhUsGO7vDmBAuMKtCmyw3U3lOx3eO0oESTZfXdjOx0mhZ3Co/6+D4PHUvq RMOg== X-Gm-Message-State: AOAM531c3IvBZarn1zMBjG2z/75SAOu0kOwkKIOS0yyhQu1gJTmmQK14 58Yz1EupjfpSNqZph5NBd/DOD3I+YtE= X-Google-Smtp-Source: ABdhPJy0Y2gA/WXEjYsXua14B06mQIbEbEG1yEm4uA/20k8ePVdn8EGk85NsH/xlfYkPIGyTKXBcKA== X-Received: by 2002:a1c:1984:: with SMTP id 126mr21784328wmz.147.1592903649383; Tue, 23 Jun 2020 02:14:09 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 02:14:08 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Tue, 23 Jun 2020 10:14:01 +0100 Message-Id: <20200623091404.15155-2-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200623091404.15155-1-david.plowman@raspberrypi.com> References: <20200623091404.15155-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 1/4] libcamera: Add a 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 The control is a single float value with minimum, default and maximum values. Please read the description for more details. Signed-off-by: David Plowman --- src/libcamera/control_ids.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml index 77ebc3f..8c3e4c7 100644 --- a/src/libcamera/control_ids.yaml +++ b/src/libcamera/control_ids.yaml @@ -239,4 +239,16 @@ controls: pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels control can only be returned in metadata. size: [4] + + - Sharpness: + type: float + description: | + A value of 0.0 means no sharpening. The minimum value means + minimal sharpening, and shall be 0.0 unless the camera can't + disable sharpening completely. The default value shall give a + "reasonable" level of sharpening, suitable for most use cases. + The maximum value may apply extremely high levels of sharpening, + higher than anyone could reasonably want. Negative values are + not allowed. Note also that sharpening is not applied to raw + streams. ...