]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob
f9a430da54b8c9bf4a433f2aabff05c7d5e94ea5
[thirdparty/kernel/linux.git] /
1 /*
2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 */
14
15 #include "system_global.h"
16 #include "ia_css_types.h"
17 #include "ia_css_macc_table.host.h"
18
19 /* Multi-Axes Color Correction table for ISP1.
20 * 64values = 2x2matrix for 16area, [s2.13]
21 * ineffective: 16 of "identity 2x2 matix" {8192,0,0,8192}
22 */
23 const struct ia_css_macc_table default_macc_table = {
24 {
25 8192, 0, 0, 8192, 8192, 0, 0, 8192,
26 8192, 0, 0, 8192, 8192, 0, 0, 8192,
27 8192, 0, 0, 8192, 8192, 0, 0, 8192,
28 8192, 0, 0, 8192, 8192, 0, 0, 8192,
29 8192, 0, 0, 8192, 8192, 0, 0, 8192,
30 8192, 0, 0, 8192, 8192, 0, 0, 8192,
31 8192, 0, 0, 8192, 8192, 0, 0, 8192,
32 8192, 0, 0, 8192, 8192, 0, 0, 8192
33 }
34 };
35
36 /* Multi-Axes Color Correction table for ISP2.
37 * 64values = 2x2matrix for 16area, [s1.12]
38 * ineffective: 16 of "identity 2x2 matix" {4096,0,0,4096}
39 */
40 const struct ia_css_macc_table default_macc2_table = {
41 {
42 4096, 0, 0, 4096, 4096, 0, 0, 4096,
43 4096, 0, 0, 4096, 4096, 0, 0, 4096,
44 4096, 0, 0, 4096, 4096, 0, 0, 4096,
45 4096, 0, 0, 4096, 4096, 0, 0, 4096,
46 4096, 0, 0, 4096, 4096, 0, 0, 4096,
47 4096, 0, 0, 4096, 4096, 0, 0, 4096,
48 4096, 0, 0, 4096, 4096, 0, 0, 4096,
49 4096, 0, 0, 4096, 4096, 0, 0, 4096
50 }
51 };