📄 codec.h
字号:
#define FRAME_SIZE 120
#define COMPRESSED_FRAME_SIZE 15
typedef struct acelp_state * acelp;
typedef unsigned char acelp_frame[COMPRESSED_FRAME_SIZE];
extern acelp Init( short int ); // param: =1 for compressor, =0 for decompressor
extern void DeInit( acelp );
extern short int Encoder( acelp, short int *, unsigned char * , short int );
extern void Decoder( acelp, unsigned char *, short int * );
struct acelp_state
{
short int Type;
short int *xpi;
short int *PresentC;
short int *FutureC;
short int *excit;
short int *lpcimem;
short int *memory_swi;
short int *ShAcf;
long *Acf;
float *NLpc;
short int *Polp;
short int Hcnt ;
short int Vcnt ;
long Penr ;
long Nlev ;
float Penrf ;
float Nlevf ;
short int Aen ;
short int x0i;
short int x1i;
short int x2i;
short int y0i;
short int y1i;
short int y2i;
unsigned short int indexNAVQm;
unsigned short int indexTVQm;
unsigned short int indexSVQ1m;
unsigned short int indexSVQ2m;
short int yXwi[13];
short int *PresentD;
short int *FutureD;
short int *excitDi;
short int *Dyi;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -