Asterisk - The Open Source Telephony Project GIT-master-f36a736
iLBC_encode.h
Go to the documentation of this file.
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(
25
26 unsigned char *bytes, /* (o) encoded data bits iLBC */
27 float *block, /* (o) speech vector to
28 encode */
29 iLBC_Enc_Inst_t *iLBCenc_inst /* (i/o) the general encoder
30 state */
31 );
32
33 #endif
void iLBC_encode(unsigned char *bytes, float *block, iLBC_Enc_Inst_t *iLBCenc_inst)
Definition: iLBC_encode.c:89
short initEncode(iLBC_Enc_Inst_t *iLBCenc_inst, int mode)
Definition: iLBC_encode.c:35