Home
last modified time | relevance | path

Searched refs:m_num_order (Results 1 – 1 of 1) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/kernels/
Daudio_utils.h207 size_t m_num_order = b_coeffs.size() - 1; in LFilter() local
217 T *m_px = new T[m_num_order + 1]; in LFilter()
236 m_px[m_num_order] = signal[i]; in LFilter()
237 for (size_t j = 0; j < m_num_order + 1; j++) { in LFilter()
238 m_py[m_num_order] += b_coeffs[j] * m_px[m_num_order - j]; in LFilter()
241 m_py[m_num_order] -= a_coeffs[j] * m_py[m_num_order - j]; in LFilter()
244 if (m_py[m_num_order] > static_cast<T>(1.)) in LFilter()
246 else if (m_py[m_num_order] < static_cast<T>(-1.)) in LFilter()
249 out_vect[i] = m_py[m_num_order]; in LFilter()
251 out_vect[i] = m_py[m_num_order]; in LFilter()
[all …]