Home
last modified time | relevance | path

Searched refs:lsp (Results 1 – 11 of 11) sorted by relevance

/external/speex/libspeex/
Dquant_lsp.c159 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 …]
Dlsp.c593 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 …]
Dquant_lsp.h57 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);
Dnb_celp.c267 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 …]
Dlsp.h60 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin);
Dsb_celp.c326 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/tremolo/Tremolo/
Dfloor0.c146 ogg_int32_t *lsp,int m, in vorbis_lsp_to_curve() argument
182 ogg_int32_t val=MULT32(lsp[i],0x517cc2); in vorbis_lsp_to_curve()
184 ogg_int32_t val=((lsp[i]>>10)*0x517d)>>14; in vorbis_lsp_to_curve()
401 ogg_int32_t *lsp){ in floor0_inverse1() argument
417 if(vorbis_book_decodev_set(b,lsp+j,&vd->opb,b->dim,-24)==-1)goto eop; in floor0_inverse1()
419 for(k=0;k<b->dim;k++,j++)lsp[j]+=last; in floor0_inverse1()
420 last=lsp[j-1]; in floor0_inverse1()
423 lsp[info->order]=amp; in floor0_inverse1()
424 return(lsp); in floor0_inverse1()
432 ogg_int32_t *lsp,ogg_int32_t *out){ in floor0_inverse2() argument
[all …]
/external/libgsm/src/
Dpreprocess.c49 word msp, lsp; variable
92 lsp = L_z2-((longword)msp<<15); /* gsm_L_sub(L_z2,(msp<<15)); */
94 L_s2 += GSM_MULT_R( lsp, 32735 );
/external/speex/
DAUTHORS5 lsp.c lsp.h
/external/libpcap/
Dscanner.l221 lsp return LSP;
/external/srec/config/en.us/dictionary/
Dlarge.ok24406 ringelspaugh riNg@lsp{
27284 spoilsport sp<lsp{rt