/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (C) 2019, Raspberry Pi Ltd
*
* Sharpen control algorithm status
*/
#pragma once
/* The "sharpen" algorithm stores the strength to use. */
struct SharpenStatus {
/* controls the smallest level of detail (or noise!) that sharpening will pick up */
double threshold;
/* the rate at which the sharpening response ramps once above the threshold */
double strength;
/* upper limit of the allowed sharpening response */
double limit;
/* The sharpening strength requested by the user or application. */
double userStrength;
};
'>index : libcamera/vivid.git
blob: a07679b587cef2923e8958bdd34a7cb073c1ea81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2020, Google Inc.
*
* v4l2_camera_file.h - V4L2 compatibility camera file information
*/
#include "v4l2_camera_file.h"
#include <linux/videodev2.h>
#include "v4l2_camera_proxy.h"
using namespace libcamera;
V4L2CameraFile::V4L2CameraFile(int efd, bool nonBlocking, V4L2CameraProxy *proxy)
: proxy_(proxy), nonBlocking_(nonBlocking), efd_(efd),
|