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 #ifndef __IA_CSS_DE2_TYPES_H 8 #define __IA_CSS_DE2_TYPES_H 9 10 /* @file 11 * CSS-API header file for Demosaicing parameters. 12 */ 13 14 /* Eigen Color Demosaicing configuration. 15 * 16 * ISP block: DE2 17 * (ISP1: DE1 is used.) 18 * ISP2: DE2 is used. 19 */ 20 struct ia_css_ecd_config { 21 u16 zip_strength; /** Strength of zipper reduction. 22 u0.13, [0,8191], 23 default 5489(0.67), ineffective 0 */ 24 u16 fc_strength; /** Strength of false color reduction. 25 u0.13, [0,8191], 26 default 8191(almost 1.0), ineffective 0 */ 27 u16 fc_debias; /** Prevent color change 28 on noise or Gr/Gb imbalance. 29 u0.13, [0,8191], 30 default 0, ineffective 0 */ 31 }; 32 33 #endif /* __IA_CSS_DE2_TYPES_H */ 34