19d4fa1a1SMauro Carvalho Chehab /* 29d4fa1a1SMauro Carvalho Chehab * Support for Intel Camera Imaging ISP subsystem. 39d4fa1a1SMauro Carvalho Chehab * Copyright (c) 2015, Intel Corporation. 49d4fa1a1SMauro Carvalho Chehab * 59d4fa1a1SMauro Carvalho Chehab * This program is free software; you can redistribute it and/or modify it 69d4fa1a1SMauro Carvalho Chehab * under the terms and conditions of the GNU General Public License, 79d4fa1a1SMauro Carvalho Chehab * version 2, as published by the Free Software Foundation. 89d4fa1a1SMauro Carvalho Chehab * 99d4fa1a1SMauro Carvalho Chehab * This program is distributed in the hope it will be useful, but WITHOUT 109d4fa1a1SMauro Carvalho Chehab * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 119d4fa1a1SMauro Carvalho Chehab * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 129d4fa1a1SMauro Carvalho Chehab * more details. 139d4fa1a1SMauro Carvalho Chehab */ 149d4fa1a1SMauro Carvalho Chehab 159d4fa1a1SMauro Carvalho Chehab #ifndef __IA_CSS_SHADING_H 169d4fa1a1SMauro Carvalho Chehab #define __IA_CSS_SHADING_H 179d4fa1a1SMauro Carvalho Chehab 189d4fa1a1SMauro Carvalho Chehab /* @file 199d4fa1a1SMauro Carvalho Chehab * This file contains support for setting the shading table for CSS 209d4fa1a1SMauro Carvalho Chehab */ 219d4fa1a1SMauro Carvalho Chehab 229d4fa1a1SMauro Carvalho Chehab #include <ia_css_types.h> 239d4fa1a1SMauro Carvalho Chehab 249d4fa1a1SMauro Carvalho Chehab /* @brief Shading table 259d4fa1a1SMauro Carvalho Chehab * @param[in] width Width of the shading table. 269d4fa1a1SMauro Carvalho Chehab * @param[in] height Height of the shading table. 279d4fa1a1SMauro Carvalho Chehab * @return Pointer to the shading table 289d4fa1a1SMauro Carvalho Chehab */ 299d4fa1a1SMauro Carvalho Chehab struct ia_css_shading_table * 309d4fa1a1SMauro Carvalho Chehab ia_css_shading_table_alloc(unsigned int width, 319d4fa1a1SMauro Carvalho Chehab unsigned int height); 329d4fa1a1SMauro Carvalho Chehab 339d4fa1a1SMauro Carvalho Chehab /* @brief Free shading table 349d4fa1a1SMauro Carvalho Chehab * @param[in] table Pointer to the shading table. 359d4fa1a1SMauro Carvalho Chehab * @return None 369d4fa1a1SMauro Carvalho Chehab */ 379d4fa1a1SMauro Carvalho Chehab void 389d4fa1a1SMauro Carvalho Chehab ia_css_shading_table_free(struct ia_css_shading_table *table); 399d4fa1a1SMauro Carvalho Chehab 409d4fa1a1SMauro Carvalho Chehab #endif /* __IA_CSS_SHADING_H */ 41