Asterisk - The Open Source Telephony Project
GIT-master-f36a736
codecs
ilbc
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
iLBC_define.h
iLBC_encode
void iLBC_encode(unsigned char *bytes, float *block, iLBC_Enc_Inst_t *iLBCenc_inst)
Definition:
iLBC_encode.c:89
initEncode
short initEncode(iLBC_Enc_Inst_t *iLBCenc_inst, int mode)
Definition:
iLBC_encode.c:35
iLBC_Enc_Inst_t_
Definition:
iLBC_define.h:132
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4