]> git.ipfire.org Git - thirdparty/kernel/stable.git/blob - drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/de/de_1.0/ia_css_de_types.h
ASoC: cx20442: fix regression by adding back .read/.write
[thirdparty/kernel/stable.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / de / de_1.0 / ia_css_de_types.h
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 #ifndef __IA_CSS_DE_TYPES_H
16 #define __IA_CSS_DE_TYPES_H
17
18 /** @file
19 * CSS-API header file for Demosaic (bayer-to-YCgCo) parameters.
20 */
21
22 /** Demosaic (bayer-to-YCgCo) configuration.
23 *
24 * ISP block: DE1
25 * ISP1: DE1 is used.
26 * (ISP2: DE2 is used.)
27 */
28 struct ia_css_de_config {
29 ia_css_u0_16 pixelnoise; /**< Pixel noise used in moire elimination.
30 u0.16, [0,65535],
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.
34 u0.16, [0,65535],
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.
38 u0.16, [0,65535],
39 default 128(0.001953125), ineffective 0 */
40 };
41
42 #endif /* __IA_CSS_DE_TYPES_H */
43