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 #ifndef __IA_CSS_DE_TYPES_H
16 #define __IA_CSS_DE_TYPES_H
19 * CSS-API header file for Demosaic (bayer-to-YCgCo) parameters.
22 /* Demosaic (bayer-to-YCgCo) configuration.
26 * (ISP2: DE2 is used.)
28 struct ia_css_de_config
{
29 ia_css_u0_16 pixelnoise
; /** Pixel noise used in moire elimination.
31 default 0, ineffective 0 */
32 ia_css_u0_16 c1_coring_threshold
; /** Coring threshold for C1.
33 This is the same as nr_config.threshold_cb.
35 default 128(0.001953125), ineffective 0 */
36 ia_css_u0_16 c2_coring_threshold
; /** Coring threshold for C2.
37 This is the same as nr_config.threshold_cr.
39 default 128(0.001953125), ineffective 0 */
42 #endif /* __IA_CSS_DE_TYPES_H */