1 /*
2  * Copyright (c) 2018, Intel Corporation
3  * All rights reserved.
4  *
5  * Author:	Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
6  *		Sathish Kuttan <sathish.k.kuttan@intel.com>
7  *
8  * SPDX-License-Identifier: Apache-2.0
9  */
10 
11 #ifndef __PDM_DECIM_FIR__H__
12 #define __PDM_DECIM_FIR__H__
13 
14 #define DMIC_FIR_LIST_LENGTH 8
15 
16 /* Format for generated coefficients tables */
17 
18 struct pdm_decim {
19 	int decim_factor;
20 	int length;
21 	int shift;
22 	int relative_passband;
23 	int relative_stopband;
24 	int passband_ripple;
25 	int stopband_ripple;
26 	const int32_t *coef;
27 };
28 
29 struct pdm_decim **pdm_decim_get_fir_list(void);
30 
31 #endif /* __PDM_DECIM_FIR__H__ */
32