1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  */
15 
16 #ifndef __IA_CSS_AA2_TYPES_H
17 #define __IA_CSS_AA2_TYPES_H
18 
19 /* @file
20 * CSS-API header file for Anti-Aliasing parameters.
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 	u16 strength;	/** Strength of the filter.
43 					u0.13, [0,8191],
44 					default/ineffective 0 */
45 };
46 
47 #endif /* __IA_CSS_AA2_TYPES_H */
48