Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os-example-mbed5-blinky by
ltp.h File Reference
Long-Term Prediction functions. More...
Go to the source code of this file.
Data Structures | |
| struct | ltp_params |
| LTP parameters. More... | |
Functions | |
| int | pitch_search_3tap (spx_word16_t target[], spx_word16_t *sw, spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], spx_sig_t exc[], const void *par, int start, int end, spx_word16_t pitch_coef, int p, int nsf, SpeexBits *bits, char *stack, spx_word16_t *exc2, spx_word16_t *r, int complexity, int cdbk_offset, int plc_tuning, spx_word32_t *cumul_gain) |
| Finds the best quantized 3-tap pitch predictor by analysis by synthesis. | |
| int | forced_pitch_quant (spx_word16_t target[], spx_word16_t *sw, spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], spx_sig_t exc[], const void *par, int start, int end, spx_word16_t pitch_coef, int p, int nsf, SpeexBits *bits, char *stack, spx_word16_t *exc2, spx_word16_t *r, int complexity, int cdbk_offset, int plc_tuning, spx_word32_t *cumul_gain) |
| Forced pitch delay and gain. | |
| void | forced_pitch_unquant (spx_word16_t exc[], spx_word32_t exc_out[], int start, int end, spx_word16_t pitch_coef, const void *par, int nsf, int *pitch_val, spx_word16_t *gain_val, SpeexBits *bits, char *stack, int lost, int subframe_offset, spx_word16_t last_pitch_gain, int cdbk_offset) |
| Unquantize forced pitch delay and gain. | |
Detailed Description
Long-Term Prediction functions.
Definition in file ltp.h.
Function Documentation
| int forced_pitch_quant | ( | spx_word16_t | target[], |
| spx_word16_t * | sw, | ||
| spx_coef_t | ak[], | ||
| spx_coef_t | awk1[], | ||
| spx_coef_t | awk2[], | ||
| spx_sig_t | exc[], | ||
| const void * | par, | ||
| int | start, | ||
| int | end, | ||
| spx_word16_t | pitch_coef, | ||
| int | p, | ||
| int | nsf, | ||
| SpeexBits * | bits, | ||
| char * | stack, | ||
| spx_word16_t * | exc2, | ||
| spx_word16_t * | r, | ||
| int | complexity, | ||
| int | cdbk_offset, | ||
| int | plc_tuning, | ||
| spx_word32_t * | cumul_gain | ||
| ) |
Forced pitch delay and gain.
| void forced_pitch_unquant | ( | spx_word16_t | exc[], |
| spx_word32_t | exc_out[], | ||
| int | start, | ||
| int | end, | ||
| spx_word16_t | pitch_coef, | ||
| const void * | par, | ||
| int | nsf, | ||
| int * | pitch_val, | ||
| spx_word16_t * | gain_val, | ||
| SpeexBits * | bits, | ||
| char * | stack, | ||
| int | lost, | ||
| int | subframe_offset, | ||
| spx_word16_t | last_pitch_gain, | ||
| int | cdbk_offset | ||
| ) |
Unquantize forced pitch delay and gain.
| int pitch_search_3tap | ( | spx_word16_t | target[], |
| spx_word16_t * | sw, | ||
| spx_coef_t | ak[], | ||
| spx_coef_t | awk1[], | ||
| spx_coef_t | awk2[], | ||
| spx_sig_t | exc[], | ||
| const void * | par, | ||
| int | start, | ||
| int | end, | ||
| spx_word16_t | pitch_coef, | ||
| int | p, | ||
| int | nsf, | ||
| SpeexBits * | bits, | ||
| char * | stack, | ||
| spx_word16_t * | exc2, | ||
| spx_word16_t * | r, | ||
| int | complexity, | ||
| int | cdbk_offset, | ||
| int | plc_tuning, | ||
| spx_word32_t * | cumul_gain | ||
| ) |
Finds the best quantized 3-tap pitch predictor by analysis by synthesis.
Generated on Tue Jul 12 2022 16:28:54 by
1.7.2
