Tristan Matthews | 0a329cc | 2013-07-17 13:20:14 -0400 | [diff] [blame] | 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 |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |