/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
poly_to_lsf.c | 28 int16_t lsp[10]; local 29 WebRtcIlbcfix_Poly2Lsp(a, lsp, (int16_t*)WebRtcIlbcfix_kLspMean); 30 WebRtcIlbcfix_Lsp2Lsf(lsp, lsf, 10);
|
get_lsp_poly.h | 25 * Construct the polynomials F1(z) and F2(z) from the LSP 31 * tmp = -2.0 * lsp[0]; 34 * b = -2.0 * lsp[2*i-2]; 44 int16_t *lsp, /* (i) LSP in Q15 */
|
lsf_to_lsp.h | 25 * conversion from lsf to lsp coefficients 30 int16_t *lsp, /* (o) lsp in Q15 values between -1 and 1 */
|
lsp_to_lsf.h | 25 * conversion from LSP coefficients to LSF coefficients 29 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */
|
poly_to_lsp.h | 25 * conversion from lpc coefficients to lsp coefficients 31 int16_t *lsp, /* (i) LSP coefficients in Q15 */ 32 int16_t *old_lsp /* (i) old LSP coefficients that are used if the new
|
lsf_to_poly.c | 33 int16_t lsp[10]; local 36 /* Convert lsf to lsp */ 37 WebRtcIlbcfix_Lsf2Lsp(lsf, lsp, LPC_FILTERORDER); 39 /* Get F1(z) and F2(z) from the lsp */ 42 WebRtcIlbcfix_GetLspPoly(&lsp[0],f1ptr); 43 WebRtcIlbcfix_GetLspPoly(&lsp[1],f2ptr);
|
lsf_to_lsp.c | 23 * conversion from lsf to lsp coefficients 28 int16_t *lsp, /* (o) lsp in Q15 values between -1 and 1 */ 57 lsp[i] = WebRtcIlbcfix_kCos[k]+(int16_t)(WEBRTC_SPL_RSHIFT_W32(tmpW32, 12));
|
get_lsp_poly.c | 22 * Construct the polynomials F1(z) and F2(z) from the LSP 28 * tmp = -2.0 * lsp[0]; 31 * b = -2.0 * lsp[2*i-2]; 41 int16_t *lsp, /* (i) LSP in Q15 */ 50 lspPtr = lsp;
|
lsp_to_lsf.c | 23 * conversion from LSP coefficients to LSF coefficients 27 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */ 43 Start with the highest LSP and then work the way down 44 For each LSP the lsf is calculated by first order approximation 47 lspPtr = &lsp[9]; 53 locate value in the table, which is just above lsp[i], 66 The linear approximation of acos(lsp[i]) : 67 acos(lsp[i])= k*512 + (WebRtcIlbcfix_kAcosDerivative[ind]*offset >> 11)
|
/external/libvorbis/lib/ |
lsp.h | 13 function: LSP (also called LSF) conversion routines 14 last mod: $Id: lsp.h 16227 2009-07-08 06:58:46Z xiphmont $ 22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m); 25 float *lsp,int m,
|
/external/speex/libspeex/ |
quant_lsp.h | 4 @brief LSP vector quantization 57 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits); 60 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits); 63 void lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits); 66 void lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits); 69 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits); 72 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits);
|
quant_lsp.c | 3 LSP vector quantization 159 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) 166 qlsp[i]=lsp[i]; 210 qlsp[i]=lsp[i]-qlsp[i]; 213 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits) 217 lsp[i]=LSP_LINEAR(i); 222 lsp[i] = ADD32(lsp[i], LSP_DIV_256(cdbk_nb[id*10+i])); 226 lsp[i] = ADD16(lsp[i], LSP_DIV_512(cdbk_nb_low1[id*5+i])) [all...] |
lsp.h | 12 Coefficients (LPC) to Line Spectral Pair (LSP) and back. Note that the 13 LSP coefficients are not in radians format but in the x domain of the 18 @file lsp.h 19 @brief Line Spectral Pair (LSP) functions. 60 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin);
|
lsp.c | 3 FILE........: lsp.c 11 Coefficients (LPC) to Line Spectral Pair (LSP) and back. Note that the 12 LSP coefficients are not in radians format but in the x domain of the 70 LSP frequencies is basically finding the roots of 5th order 87 #include "lsp.h" 207 This function converts LPC coefficients to LSP 222 /* float *freq LSP frequencies in the x domain */ 397 Converts LSP coefficients to LPC coefficients. 404 /* float *freq array of LSP frequencies in the x domain */ 421 in form 1 - 2cos(w)z(-1) + z(-2), where w is the LSP frequency [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
lsp_az.cpp | 91 This file contains functions that convert line spectral pairs (LSP) to 94 F1(z) and F2(z), and Lsp_Az, which converts LSP to LPC by multiplying 135 lsp = pointer to the buffer containing the line spectral pairs (LSP) 160 This function finds the polynomial F1(z) or F2(z) from the LSPs. If the LSP 166 F1(z) = product ( 1 - 2 lsp[i] z^-1 + z^-2 ) 168 F2(z) = product ( 1 - 2 lsp[i] z^-1 + z^-2 ) 171 where lsp[] is the LSP vector in the cosine domain. 176 b = -2.0 * lsp[0 [all...] |
int_lpc.cpp | 99 lsp_old -- array of type Word16 -- LSP vector at the 101 lsp_mid -- array of type Word16 -- LSP vector at the 2nd subfr. of 103 lsp_new -- array of type Word16 -- LSP vector at the 4th subfr. of 175 Word16 lsp_old[], /* i : LSP vector at the 4th subfr. of past frame (M) */ 176 Word16 lsp_mid[], /* i : LSP vector at the 2nd subfr. of 178 Word16 lsp_new[], /* i : LSP vector at the 4th subfr. of 186 Word16 lsp[M]; local 190 Word16 *p_lsp = &lsp[0]; 192 /* lsp[i] = lsp_mid[i] * 0.5 + lsp_old[i] * 0.5 */ 201 lsp, 323 Word16 lsp[M]; local 446 Word16 lsp[M]; local 582 Word16 lsp[M]; local [all...] |
lsp_lsf.cpp | 71 This file contains the functions that convert line spectral pairs (LSP) to 129 lsp = buffer containing line spectral pairs; valid range is between 134 lsp contains the newly calculated line spectral pairs 148 This function performs the LSF to LSP transformation using the equation: 150 lsf[i] = arccos(lsp[i])/(2*pi) 152 The transformation from lsp[i] to lsf[i] is approximated by a look-up table 170 Word16 lsp[], // (o) : lsp[m] (range: -1<=val<1) 182 // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256 185 lsp[i] = add (table[ind], extract_l (L_shr (L_tmp, 9))) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
lsp_az.h | 99 Word16 lsp[], /* (i) : line spectral frequencies */
|
lsp_lsf.h | 102 Word16 lsp[], /* (o) : lsp[m] (range: -1<=val<1) */ 107 Word16 lsp[], /* (i) : lsp[m] (range: -1<=val<1) */
|
az_lsp.h | 106 Word16 lsp[], /* (o) : line spectral pairs (M) */ 107 Word16 old_lsp[], /* (i) : old lsp[] (in case not found 10 roots) (M) */
|
lsp.h | 31 Filename: /audio/gsm_amr/c/include/lsp.h 50 needed by the lsp.c 122 * pointer has to be passed to lsp in each call. 154 * Function : lsp 167 void lsp(lspState *st, /* i/o : State struct */ 172 Word16 lsp_new[], /* o : new lsp vector */
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
lsp_avg.h | 124 Word16 *lsp, /* i : LSP vector Q15 */
|
lsp_avg.cpp | 74 LSP averaging and history 213 lsp = pointer to Word16, which reflects the state of the state machine 248 Word16 *lsp // i : state of the state machine Q15 261 L_tmp = L_mac(L_tmp, EXPCONST, lsp[i]); 295 Word16 *lsp, /* i : state of the state machine Q15 */ 310 L_tmp = L_mac(L_tmp, EXPCONST, lsp[i], pOverflow);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
ton_stab.cpp | 403 lsp = pointer to unquantized LSPs of type Word16 421 Purpose: Check the LSP's to detect resonances 437 Word16 *lsp // i : unquantized LSP's 443 // Find minimum distance between lsp[i] and lsp[i+1] 448 dist = sub(lsp[i], lsp[i+1]); 459 dist = sub(lsp[i], lsp[i+1]) [all...] |
/external/libgsm/src/ |
preprocess.c | 49 word msp, lsp; local 92 lsp = L_z2-((longword)msp<<15); /* gsm_L_sub(L_z2,(msp<<15)); */ 94 L_s2 += GSM_MULT_R( lsp, 32735 );
|