xref: /linux/drivers/staging/media/atomisp/pci/isp/kernels/aa/aa_2/ia_css_aa2_types.h (revision c771600c6af14749609b49565ffb4cac2959710d)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __IA_CSS_AA2_TYPES_H
8 #define __IA_CSS_AA2_TYPES_H
9 
10 /* @file
11 * CSS-API header file for Anti-Aliasing parameters.
12 */
13 
14 /* Anti-Aliasing configuration.
15  *
16  *  This structure is used both for YUV AA and Bayer AA.
17  *
18  *  1. YUV Anti-Aliasing
19  *     struct ia_css_aa_config   *aa_config
20  *
21  *     ISP block: AA2
22  *    (ISP1: AA2 is not used.)
23  *     ISP2: AA2 should be used. But, AA2 is not used currently.
24  *
25  *  2. Bayer Anti-Aliasing
26  *     struct ia_css_aa_config   *baa_config
27  *
28  *     ISP block: BAA2
29  *     ISP1: BAA2 is used.
30  *     ISP2: BAA2 is used.
31  */
32 struct ia_css_aa_config {
33 	u16 strength;	/** Strength of the filter.
34 					u0.13, [0,8191],
35 					default/ineffective 0 */
36 };
37 
38 #endif /* __IA_CSS_AA2_TYPES_H */
39