Merge tag 'nand/for-4.16' of git://git.infradead.org/linux-mtd into mtd/next
[linux-2.6-microblaze.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / ob / ob2 / ia_css_ob2_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_OB2_TYPES_H
16 #define __IA_CSS_OB2_TYPES_H
17
18 /** @file
19 * CSS-API header file for Optical Black algorithm parameters.
20 */
21
22 /** Optical Black configuration
23  *
24  * ISP2.6.1: OB2 is used.
25  */
26
27 #include "ia_css_frac.h"
28
29 struct ia_css_ob2_config {
30         ia_css_u0_16 level_gr;    /**< Black level for GR pixels.
31                                         u0.16, [0,65535],
32                                         default/ineffective 0 */
33         ia_css_u0_16  level_r;     /**< Black level for R pixels.
34                                         u0.16, [0,65535],
35                                         default/ineffective 0 */
36         ia_css_u0_16  level_b;     /**< Black level for B pixels.
37                                         u0.16, [0,65535],
38                                         default/ineffective 0 */
39         ia_css_u0_16  level_gb;    /**< Black level for GB pixels.
40                                         u0.16, [0,65535],
41                                         default/ineffective 0 */
42 };
43
44 #endif /* __IA_CSS_OB2_TYPES_H */
45