Asterisk - The Open Source Telephony Project
GIT-master-f36a736
codecs
ilbc
iLBC_decode.h
Go to the documentation of this file.
1
2
/******************************************************************
3
4
iLBC Speech Coder ANSI-C Source Code
5
6
iLBC_decode.h
7
8
Copyright (C) The Internet Society (2004).
9
All Rights Reserved.
10
11
******************************************************************/
12
13
#ifndef __iLBC_ILBCDECODE_H
14
#define __iLBC_ILBCDECODE_H
15
16
#include "
iLBC_define.h
"
17
18
short
initDecode
(
/* (o) Number of decoded
19
samples */
20
iLBC_Dec_Inst_t
*iLBCdec_inst,
/* (i/o) Decoder instance */
21
int
mode,
/* (i) frame size mode */
22
int
use_enhancer
/* (i) 1 to use enhancer
23
0 to run without
24
enhancer */
25
);
26
27
void
iLBC_decode
(
28
float
*decblock,
/* (o) decoded signal block */
29
unsigned
char
*bytes,
/* (i) encoded signal bits */
30
iLBC_Dec_Inst_t
*iLBCdec_inst,
/* (i/o) the decoder state
31
structure */
32
int
mode
/* (i) 0: bad packet, PLC,
33
1: normal */
34
35
36
37
38
39
);
40
41
#endif
initDecode
short initDecode(iLBC_Dec_Inst_t *iLBCdec_inst, int mode, int use_enhancer)
Definition:
iLBC_decode.c:33
iLBC_decode
void iLBC_decode(float *decblock, unsigned char *bytes, iLBC_Dec_Inst_t *iLBCdec_inst, int mode)
Definition:
iLBC_decode.c:326
iLBC_define.h
iLBC_Dec_Inst_t_
Definition:
iLBC_define.h:162
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4