/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/base/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...] |
az_lsp.cpp | 331 lsp = line spectral pairs (Word16) 381 Word16 lsp[], // (o) : line spectral pairs (M) 382 Word16 old_lsp[] // (i) : old lsp[] (in case not found 10 roots) (M) 505 lsp[nf] = xint; 530 lsp[i] = old_lsp[i]; 562 Word16 lsp[], /* (o) : line spectral pairs (M) */ 563 Word16 old_lsp[], /* (i) : old lsp[] (in case not found 10 roots) (M) */ 700 *(lsp + nf) = xint; 726 *lsp++ = *old_lsp++; 727 *lsp++ = *old_lsp++ [all...] |
lsp.cpp | 30 Pathname: ./audio/gsm-amr/c/src/lsp.c 42 Description: For lsp_reset() and lsp() 70 #include "lsp.h" 124 Initializes lsp state data. 134 lsp.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 235 lsp.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 324 lsp.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 371 FUNCTION NAME: lsp 385 lsp_new = array of type Word16 -- new lsp vector 412 lsp.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 200 440 void lsp(lspState *st, \/* i\/o : State struct *\/ function [all...] |
/frameworks/base/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/base/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);
|
c_g_aver.h | 145 Word16 lsp[], /* i : The LSP for the current frame Q15 */ 146 Word16 lspAver[], /* i : The average of LSP for 8 frames Q15 */
|
dtx_dec.cpp | 96 * Scaling factors for the lsp variability operation * 187 // Initialize state->lsp [] and state->lsp_old [] 188 Copy(lsp_init_data, &st->lsp[0], M); 266 /* Initialize state->lsp [] */ 267 st->lsp[0] = 30000; 268 st->lsp[1] = 26000; 269 st->lsp[2] = 21000; 270 st->lsp[3] = 15000; 271 st->lsp[4] = 8000; 272 st->lsp[5] = 0 [all...] |
dtx_dec.h | 113 Word16 lsp[M]; member in struct:__anon9181
|
c_g_aver.cpp | 224 lsp = the LSP for the current frame (Word16) 225 lspAver = the average of LSP for 8 frames (Word16) 268 Word16 lsp[], // i : The LSP for the current frame Q15 269 Word16 lspAver[], // i : The average of LSP for 8 frames Q15 301 // compute lsp difference 303 tmp1 = abs_s(sub(lspAver[i], lsp[i])); // Q15 467 Word16 lsp[], /* i : The LSP for the current frame Q15 * [all...] |
/frameworks/base/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...] |
ton_stab.h | 130 Word16 *lsp, /* i : unquantized LSP's */
|
dtx_enc.cpp | 283 lsp_init_data = table containing LSP initialization values; 542 Word16 lsp[M]; 558 // average energy and lsp 574 lsp[j] = extract_l(L_shr(L_lsp[j], 3)); // divide by 8 620 // make sure that LSP's are ordered 621 Lsp_lsf(lsp, lsf, M); 623 Lsf_lsp(lsf, lsp, M); 625 // Quantize lsp and put on parameter list 626 Q_plsf_3(qSt, MRDTX, lsp, lsp_q, st->lsp_index, 678 Word16 lsp[M] local [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 );
|
/external/tremolo/Tremolo/ |
floor0.c | 51 /*************** LSP decode ********************/ 146 ogg_int32_t *lsp,int m, 179 /* lsp is in 8.24, range 0 to PI; coslook wants it in .16 0 to 1*/ 182 ogg_int32_t val=MULT32(lsp[i],0x517cc2); 184 ogg_int32_t val=((lsp[i]>>10)*0x517d)>>14; 401 ogg_int32_t *lsp){ 417 if(vorbis_book_decodev_set(b,lsp+j,&vd->opb,b->dim,-24)==-1)goto eop; 419 for(k=0;k<b->dim;k++,j++)lsp[j]+=last; 420 last=lsp[j-1]; 423 lsp[info->order]=amp [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/ |
Android.mk | 33 src/lsp.cpp \
|