]>
git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/wb/wb_1.0/ia_css_wb_types.h
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_WB_TYPES_H
16 #define __IA_CSS_WB_TYPES_H
19 * CSS-API header file for White Balance parameters.
23 /** White Balance configuration (Gain Adjust).
29 struct ia_css_wb_config
{
30 uint32_t integer_bits
; /**< Common exponent of gains.
32 default 1, ineffective 1 */
33 uint32_t gr
; /**< Significand of Gr gain.
34 u[integer_bits].[16-integer_bits], [0,65535],
35 default/ineffective 32768(u1.15, 1.0) */
36 uint32_t r
; /**< Significand of R gain.
37 u[integer_bits].[16-integer_bits], [0,65535],
38 default/ineffective 32768(u1.15, 1.0) */
39 uint32_t b
; /**< Significand of B gain.
40 u[integer_bits].[16-integer_bits], [0,65535],
41 default/ineffective 32768(u1.15, 1.0) */
42 uint32_t gb
; /**< Significand of Gb gain.
43 u[integer_bits].[16-integer_bits], [0,65535],
44 default/ineffective 32768(u1.15, 1.0) */
47 #endif /* __IA_CSS_WB_TYPES_H */