📄 dsp_sub.h
字号:
/*************************************************************************
*
* The following code was hand optimized for the Texas Instuments
* TMS320C5x DSP by DSPCon, Inc. For information, please contact DSPCon
* at:
*
* DSPCon, Inc.
* 380 Foothill Road
* Bridgewater, New Jersey 08807
* (908) 722-5656
* info@dspcon.com
* www.dspcon.com
*
*************************************************************************/
/*
dsp_sub.h: include file
*/
#ifndef _dsp_sub_h
#define _dsp_sub_h_
/* External function definitions */
void envelope(Shortword input[], Shortword prev_in, Shortword output[],
Shortword npts);
void fill(Shortword output[], Shortword fillval, Shortword npts);
void interp_array(Shortword prev[],Shortword curr[],Shortword out[],
Shortword ifact,Shortword size);
Shortword median(Shortword input[], Shortword npts);
void pack_code(Shortword code,UShortword **p_ch_beg,Shortword *p_ch_bit,
Shortword numbits,Shortword wsize);
Shortword peakiness(Shortword input[], Shortword npts);
void quant_u(Shortword *p_data, Shortword *p_index, Shortword qmin,
Shortword qmax, Shortword nlev, Shortword nlev_q,
Shortword double_flag, Shortword scale);
void quant_u_dec(Shortword index, Shortword *p_data, Shortword qmin,
Shortword qmax, Shortword nlev_q, Shortword scale);
void rand_num(Shortword output[], Shortword amplitude, Shortword npts);
Shortword unpack_code(UShortword **p_ch_beg, Shortword *p_ch_bit,
Shortword *p_code, Shortword numbits, Shortword wsize,
UShortword erase_mask);
void window(Shortword input[], Shortword win_cof[],
Shortword output[], Shortword npts);
void window_Q(Shortword input[], Shortword win_cof[],
Shortword output[], Shortword npts);
void zerflt(Shortword input[], Shortword coeff[], Shortword output[],
Shortword order, Shortword npts);
void zerflt_Q(Shortword input[], Shortword coeff[], Shortword output[],
Shortword order, Shortword npts, Shortword Q_coeff);
void iir_2nd_d(Shortword input[],Shortword den[],Shortword num[],
Shortword output[],Shortword delin[],Shortword delout_hi[],
Shortword delout_lo[],Shortword npts);
void iir_2nd_s(Shortword input[],Shortword den[],Shortword num[],
Shortword output[],Shortword delin[],Shortword delout[],
Shortword npts);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -