]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/anr/anr_1.0/ia_css_anr_types.h
Merge tag 'mac80211-for-davem-2017-05-23' of git://git.kernel.org/pub/scm/linux/kerne...
[mirror_ubuntu-hirsute-kernel.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / anr / anr_1.0 / ia_css_anr_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_ANR_TYPES_H
16 #define __IA_CSS_ANR_TYPES_H
17
18 /** @file
19 * CSS-API header file for Advanced Noise Reduction kernel v1
20 */
21
22 /* Application specific DMA settings */
23 #define ANR_BPP 10
24 #define ANR_ELEMENT_BITS ((CEIL_DIV(ANR_BPP, 8))*8)
25
26 /** Advanced Noise Reduction configuration.
27 * This is also known as Low-Light.
28 */
29 struct ia_css_anr_config {
30 int32_t threshold; /**< Threshold */
31 int32_t thresholds[4*4*4];
32 int32_t factors[3];
33 };
34
35 #endif /* __IA_CSS_ANR_TYPES_H */
36