.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Functions for auto gain. |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2010-2012 Hans de Goede <hdegoede@redhat.com> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License as published by |
---|
8 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
9 | | - * (at your option) any later version. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | 6 | */ |
---|
16 | 7 | #include "gspca.h" |
---|
17 | 8 | |
---|
.. | .. |
---|
98 | 89 | 80 %) and if that does not help, only then changes exposure. This leads |
---|
99 | 90 | to a much more stable image then using the knee algorithm which at |
---|
100 | 91 | certain points of the knee graph will only try to adjust exposure, |
---|
101 | | - which leads to oscilating as one exposure step is huge. |
---|
| 92 | + which leads to oscillating as one exposure step is huge. |
---|
102 | 93 | |
---|
103 | 94 | Returns 0 if no changes were made, 1 if the gain and or exposure settings |
---|
104 | 95 | where changed. */ |
---|