/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/src/ |
D | int_lpc.cpp | 186 Word16 lsp[M]; in Int_lpc_1and3() local 190 Word16 *p_lsp = &lsp[0]; in Int_lpc_1and3() 201 lsp, in Int_lpc_1and3() 215 p_lsp = &lsp[0]; in Int_lpc_1and3() 224 lsp, in Int_lpc_1and3() 323 Word16 lsp[M]; in Int_lpc_1and3_2() local 327 Word16 *p_lsp = &lsp[0]; in Int_lpc_1and3_2() 336 Lsp_Az(lsp, Az, pOverflow); /* Subframe 1 */ in Int_lpc_1and3_2() 340 p_lsp = &lsp[0]; in Int_lpc_1and3_2() 348 Lsp_Az(lsp, Az, pOverflow); /* Subframe 3 */ in Int_lpc_1and3_2() [all …]
|
D | lsp_az.cpp | 253 Word16 *lsp, in Get_lsp_pol() argument 267 *f++ = (Word32) - *(lsp++) << 10; /* f[1] = -2.0 * lsp[0]; */ in Get_lsp_pol() 268 lsp++; /* Advance lsp pointer */ in Get_lsp_pol() 280 t0 = ((Word32)hi * *lsp); in Get_lsp_pol() 281 t0 += ((Word32)lo * *lsp) >> 15; in Get_lsp_pol() 288 *f -= (Word32)(*lsp++) << 10; in Get_lsp_pol() 291 lsp++; in Get_lsp_pol() 376 Word16 *lsp, in Get_lsp_pol_wrapper() argument 384 Get_lsp_pol(lsp, f, pOverflow); in Get_lsp_pol_wrapper() 509 Word16 lsp[], /* (i) : line spectral frequencies */ in Lsp_Az() argument [all …]
|
D | lsp_lsf.cpp | 216 Word16 lsp[], /* (o) : lsp[m] (range: -1<=val<1) */ in Lsf_lsp() argument 232 lsp[i] = add(table[ind], (Word16) L_tmp, pOverflow); in Lsf_lsp() 347 Word16 lsp[], /* (i) : lsp[m] (range: -1<=val<1) */ in Lsp_lsf() argument 357 Word16 *p_lsp = &lsp[m-1]; in Lsp_lsf()
|
D | az_lsp.cpp | 562 Word16 lsp[], /* (o) : line spectral pairs (M) */ in Az_lsp() argument 700 *(lsp + nf) = xint; in Az_lsp() 726 *lsp++ = *old_lsp++; in Az_lsp() 727 *lsp++ = *old_lsp++; in Az_lsp()
|
/external/speex/libspeex/ |
D | quant_lsp.c | 159 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_nb() argument 166 qlsp[i]=lsp[i]; in lsp_quant_nb() 210 qlsp[i]=lsp[i]-qlsp[i]; in lsp_quant_nb() 213 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_nb() argument 217 lsp[i]=LSP_LINEAR(i); in lsp_unquant_nb() 222 lsp[i] = ADD32(lsp[i], LSP_DIV_256(cdbk_nb[id*10+i])); in lsp_unquant_nb() 226 lsp[i] = ADD16(lsp[i], LSP_DIV_512(cdbk_nb_low1[id*5+i])); in lsp_unquant_nb() 230 lsp[i] = ADD32(lsp[i], LSP_DIV_1024(cdbk_nb_low2[id*5+i])); in lsp_unquant_nb() 234 lsp[i+5] = ADD32(lsp[i+5], LSP_DIV_512(cdbk_nb_high1[id*5+i])); in lsp_unquant_nb() 238 lsp[i+5] = ADD32(lsp[i+5], LSP_DIV_1024(cdbk_nb_high2[id*5+i])); in lsp_unquant_nb() [all …]
|
D | lsp.c | 593 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin) in lsp_enforce_margin() argument 599 if (lsp[0]<m) in lsp_enforce_margin() 600 lsp[0]=m; in lsp_enforce_margin() 601 if (lsp[len-1]>m2) in lsp_enforce_margin() 602 lsp[len-1]=m2; in lsp_enforce_margin() 605 if (lsp[i]<lsp[i-1]+m) in lsp_enforce_margin() 606 lsp[i]=lsp[i-1]+m; in lsp_enforce_margin() 608 if (lsp[i]>lsp[i+1]-m) in lsp_enforce_margin() 609 lsp[i]= SHR16(lsp[i],1) + SHR16(lsp[i+1]-m,1); in lsp_enforce_margin() 628 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin) in lsp_enforce_margin() argument [all …]
|
D | quant_lsp.h | 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);
|
D | lsp.h | 60 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin);
|
D | nb_celp.c | 267 VARDECL(spx_lsp_t *lsp); in nb_encode() 287 ALLOC(lsp, st->lpcSize, spx_lsp_t); in nb_encode() 322 roots=lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA1, stack); in nb_encode() 329 lsp[i]=st->old_lsp[i]; in nb_encode() 342 interp_lsp[i] = lsp[i]; in nb_encode() 344 … lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, st->nbSubframes, st->nbSubframes<<1); in nb_encode() 428 lsp_dist += (st->old_lsp[i] - lsp[i])*(st->old_lsp[i] - lsp[i]); in nb_encode() 571 st->old_lsp[i] = lsp[i]; in nb_encode() 577 SUBMODE(lsp_quant)(lsp, qlsp, st->lpcSize, bits); in nb_encode() 580 qlsp[i]=lsp[i]; in nb_encode() [all …]
|
D | sb_celp.c | 326 VARDECL(spx_lsp_t *lsp); in sb_encode() 378 ALLOC(lsp, st->lpcSize, spx_lsp_t); in sb_encode() 411 roots=lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA1, stack); in sb_encode() 414 roots = lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA2, stack); in sb_encode() 419 lsp[i]=st->old_lsp[i]; in sb_encode() 533 SUBMODE(lsp_quant)(lsp, qlsp, st->lpcSize, bits); in sb_encode() 538 st->old_lsp[i] = lsp[i]; in sb_encode() 566 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, sub, st->nbSubframes); in sb_encode() 742 st->old_lsp[i] = lsp[i]; in sb_encode()
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/ |
D | ton_stab.cpp | 525 Word16 *lsp, /* i : unquantized LSP's */ in check_lsp() argument 534 Word16 *p_lsp = &lsp[3]; in check_lsp() 535 Word16 *p_lsp_1 = &lsp[4]; in check_lsp() 553 p_lsp = &lsp[1]; in check_lsp() 554 p_lsp_1 = &lsp[2]; in check_lsp() 566 if (lsp[1] > 32000) in check_lsp() 570 else if (lsp[1] > 30500) in check_lsp()
|
D | dtx_enc.cpp | 676 Word16 lsp[M]; in dtx_enc() local 728 lsp[j] = (Word16)(~((~L_lsp[j]) >> 3)); in dtx_enc() 732 lsp[j] = (Word16)(L_lsp[j] >> 3); in dtx_enc() 806 Lsp_lsf(lsp, lsf, M, pOverflow); in dtx_enc() 808 Lsf_lsp(lsf, lsp, M, pOverflow); in dtx_enc() 811 Q_plsf_3(qSt, MRDTX, lsp, lsp_q, st->lsp_index, in dtx_enc()
|
D | ton_stab.h | 130 Word16 *lsp, /* i : unquantized LSP's */
|
/external/tremor/Tremor/ |
D | floor0.c | 126 ogg_int32_t *lsp,int m, in vorbis_lsp_to_curve() argument 162 ogg_int32_t val=MULT32(lsp[i],0x517cc2); in vorbis_lsp_to_curve() 164 ogg_int32_t val=((lsp[i]>>10)*0x517d)>>14; in vorbis_lsp_to_curve() 381 ogg_int32_t *lsp){ in floor0_inverse1() argument 397 if(vorbis_book_decodev_set(b,lsp+j,&vd->opb,b->dim,-24)==-1)goto eop; in floor0_inverse1() 399 for(k=0;k<b->dim;k++,j++)lsp[j]+=last; in floor0_inverse1() 400 last=lsp[j-1]; in floor0_inverse1() 403 lsp[info->order]=amp; in floor0_inverse1() 404 return(lsp); in floor0_inverse1() 412 ogg_int32_t *lsp,ogg_int32_t *out){ in floor0_inverse2() argument [all …]
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/ |
D | dtx_dec.cpp | 266 st->lsp[0] = 30000; in dtx_dec_reset() 267 st->lsp[1] = 26000; in dtx_dec_reset() 268 st->lsp[2] = 21000; in dtx_dec_reset() 269 st->lsp[3] = 15000; in dtx_dec_reset() 270 st->lsp[4] = 8000; in dtx_dec_reset() 271 st->lsp[5] = 0; in dtx_dec_reset() 272 st->lsp[6] = -8000; in dtx_dec_reset() 273 st->lsp[7] = -15000; in dtx_dec_reset() 274 st->lsp[8] = -21000; in dtx_dec_reset() 275 st->lsp[9] = -26000; in dtx_dec_reset() [all …]
|
D | lsp_avg.cpp | 295 Word16 *lsp, /* i : state of the state machine Q15 */ in lsp_avg() argument 310 L_tmp = L_mac(L_tmp, EXPCONST, lsp[i], pOverflow); in lsp_avg()
|
D | c_g_aver.cpp | 466 Word16 lsp[], /* i : The LSP for the current frame Q15 */ in Cb_gain_average() argument 515 tmp1 = abs_s(sub(*(lspAver + i), *(lsp + i), pOverflow)); in Cb_gain_average()
|
D | lsp_avg.h | 124 Word16 *lsp, /* i : LSP vector Q15 */
|
D | c_g_aver.h | 145 Word16 lsp[], /* i : The LSP for the current frame Q15 */
|
D | dtx_dec.h | 113 Word16 lsp[M]; member
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/ |
D | lsp_lsf.h | 102 Word16 lsp[], /* (o) : lsp[m] (range: -1<=val<1) */ 107 Word16 lsp[], /* (i) : lsp[m] (range: -1<=val<1) */
|
D | lsp_az.h | 99 Word16 lsp[], /* (i) : line spectral frequencies */
|
D | az_lsp.h | 106 Word16 lsp[], /* (o) : line spectral pairs (M) */
|
D | lsp.h | 167 void lsp(lspState *st, /* i/o : State struct */
|
/external/speex/ |
D | AUTHORS | 5 lsp.c lsp.h
|