⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ton_stab.h

📁 这是一个平台无关的标准C的AMR解码库
💻 H
字号:
/***********************************************************************************      GSM AMR-NB speech codec   R98   Version 7.6.0   December 12, 2001*                                R99   Version 3.3.0                *                                REL-4 Version 4.1.0                ***********************************************************************************      File             : ton_stab.h*      Purpose          : Tone stabilization routines **********************************************************************************/#ifndef ton_stab_h#define ton_stab_h "$Id $" /**********************************************************************************                         INCLUDE FILES*********************************************************************************/#include "typedef.h"#include "mode.h"#include "cnst.h"/**********************************************************************************                         LOCAL VARIABLES AND TABLES*********************************************************************************//**********************************************************************************                         DEFINITION OF DATA TYPES*********************************************************************************//* state variable */typedef struct {   /* counters */   Word16 count;      /* gain history Q11 */   Word16 gp[N_FRAME];   } tonStabState;/**********************************************************************************                         DECLARATION OF PROTOTYPES*********************************************************************************/int ton_stab_init (tonStabState **st);/* initialize one instance of the pre processing state.   Stores pointer to filter status struct in *st. This pointer has to   be passed to ton_stab in each call.   returns 0 on success */ int ton_stab_reset (tonStabState *st);/* reset of pre processing state (i.e. set state memory to zero)   returns 0 on success */void ton_stab_exit (tonStabState **st);/* de-initialize pre processing state (i.e. free status struct)   stores NULL in *st */Word16 check_lsp(tonStabState *st, /* i/o : State struct            */                 Word16 *lsp       /* i   : unquantized LSP's       */);Word16 check_gp_clipping(tonStabState *st, /* i/o : State struct            */                         Word16 g_pitch    /* i   : pitch gain              */);void update_gp_clipping(tonStabState *st, /* i/o : State struct            */                        Word16 g_pitch    /* i   : pitch gain              */);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -