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_SHADING_H
8 #define __IA_CSS_SHADING_H
9 
10 /* @file
11  * This file contains support for setting the shading table for CSS
12  */
13 
14 #include <ia_css_types.h>
15 
16 /* @brief Shading table
17  * @param[in]	width Width of the shading table.
18  * @param[in]	height Height of the shading table.
19  * @return		Pointer to the shading table
20 */
21 struct ia_css_shading_table *
22 ia_css_shading_table_alloc(unsigned int width,
23 			   unsigned int height);
24 
25 /* @brief Free shading table
26  * @param[in]	table Pointer to the shading table.
27  * @return		None
28 */
29 void
30 ia_css_shading_table_free(struct ia_css_shading_table *table);
31 
32 #endif /* __IA_CSS_SHADING_H */
33