.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /** |
---|
2 | 3 | * |
---|
3 | 4 | * GSPCA sub driver for W996[78]CF JPEG USB Dual Mode Camera Chip. |
---|
.. | .. |
---|
7 | 8 | * This module is adapted from the in kernel v4l1 w9968cf driver: |
---|
8 | 9 | * |
---|
9 | 10 | * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it> |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License as published by |
---|
13 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
14 | | - * any later version. |
---|
15 | | - * |
---|
16 | | - * This program is distributed in the hope that it will be useful, |
---|
17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
19 | | - * GNU General Public License for more details. |
---|
20 | | - * |
---|
21 | 11 | */ |
---|
22 | 12 | |
---|
23 | 13 | /* Note this is not a stand alone driver, it gets included in ov519.c, this |
---|
.. | .. |
---|
436 | 426 | start_cropy = 35; |
---|
437 | 427 | } |
---|
438 | 428 | |
---|
439 | | - /* Work around to avoid FP arithmetics */ |
---|
| 429 | + /* Work around to avoid FP arithmetic */ |
---|
440 | 430 | #define SC(x) ((x) << 10) |
---|
441 | 431 | |
---|
442 | 432 | /* Scaling factors */ |
---|