Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Structures | Macros | Typedefs
iLBC_define.h File Reference
#include <string.h>
Include dependency graph for iLBC_define.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  iLBC_Dec_Inst_t_
 
struct  iLBC_Enc_Inst_t_
 
struct  iLBC_ULP_Inst_t_
 

Macros

#define BLOCKL_20MS   160
 
#define BLOCKL_30MS   240
 
#define BLOCKL_MAX   240
 
#define BYTE_LEN   8
 
#define CB_EXPAND   2
 
#define CB_FILTERLEN   2*4
 
#define CB_HALFFILTERLEN   4
 
#define CB_MAXGAIN   (float)1.3
 
#define CB_MEML   147
 
#define CB_NSTAGES   3
 
#define CB_RESRANGE   34
 
#define DELAY_DS   3
 
#define ENH_ALPHA0   (float)0.05
 
#define ENH_BLOCKL   80 /* block length */
 
#define ENH_BLOCKL_HALF   (ENH_BLOCKL/2)
 
#define ENH_BUFL   (ENH_NBLOCKS_TOT)*ENH_BLOCKL
 
#define ENH_CORRDIM   (2*ENH_SLOP+1)
 
#define ENH_FL0
 
#define ENH_HL
 
#define ENH_NBLOCKS   (BLOCKL_MAX/ENH_BLOCKL)
 
#define ENH_NBLOCKS_EXTRA   5
 
#define ENH_NBLOCKS_TOT
 
#define ENH_OVERHANG   2
 
#define ENH_PLOCSL
 
#define ENH_SLOP
 
#define ENH_UPS0   4 /* upsampling rate */
 
#define ENH_VECTL   (ENH_BLOCKL+2*ENH_FL0)
 
#define EPS   (float)2.220446049250313e-016
 
#define FACTOR_DS   2
 
#define FILTERORDER_DS   7
 
#define FLOAT_MAX   (float)1.0e37
 
#define LPC_ASYMDIFF   20
 
#define LPC_BW   (float)60.0
 
#define LPC_CHIRP_SYNTDENUM   (float)0.9025
 
#define LPC_CHIRP_WEIGHTDENUM   (float)0.4222
 
#define LPC_FILTERORDER   10
 
#define LPC_HALFORDER   (LPC_FILTERORDER/2)
 
#define LPC_LOOKBACK   60
 
#define LPC_N_20MS   1
 
#define LPC_N_30MS   2
 
#define LPC_N_MAX   2
 
#define LPC_WN   (float)1.0001
 
#define LSF_NSPLIT   3
 
#define LSF_NUMBER_OF_STEPS   4
 
#define MAX_SAMPLE   32767
 
#define MIN_SAMPLE   -32768
 
#define NASUB_20MS   2
 
#define NASUB_30MS   4
 
#define NASUB_MAX   4
 
#define NO_OF_BYTES_20MS   38
 
#define NO_OF_BYTES_30MS   50
 
#define NO_OF_WORDS_20MS   19
 
#define NO_OF_WORDS_30MS   25
 
#define NSUB_20MS   4
 
#define NSUB_30MS   6
 
#define NSUB_MAX   6
 
#define PI   (float)3.14159265358979323846
 
#define PI2   (float)0.159154943
 
#define STATE_BITS   3
 
#define STATE_LEN   80
 
#define STATE_SHORT_LEN_20MS   57
 
#define STATE_SHORT_LEN_30MS   58
 
#define SUBL   40
 
#define TWO_PI   (float)6.283185307
 
#define ULP_CLASSES   3
 

Typedefs

typedef struct iLBC_Dec_Inst_t_ iLBC_Dec_Inst_t
 
typedef struct iLBC_Enc_Inst_t_ iLBC_Enc_Inst_t
 
typedef struct iLBC_ULP_Inst_t_ iLBC_ULP_Inst_t
 

Macro Definition Documentation

◆ BLOCKL_20MS

#define BLOCKL_20MS   160

Definition at line 19 of file iLBC_define.h.

◆ BLOCKL_30MS

#define BLOCKL_30MS   240

Definition at line 20 of file iLBC_define.h.

◆ BLOCKL_MAX

#define BLOCKL_MAX   240

Definition at line 21 of file iLBC_define.h.

◆ BYTE_LEN

#define BYTE_LEN   8

