libg722_1  0.0.1
broadvoice/private/broadvoice.h File Reference

Go to the source code of this file.

Classes

struct  bv16_decode_state_s
 
struct  bv16_encode_state_s
 
struct  bv32_decode_state_s
 
struct  bv32_encode_state_s
 

Macros

#define LPCO   8 /* LPC Order */
 
#define HPO   2 /* Front end 150Hz high-pass filter order */
 
#define DFO   4
 
#define BV16_FRSZ   40 /* Frame size */
 
#define BV16_MAXPP   137 /* MAXimum Pitch Period */
 
#define BV16_PWSZ   120 /* Pitch analysis Window SiZe */
 
#define BV16_XQOFF   (BV16_MAXPP + 1) /* xq() offset before current subframe */
 
#define BV16_XOFF   (BV16_MAXPP + 1) /* Offset for x() frame */
 
#define BV16_LTMOFF   (BV16_MAXPP + 1) /* Long-Term filter Memory OFFset */
 
#define BV16_LSPPORDER   8 /* LSP MA Predictor ORDER */
 
#define BV16_NSTORDER   8 /* Pole-zero NFC shaping filter */
 
#define BV16_LGPORDER   8 /* Log-Gain Predictor OODER */
 
#define BV16_DECF   4 /* DECimation Factor for coarse pitch period search */
 
#define BV16_XDOFF   (BV16_LXD - BV16_FRSZD)
 
#define BV16_FRSZD   (BV16_FRSZ/BV16_DECF) /* FRame SiZe in DECF:1 lowband domain */
 
#define BV16_PWSZD   (BV16_PWSZ/BV16_DECF) /* Pitch ana. Window SiZe in DECF:1 domain */
 
#define BV16_MAXPPD   (BV16_MAXPP/BV16_DECF) /* MAX Pitch in DECF:1, if MAXPP!=4n, ceil() */
 
#define BV16_LXD   (BV16_MAXPPD + 1 + BV16_PWSZD)
 
#define BV32_FRSZ   80 /* Frame size */
 
#define BV32_MAXPP   265 /* MAXimum Pitch Period */
 
#define BV32_PWSZ   240 /* Pitch analysis Window SiZe for 8kHz lowband */
 
#define BV32_XOFF   (BV32_MAXPP + 1) /* offset for x() frame */
 
#define BV32_LTMOFF   (BV32_MAXPP + 1) /* Long-Term filter Memory OFFset */
 
#define BV32_LSPPORDER   8 /* LSP MA Predictor ORDER */
 
#define BV32_PFO   1 /* Preemphasis filter order */
 
#define BV32_LGPORDER   16 /* Log-Gain Predictor OODER */
 
#define BV32_DECF   8 /* DECimation Factor for coarse pitch period search */
 
#define BV32_XDOFF   (BV32_LXD - BV32_FRSZD)
 
#define BV32_FRSZD   (BV32_FRSZ/BV32_DECF) /* FRame SiZe in DECF:1 lowband domain */
 
#define BV32_PWSZD   (BV32_PWSZ/BV32_DECF) /* Pitch ana. Window SiZe in DECF:1 domain */
 
#define BV32_MAXPPD   (BV32_MAXPP/BV32_DECF) /* MAX Pitch in DECF:1, if MAXPP!=4n, ceil() */
 
#define BV32_LXD   (BV32_MAXPPD + 1 + BV32_PWSZD)
 

Typedefs

typedef double Float