zephyr/drivers/audio/decimation/pdm_decim_fir.h
Kumar Gala a1b77fd589 zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g"
	git grep -l 's\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g"

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-06-08 08:23:57 -05:00

32 lines
629 B
C

/*
* Copyright (c) 2018, Intel Corporation
* All rights reserved.
*
* Author: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
* Sathish Kuttan <sathish.k.kuttan@intel.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __PDM_DECIM_FIR__H__
#define __PDM_DECIM_FIR__H__
#define DMIC_FIR_LIST_LENGTH 8
/* Format for generated coefficients tables */
struct pdm_decim {
int decim_factor;
int length;
int shift;
int relative_passband;
int relative_stopband;
int passband_ripple;
int stopband_ripple;
const int32_t *coef;
};
struct pdm_decim **pdm_decim_get_fir_list(void);
#endif /* __PDM_DECIM_FIR__H__ */