Definition at line 100 of file iLBC_define.h.

◆ CB_EXPAND

#define CB_EXPAND   2

Definition at line 57 of file iLBC_define.h.

◆ CB_FILTERLEN

#define CB_FILTERLEN   2*4

Definition at line 59 of file iLBC_define.h.

◆ CB_HALFFILTERLEN

#define CB_HALFFILTERLEN   4

Definition at line 60 of file iLBC_define.h.

◆ CB_MAXGAIN

#define CB_MAXGAIN   (float)1.3

Definition at line 62 of file iLBC_define.h.

◆ CB_MEML

#define CB_MEML   147

Definition at line 58 of file iLBC_define.h.

◆ CB_NSTAGES

#define CB_NSTAGES   3

Definition at line 56 of file iLBC_define.h.

◆ CB_RESRANGE

#define CB_RESRANGE   34

Definition at line 61 of file iLBC_define.h.

◆ DELAY_DS

#define DELAY_DS   3

Definition at line 90 of file iLBC_define.h.

◆ ENH_ALPHA0

#define ENH_ALPHA0   (float)0.05

Definition at line 85 of file iLBC_define.h.

◆ ENH_BLOCKL

#define ENH_BLOCKL   80 /* block length */

Definition at line 66 of file iLBC_define.h.

◆ ENH_BLOCKL_HALF

#define ENH_BLOCKL_HALF   (ENH_BLOCKL/2)

Definition at line 67 of file iLBC_define.h.

◆ ENH_BUFL

#define ENH_BUFL   (ENH_NBLOCKS_TOT)*ENH_BLOCKL

Definition at line 84 of file iLBC_define.h.

◆ ENH_CORRDIM

#define ENH_CORRDIM   (2*ENH_SLOP+1)

Definition at line 80 of file iLBC_define.h.

◆ ENH_FL0

#define ENH_FL0
Value:
3 /* 2*FLO+1 is the length of
each filter */

Definition at line 73 of file iLBC_define.h.

◆ ENH_HL

#define ENH_HL
Value:
3 /* 2*ENH_HL+1 is number blocks
in said second sequence */

Definition at line 68 of file iLBC_define.h.

◆ ENH_NBLOCKS

#define ENH_NBLOCKS   (BLOCKL_MAX/ENH_BLOCKL)

Definition at line 81 of file iLBC_define.h.

◆ ENH_NBLOCKS_EXTRA

#define ENH_NBLOCKS_EXTRA   5

Definition at line 82 of file iLBC_define.h.

◆ ENH_NBLOCKS_TOT

#define ENH_NBLOCKS_TOT
Value:
8 /* ENH_NBLOCKS +
ENH_NBLOCKS_EXTRA */

Definition at line 83 of file iLBC_define.h.

◆ ENH_OVERHANG

#define ENH_OVERHANG   2

Definition at line 71 of file iLBC_define.h.

◆ ENH_PLOCSL

#define ENH_PLOCSL
Value:
20 /* pitch-estimates and pitch-
locations buffer length */

Definition at line 70 of file iLBC_define.h.

◆ ENH_SLOP

#define ENH_SLOP
Value:
2 /* max difference estimated and
correct pitch period */

Definition at line 69 of file iLBC_define.h.

◆ ENH_UPS0

#define ENH_UPS0   4 /* upsampling rate */

Definition at line 72 of file iLBC_define.h.

◆ ENH_VECTL

#define ENH_VECTL   (ENH_BLOCKL+2*ENH_FL0)

Definition at line 74 of file iLBC_define.h.

◆ EPS

#define EPS   (float)2.220446049250313e-016

Definition at line 106 of file iLBC_define.h.

◆ FACTOR_DS

#define FACTOR_DS   2

Definition at line 91 of file iLBC_define.h.

◆ FILTERORDER_DS

#define FILTERORDER_DS   7

Definition at line 89 of file iLBC_define.h.

◆ FLOAT_MAX

#define FLOAT_MAX   (float)1.0e37

Definition at line 105 of file iLBC_define.h.

◆ LPC_ASYMDIFF

#define LPC_ASYMDIFF   20

Definition at line 47 of file iLBC_define.h.

◆ LPC_BW

#define LPC_BW   (float)60.0

Definition at line 48 of file iLBC_define.h.

