From patchwork Fri Jun 19 09:27:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 4099 Return-Path: Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1145A609A5 for ; Fri, 19 Jun 2020 11:27:52 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="cPi1Gktm"; dkim-atps=neutral Received: by mail-wm1-x341.google.com with SMTP id g10so7797256wmh.4 for ; Fri, 19 Jun 2020 02:27:52 -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=p53m5urB+gdoT9u3aVX/6ufi992DRz37k9liETGXFCU=; b=cPi1Gktm5HtULLFDoRotl+KvwdsHAgJ3P1PGLNHLC07vTptkbfzcxkNohAysWPvjA4 egr2mo2pe5J269aNTDz557OyUj4Hi+89+c2tczMx4sMD+AKmpVqhTz3eU9AyrgN5Y6Le pkNQOJBrwTDvrLdJexUQvZH/tfPpjNEMFjvKtueZ6NnxzAglXF/6FtMncqaLCAbQGuKr BKSyLAmqqmR5XQoRLFIE3vph1yKSShyzyZHtjybSlaXgnbfJZ5oIKq+5aAExdMwbmDxG 4O2vKdRhmtecpJXlaHuYANkaaMtre54IMJBPXibaKOqHXsHRhgz7PULphkBPGqHVO2np eqsw== 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=p53m5urB+gdoT9u3aVX/6ufi992DRz37k9liETGXFCU=; b=qNsOT4v/QDHWLI02dEhvSbjbdpJPfxIUsSgkIneFzH8/9/8Ftn/SlNEaWtE7Dy4SEV ZXOfTmfMD0kqMVebYImcA5TfUVE+enojegCmd06oWZxICxn5cftZYv4l5wP7aoGwrOtp cecaHYCCrWs3QxH4VHRdwb8UUIGs3gi5iuhvwk1tRhNsrXnyBDbWkl9tm1NalCf7s1O1 xQghqpc/e5yOW3Lu3hL7IYRenZEZM0rPGT61iHpRAbkSiK9U9Hn8Qo/ynBZdWYzwJw/Z iZnX1owjq4PbpH9yaouOmCEUBoJIKHXEYzkSRkj/4BTMkBHyJPVGb1uk6KDuR5Kxih7j b9OQ== X-Gm-Message-State: AOAM532X/jJXLGXQlz3+Zz27sbJJJYBvClt3Xv71m0FHa4XnjMlzNdyb uUgadBMdhaZp9nx9LLeV7y2ENm0u1q0= X-Google-Smtp-Source: ABdhPJwcoa2waiZEh0kL4uEp5bKUFZclOgo4zF7OmH/w1Ryoe/7vYgSA1A/61vJTWhH+mA9LLCAaIg== X-Received: by 2002:a1c:bc0a:: with SMTP id m10mr2688067wmf.173.1592558871513; Fri, 19 Jun 2020 02:27:51 -0700 (PDT) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id n65sm5156154wmf.47.2020.06.19.02.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 02:27:51 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Fri, 19 Jun 2020 10:27:23 +0100 Message-Id: <20200619092725.19109-2-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200619092725.19109-1-david.plowman@raspberrypi.com> References: <20200619092725.19109-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/3] 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: Fri, 19 Jun 2020 09:27:52 -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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml index 77ebc3f..1bc1b10 100644 --- a/src/libcamera/control_ids.yaml +++ b/src/libcamera/control_ids.yaml @@ -239,4 +239,15 @@ 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: | + The strength of the sharpening to be applied. The minimum value + means minimal (or preferably no) sharpening, the maximum should + signify extremely high levels of sharpening (higher than anyone could + reasonably want), and the default value should give a "reasonable" + level, suitable for many use cases. We recommand that the amount + of sharpening applied should be "approximately" proportional to this + parameter. ...