Merge branch 'for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
[sfrench/cifs-2.6.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / aa / aa_2 / ia_css_aa2_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_AA2_TYPES_H
16 #define __IA_CSS_AA2_TYPES_H
17
18 /* @file
19 * CSS-API header file for Anti-Aliasing parameters.
20 */
21
22
23 /* Anti-Aliasing configuration.
24  *
25  *  This structure is used both for YUV AA and Bayer AA.
26  *
27  *  1. YUV Anti-Aliasing
28  *     struct ia_css_aa_config   *aa_config
29  *
30  *     ISP block: AA2
31  *    (ISP1: AA2 is not used.)
32  *     ISP2: AA2 should be used. But, AA2 is not used currently.
33  *
34  *  2. Bayer Anti-Aliasing
35  *     struct ia_css_aa_config   *baa_config
36  *
37  *     ISP block: BAA2
38  *     ISP1: BAA2 is used.
39  *     ISP2: BAA2 is used.
40  */
41 struct ia_css_aa_config {
42         uint16_t strength;      /** Strength of the filter.
43                                         u0.13, [0,8191],
44                                         default/ineffective 0 */
45 };
46
47 #endif /* __IA_CSS_AA2_TYPES_H */
48