◆ LPC_CHIRP_SYNTDENUM

#define LPC_CHIRP_SYNTDENUM   (float)0.9025

Definition at line 41 of file iLBC_define.h.

◆ LPC_CHIRP_WEIGHTDENUM

#define LPC_CHIRP_WEIGHTDENUM   (float)0.4222

Definition at line 42 of file iLBC_define.h.

◆ LPC_FILTERORDER

#define LPC_FILTERORDER   10

Definition at line 40 of file iLBC_define.h.

◆ LPC_HALFORDER

#define LPC_HALFORDER   (LPC_FILTERORDER/2)

Definition at line 52 of file iLBC_define.h.

◆ LPC_LOOKBACK

#define LPC_LOOKBACK   60

Definition at line 43 of file iLBC_define.h.

◆ LPC_N_20MS

#define LPC_N_20MS   1

Definition at line 44 of file iLBC_define.h.

◆ LPC_N_30MS

#define LPC_N_30MS   2

Definition at line 45 of file iLBC_define.h.

◆ LPC_N_MAX

#define LPC_N_MAX   2

Definition at line 46 of file iLBC_define.h.

◆ LPC_WN

#define LPC_WN   (float)1.0001

Definition at line 49 of file iLBC_define.h.

◆ LSF_NSPLIT

#define LSF_NSPLIT   3

Definition at line 50 of file iLBC_define.h.

◆ LSF_NUMBER_OF_STEPS

#define LSF_NUMBER_OF_STEPS   4

Definition at line 51 of file iLBC_define.h.

◆ MAX_SAMPLE

#define MAX_SAMPLE   32767

Definition at line 109 of file iLBC_define.h.

◆ MIN_SAMPLE

#define MIN_SAMPLE   -32768

Definition at line 108 of file iLBC_define.h.

◆ NASUB_20MS

#define NASUB_20MS   2

Definition at line 25 of file iLBC_define.h.

◆ NASUB_30MS

#define NASUB_30MS   4

Definition at line 31 of file iLBC_define.h.

◆ NASUB_MAX

#define NASUB_MAX   4

Definition at line 32 of file iLBC_define.h.

◆ NO_OF_BYTES_20MS

#define NO_OF_BYTES_20MS   38

Definition at line 95 of file iLBC_define.h.

◆ NO_OF_BYTES_30MS

#define NO_OF_BYTES_30MS   50

Definition at line 96 of file iLBC_define.h.

◆ NO_OF_WORDS_20MS

#define NO_OF_WORDS_20MS   19

Definition at line 97 of file iLBC_define.h.

◆ NO_OF_WORDS_30MS

#define NO_OF_WORDS_30MS   25

Definition at line 98 of file iLBC_define.h.

◆ NSUB_20MS

#define NSUB_20MS   4

Definition at line 22 of file iLBC_define.h.

◆ NSUB_30MS

#define NSUB_30MS   6

Definition at line 23 of file iLBC_define.h.

◆ NSUB_MAX

#define NSUB_MAX   6

Definition at line 24 of file iLBC_define.h.

◆ PI

#define PI   (float)3.14159265358979323846

Definition at line 107 of file iLBC_define.h.

◆ PI2

#define PI2   (float)0.159154943

Definition at line 111 of file iLBC_define.h.

◆ STATE_BITS

#define STATE_BITS   3

Definition at line 99 of file iLBC_define.h.

◆ STATE_LEN

#define STATE_LEN   80

Definition at line 34 of file iLBC_define.h.

◆ STATE_SHORT_LEN_20MS

#define STATE_SHORT_LEN_20MS   57

Definition at line 36 of file iLBC_define.h.

◆ STATE_SHORT_LEN_30MS

#define STATE_SHORT_LEN_30MS   58

Definition at line 35 of file iLBC_define.h.

◆ SUBL

#define SUBL   40

Definition at line 33 of file iLBC_define.h.

◆ TWO_PI

#define TWO_PI   (float)6.283185307

Definition at line 110 of file iLBC_define.h.

◆ ULP_CLASSES

#define ULP_CLASSES   3

Definition at line 101 of file iLBC_define.h.

Typedef Documentation

◆ iLBC_Dec_Inst_t

◆ iLBC_Enc_Inst_t

◆ iLBC_ULP_Inst_t