2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
15 #include "system_global.h"
16 #include "ia_css_types.h"
17 #include "ia_css_macc_table.host.h"
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}
23 const struct ia_css_macc_table default_macc_table = {
24 { 8192, 0, 0, 8192, 8192, 0, 0, 8192,
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 }
34 /* Multi-Axes Color Correction table for ISP2.
35 * 64values = 2x2matrix for 16area, [s1.12]
36 * ineffective: 16 of "identity 2x2 matix" {4096,0,0,4096}
38 const struct ia_css_macc_table default_macc2_table = {
39 { 4096, 0, 0, 4096, 4096, 0, 0, 4096,
40 4096, 0, 0, 4096, 4096, 0, 0, 4096,
41 4096, 0, 0, 4096, 4096, 0, 0, 4096,
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 }