1 /* SPDX-License-Identifier: BSD-3-Clause 2 * 3 * Copyright(c) 2017 Intel Corporation. All rights reserved. 4 * 5 * Author: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> 6 * Liam Girdwood <liam.r.girdwood@linux.intel.com> 7 * Keyon Jie <yang.jie@linux.intel.com> 8 */ 9 10 #ifndef __SOF_AUDIO_EQ_IIR_IIR_H__ 11 #define __SOF_AUDIO_EQ_IIR_IIR_H__ 12 13 #include <stddef.h> 14 #include <stdint.h> 15 #include <sof/audio/format.h> 16 #include <sof/math/iir_df2t.h> 17 18 struct sof_eq_iir_header_df2t; 19 20 int iir_init_coef_df2t(struct iir_state_df2t *iir, 21 struct sof_eq_iir_header_df2t *config); 22 23 int iir_delay_size_df2t(struct sof_eq_iir_header_df2t *config); 24 25 void iir_init_delay_df2t(struct iir_state_df2t *iir, int64_t **delay); 26 27 void iir_mute_df2t(struct iir_state_df2t *iir); 28 29 void iir_unmute_df2t(struct iir_state_df2t *iir); 30 31 void iir_reset_df2t(struct iir_state_df2t *iir); 32 33 #endif /* __SOF_AUDIO_EQ_IIR_IIR_H__ */ 34