]>
Commit | Line | Data |
---|---|---|
a49d2536 AC |
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_OB2_TYPES_H | |
16 | #define __IA_CSS_OB2_TYPES_H | |
17 | ||
d929fb4e | 18 | /* @file |
a49d2536 AC |
19 | * CSS-API header file for Optical Black algorithm parameters. |
20 | */ | |
21 | ||
d929fb4e | 22 | /* Optical Black configuration |
a49d2536 AC |
23 | * |
24 | * ISP2.6.1: OB2 is used. | |
25 | */ | |
26 | ||
27 | #include "ia_css_frac.h" | |
28 | ||
29 | struct ia_css_ob2_config { | |
d929fb4e | 30 | ia_css_u0_16 level_gr; /** Black level for GR pixels. |
a49d2536 AC |
31 | u0.16, [0,65535], |
32 | default/ineffective 0 */ | |
d929fb4e | 33 | ia_css_u0_16 level_r; /** Black level for R pixels. |
a49d2536 AC |
34 | u0.16, [0,65535], |
35 | default/ineffective 0 */ | |
d929fb4e | 36 | ia_css_u0_16 level_b; /** Black level for B pixels. |
a49d2536 AC |
37 | u0.16, [0,65535], |
38 | default/ineffective 0 */ | |
d929fb4e | 39 | ia_css_u0_16 level_gb; /** Black level for GB pixels. |
a49d2536 AC |
40 | u0.16, [0,65535], |
41 | default/ineffective 0 */ | |
42 | }; | |
43 | ||
44 | #endif /* __IA_CSS_OB2_TYPES_H */ | |
45 |