/* SPDX-License-Identifier: GPL-2.0 */ /* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2015, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ #ifndef __IA_CSS_SDIS_COMMON_TYPES_H #define __IA_CSS_SDIS_COMMON_TYPES_H /* @file * CSS-API header file for DVS statistics parameters. */ #include <type_support.h> /* DVS statistics grid dimensions in number of cells. */ struct ia_css_dvs_grid_dim { … }; /* DVS statistics dimensions in number of cells for * grid, coeffieicient and projection. */ struct ia_css_sdis_info { … }; /* DVS statistics grid * * ISP block: SDVS1 (DIS/DVS Support for DIS/DVS ver.1 (2-axes)) * SDVS2 (DVS Support for DVS ver.2 (6-axes)) * ISP1: SDVS1 is used. * ISP2: SDVS2 is used. */ struct ia_css_dvs_grid_res { … }; /* TODO: use ia_css_dvs_grid_res in here. * However, that implies driver I/F changes */ struct ia_css_dvs_grid_info { … }; /* Number of DVS statistics levels */ #define IA_CSS_DVS_STAT_NUM_OF_LEVELS … /* DVS statistics generated by accelerator global configuration */ struct dvs_stat_public_dvs_global_cfg { … }; /* DVS statistics generated by accelerator level grid * configuration */ struct dvs_stat_public_dvs_level_grid_cfg { … }; /* DVS statistics generated by accelerator level grid start * configuration */ struct dvs_stat_public_dvs_level_grid_start { … }; /* DVS statistics generated by accelerator level grid end * configuration */ struct dvs_stat_public_dvs_level_grid_end { … }; /* DVS statistics generated by accelerator Feature Extraction * Region Of Interest (FE-ROI) configuration */ struct dvs_stat_public_dvs_level_fe_roi_cfg { … }; /* DVS statistics generated by accelerator public configuration */ struct dvs_stat_public_dvs_grd_cfg { … }; /* DVS statistics grid generated by accelerator */ struct ia_css_dvs_stat_grid_info { … }; /* DVS statistics generated by accelerator default grid info */ #define DEFAULT_DVS_GRID_INFO … /* Union that holds all types of DVS statistics grid info in * CSS format * */ ia_css_dvs_grid_u; #endif /* __IA_CSS_SDIS_COMMON_TYPES_H */