Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Go to the source code of this file.
Data Structures | |
struct | lpc10_decoder_state |
struct | lpc10_encoder_state |
Macros | |
#define | LPC10_BITS_IN_COMPRESSED_FRAME 54 |
#define | LPC10_SAMPLES_PER_FRAME 180 |
#define | P_R_O_T_O_T_Y_P_E_S |
Typedefs | |
typedef INT32 | integer |
typedef INT32 | logical |
typedef float | real |
typedef INT16 | shortint |
Functions | |
struct lpc10_decoder_state * | create_lpc10_decoder_state (void) |
struct lpc10_encoder_state * | create_lpc10_encoder_state (void) |
void | init_lpc10_decoder_state (struct lpc10_decoder_state *st) |
void | init_lpc10_encoder_state (struct lpc10_encoder_state *st) |
int | lpc10_decode (INT32 *bits, real *speech, struct lpc10_decoder_state *st) |
int | lpc10_encode (real *speech, INT32 *bits, struct lpc10_encoder_state *st) |
struct lpc10_decoder_state * create_lpc10_decoder_state | ( | void | ) |
Definition at line 369 of file lpcini.c.
References init_lpc10_decoder_state(), and malloc().
Referenced by lpc10_dec_new().
struct lpc10_encoder_state * create_lpc10_encoder_state | ( | void | ) |
Definition at line 258 of file lpcini.c.
References init_lpc10_encoder_state(), and malloc().
Referenced by lpc10_enc_new().
void init_lpc10_decoder_state | ( | struct lpc10_decoder_state * | st | ) |
Definition at line 383 of file lpcini.c.
References lpc10_decoder_state::buf, lpc10_decoder_state::buflen, lpc10_decoder_state::dei1, lpc10_decoder_state::dei2, lpc10_decoder_state::deo1, lpc10_decoder_state::deo2, lpc10_decoder_state::deo3, lpc10_decoder_state::dpit, lpc10_decoder_state::drc, lpc10_decoder_state::drms, lpc10_decoder_state::erate, lpc10_decoder_state::exc, lpc10_decoder_state::exc2, lpc10_decoder_state::first, lpc10_decoder_state::first_pitsyn, lpc10_decoder_state::hpi1, lpc10_decoder_state::hpi2, lpc10_decoder_state::hpi3, lpc10_decoder_state::iavgp, lpc10_decoder_state::iovoic, lpc10_decoder_state::ipo, lpc10_decoder_state::iptold, lpc10_decoder_state::ivp2h, lpc10_decoder_state::j, lpc10_decoder_state::k, lpcini_(), lpc10_decoder_state::lpi1, lpc10_decoder_state::lpi2, lpc10_decoder_state::lpi3, lpc10_decoder_state::rmso, lpc10_decoder_state::rmso_bsynz, TRUE_, and lpc10_decoder_state::y.
Referenced by create_lpc10_decoder_state().
void init_lpc10_encoder_state | ( | struct lpc10_encoder_state * | st | ) |
Definition at line 272 of file lpcini.c.
References lpc10_encoder_state::alphax, lpc10_encoder_state::awin, lpc10_encoder_state::bias, lpc10_encoder_state::d__, lpc10_encoder_state::dither, FALSE_, lpc10_encoder_state::fbue, lpc10_encoder_state::fbve, lpc10_encoder_state::hyst, lpc10_encoder_state::inbuf, lpc10_encoder_state::ipoint, lpc10_encoder_state::isync, lpc10_encoder_state::ivbuf, lpc10_encoder_state::l2buf, lpc10_encoder_state::l2ptr1, lpc10_encoder_state::l2ptr2, lpc10_encoder_state::l2sum1, lpc10_encoder_state::lbue, lpc10_encoder_state::lbve, lpc10_encoder_state::lpbuf, lpcini_(), lpc10_encoder_state::maxmin, lpc10_encoder_state::n, lpc10_encoder_state::obound, lpc10_encoder_state::ofbue, lpc10_encoder_state::olbue, lpc10_encoder_state::osptr, lpc10_encoder_state::p, lpc10_encoder_state::pebuf, lpc10_encoder_state::rcbuf, lpc10_encoder_state::rmsbuf, lpc10_encoder_state::s, lpc10_encoder_state::sfbue, lpc10_encoder_state::slbue, lpc10_encoder_state::snr, lpc10_encoder_state::voibuf, lpc10_encoder_state::voice, lpc10_encoder_state::vwin, lpc10_encoder_state::z11, lpc10_encoder_state::z12, lpc10_encoder_state::z21, lpc10_encoder_state::z22, and lpc10_encoder_state::zpre.
Referenced by create_lpc10_encoder_state().
int lpc10_decode | ( | INT32 * | bits, |
real * | speech, | ||
struct lpc10_decoder_state * | st | ||
) |
Definition at line 113 of file lpcdec.c.
References c__10, chanrd_(), decode_(), len(), and synths_().
Referenced by lpc10tolin_framein().
int lpc10_encode | ( | real * | speech, |
INT32 * | bits, | ||
struct lpc10_encoder_state * | st | ||
) |
Definition at line 108 of file lpcenc.c.
References analys_(), c__10, c__180, chanwr_(), encode_(), and prepro_().
Referenced by lintolpc10_frameout().