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_OB2_TYPES_H
16 #define __IA_CSS_OB2_TYPES_H
19 * CSS-API header file for Optical Black algorithm parameters.
22 /** Optical Black configuration
24 * ISP2.6.1: OB2 is used.
27 #include "ia_css_frac.h"
29 struct ia_css_ob2_config {
30 ia_css_u0_16 level_gr; /**< Black level for GR pixels.
32 default/ineffective 0 */
33 ia_css_u0_16 level_r; /**< Black level for R pixels.
35 default/ineffective 0 */
36 ia_css_u0_16 level_b; /**< Black level for B pixels.
38 default/ineffective 0 */
39 ia_css_u0_16 level_gb; /**< Black level for GB pixels.
41 default/ineffective 0 */
44 #endif /* __IA_CSS_OB2_TYPES_H */