2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #ifndef __IA_CSS_SDIS_TYPES_H
16 #define __IA_CSS_SDIS_TYPES_H
19 * CSS-API header file for DVS statistics parameters.
22 /** Number of DVS coefficient types */
23 #define IA_CSS_DVS_NUM_COEF_TYPES 6
25 #ifndef PIPE_GENERATION
26 #include "isp/kernels/sdis/common/ia_css_sdis_common_types.h"
29 /** DVS 1.0 Coefficients.
30 * This structure describes the coefficients that are needed for the dvs statistics.
33 struct ia_css_dvs_coefficients {
34 struct ia_css_dvs_grid_info grid;/**< grid info contains the dimensions of the dvs grid */
35 int16_t *hor_coefs; /**< the pointer to int16_t[grid.num_hor_coefs * IA_CSS_DVS_NUM_COEF_TYPES]
36 containing the horizontal coefficients */
37 int16_t *ver_coefs; /**< the pointer to int16_t[grid.num_ver_coefs * IA_CSS_DVS_NUM_COEF_TYPES]
38 containing the vertical coefficients */
41 /** DVS 1.0 Statistics.
42 * This structure describes the statistics that are generated using the provided coefficients.
45 struct ia_css_dvs_statistics {
46 struct ia_css_dvs_grid_info grid;/**< grid info contains the dimensions of the dvs grid */
47 int32_t *hor_proj; /**< the pointer to int16_t[grid.height * IA_CSS_DVS_NUM_COEF_TYPES]
48 containing the horizontal projections */
49 int32_t *ver_proj; /**< the pointer to int16_t[grid.width * IA_CSS_DVS_NUM_COEF_TYPES]
50 containing the vertical projections */
53 #endif /* __IA_CSS_SDIS_TYPES_H */