1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 */ 6 7 #include "system_global.h" 8 #include "ia_css_types.h" 9 #include "ia_css_macc_table.host.h" 10 11 /* Multi-Axes Color Correction table for ISP1. 12 * 64values = 2x2matrix for 16area, [s2.13] 13 * ineffective: 16 of "identity 2x2 matrix" {8192,0,0,8192} 14 */ 15 const struct ia_css_macc_table default_macc_table = { 16 { 17 8192, 0, 0, 8192, 8192, 0, 0, 8192, 18 8192, 0, 0, 8192, 8192, 0, 0, 8192, 19 8192, 0, 0, 8192, 8192, 0, 0, 8192, 20 8192, 0, 0, 8192, 8192, 0, 0, 8192, 21 8192, 0, 0, 8192, 8192, 0, 0, 8192, 22 8192, 0, 0, 8192, 8192, 0, 0, 8192, 23 8192, 0, 0, 8192, 8192, 0, 0, 8192, 24 8192, 0, 0, 8192, 8192, 0, 0, 8192 25 } 26 }; 27 28 /* Multi-Axes Color Correction table for ISP2. 29 * 64values = 2x2matrix for 16area, [s1.12] 30 * ineffective: 16 of "identity 2x2 matrix" {4096,0,0,4096} 31 */ 32 const struct ia_css_macc_table default_macc2_table = { 33 { 34 4096, 0, 0, 4096, 4096, 0, 0, 4096, 35 4096, 0, 0, 4096, 4096, 0, 0, 4096, 36 4096, 0, 0, 4096, 4096, 0, 0, 4096, 37 4096, 0, 0, 4096, 4096, 0, 0, 4096, 38 4096, 0, 0, 4096, 4096, 0, 0, 4096, 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 } 43 }; 44