2
|
1
|
|
2 /******************************************************************
|
|
3
|
|
4 iLBC Speech Coder ANSI-C Source Code
|
|
5
|
|
6 iLBC_encode.h
|
|
7
|
|
8 Copyright (C) The Internet Society (2004).
|
|
9 All Rights Reserved.
|
|
10
|
|
11 ******************************************************************/
|
|
12
|
|
13 #ifndef __iLBC_ILBCENCODE_H
|
|
14 #define __iLBC_ILBCENCODE_H
|
|
15
|
|
16 #include "iLBC_define.h"
|
|
17
|
|
18 short initEncode( /* (o) Number of bytes
|
|
19 encoded */
|
|
20 iLBC_Enc_Inst_t * iLBCenc_inst, /* (i/o) Encoder instance */
|
|
21 int mode /* (i) frame size mode */
|
|
22 );
|
|
23
|
|
24 void iLBC_encode(unsigned char *bytes, /* (o) encoded data bits iLBC */
|
|
25 float *block, /* (o) speech vector to
|
|
26 encode */
|
|
27 iLBC_Enc_Inst_t * iLBCenc_inst /* (i/o) the general encoder
|
|
28 state */
|
|
29 );
|
|
30
|
|
31 #endif
|