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_FPN_TYPES_H
16 #define __IA_CSS_FPN_TYPES_H
19 * CSS-API header file for Fixed Pattern Noise parameters.
22 /** Fixed Pattern Noise table.
24 * This contains the fixed patterns noise values
25 * obtained from a black frame capture.
27 * "shift" should be set as the smallest value
28 * which satisfies the requirement the maximum data is less than 64.
35 struct ia_css_fpn_table {
36 int16_t *data; /**< Table content (fixed patterns noise).
37 u0.[13-shift], [0,63] */
38 uint32_t width; /**< Table width (in pixels).
39 This is the input frame width. */
40 uint32_t height; /**< Table height (in pixels).
41 This is the input frame height. */
42 uint32_t shift; /**< Common exponent of table content.
44 uint32_t enabled; /**< Fpn is enabled.
48 struct ia_css_fpn_configuration {
49 const struct ia_css_frame_info *info;
52 #endif /* __IA_CSS_FPN_TYPES_H */