/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);
|
/external/chromium_org/third_party/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);
|
/external/libvorbis/lib/ |
D | lsp.c | 65 void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m, in vorbis_lsp_to_curve() argument 72 for(i=0;i<m;i++)lsp[i]=vorbis_coslook(lsp[i]); in vorbis_lsp_to_curve() 81 float *ftmp=lsp; in vorbis_lsp_to_curve() 140 void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m, in vorbis_lsp_to_curve() argument 150 for(i=0;i<m;i++)ilsp[i]=vorbis_coslook_i(lsp[i]/M_PI*65536.f+.5f); in vorbis_lsp_to_curve() 248 void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m, in vorbis_lsp_to_curve() argument 252 for(i=0;i<m;i++)lsp[i]=2.f*cos(lsp[i]); in vorbis_lsp_to_curve() 261 q *= w-lsp[j-1]; in vorbis_lsp_to_curve() 262 p *= w-lsp[j]; in vorbis_lsp_to_curve() 267 q*=w-lsp[j-1]; in vorbis_lsp_to_curve() [all …]
|
D | floor0.c | 176 float *lsp=_vorbis_block_alloc(vb,sizeof(*lsp)*(look->m+b->dim+1)); in floor0_inverse1() local 179 if(vorbis_book_decodev_set(b,lsp+j,&vb->opb,b->dim)==-1)goto eop; in floor0_inverse1() 181 for(k=0;k<b->dim;k++,j++)lsp[j]+=last; in floor0_inverse1() 182 last=lsp[j-1]; in floor0_inverse1() 185 lsp[look->m]=amp; in floor0_inverse1() 186 return(lsp); in floor0_inverse1() 201 float *lsp=(float *)memo; in floor0_inverse2() local 202 float amp=lsp[look->m]; in floor0_inverse2() 209 lsp,look->m,amp,(float)info->ampdB); in floor0_inverse2()
|
D | lsp.h | 22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m); 25 float *lsp,int m,
|
D | Makefile.am | 9 libvorbis_la_SOURCES = mdct.c smallft.c block.c envelope.c window.c lsp.c \ 14 envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
|
/external/tremolo/Tremolo/ |
D | floor0.c | 146 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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
D | lsf_to_poly.c | 33 int16_t lsp[10]; in WebRtcIlbcfix_Lsf2Poly() local 37 WebRtcIlbcfix_Lsf2Lsp(lsf, lsp, LPC_FILTERORDER); in WebRtcIlbcfix_Lsf2Poly() 42 WebRtcIlbcfix_GetLspPoly(&lsp[0],f1ptr); in WebRtcIlbcfix_Lsf2Poly() 43 WebRtcIlbcfix_GetLspPoly(&lsp[1],f2ptr); in WebRtcIlbcfix_Lsf2Poly()
|
D | poly_to_lsf.c | 28 int16_t lsp[10]; in WebRtcIlbcfix_Poly2Lsf() local 29 WebRtcIlbcfix_Poly2Lsp(a, lsp, (int16_t*)WebRtcIlbcfix_kLspMean); in WebRtcIlbcfix_Poly2Lsf() 30 WebRtcIlbcfix_Lsp2Lsf(lsp, lsf, 10); in WebRtcIlbcfix_Poly2Lsf()
|
D | poly_to_lsp.c | 30 int16_t *lsp, /* (i) LSP coefficients in Q15 */ in WebRtcIlbcfix_Poly2Lsp() argument 137 lsp[foundFreqs] = (int16_t)xint; in WebRtcIlbcfix_Poly2Lsp() 153 WEBRTC_SPL_MEMCPY_W16(lsp, old_lsp, 10); in WebRtcIlbcfix_Poly2Lsp()
|
D | lsf_to_lsp.c | 28 int16_t *lsp, /* (o) lsp in Q15 values between -1 and 1 */ in WebRtcIlbcfix_Lsf2Lsp() argument 57 lsp[i] = WebRtcIlbcfix_kCos[k]+(int16_t)(WEBRTC_SPL_RSHIFT_W32(tmpW32, 12)); in WebRtcIlbcfix_Lsf2Lsp()
|
D | lsp_to_lsf.c | 27 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */ in WebRtcIlbcfix_Lsp2Lsf() argument 47 lspPtr = &lsp[9]; in WebRtcIlbcfix_Lsp2Lsf()
|
D | get_lsp_poly.c | 41 int16_t *lsp, /* (i) LSP in Q15 */ in WebRtcIlbcfix_GetLspPoly() argument 50 lspPtr = lsp; in WebRtcIlbcfix_GetLspPoly()
|
D | get_lsp_poly.h | 44 int16_t *lsp, /* (i) LSP in Q15 */
|
D | poly_to_lsp.h | 31 int16_t *lsp, /* (i) LSP coefficients in Q15 */
|
D | lsp_to_lsf.h | 29 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */
|
/external/libgsm/src/ |
D | preprocess.c | 49 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/chromium_org/chrome/browser/safe_browsing/incident_reporting/ |
D | environment_data_collection_win_unittest.cc | 99 std::string lsp = "c:\\windows\\system32\\mswsock.dll"; in TEST() local 106 if (DllEntryContainsLspFeature(process_report, lsp)) in TEST() 113 dll->set_path(lsp); in TEST() 120 if (DllEntryContainsLspFeature(process_report, lsp)) in TEST() 123 FAIL() << "No LSP feature found for " << lsp; in TEST()
|
/external/clang/test/Sema/ |
D | format-strings-scanf.c | 96 void test_alloc_extension(char **sp, wchar_t **lsp, float *fp) { in test_alloc_extension() argument 101 …scanf("%aS", lsp); // expected-warning{{format specifies type 'float *' but the argument has type … in test_alloc_extension() 107 scanf("%mS", lsp); // No warning. in test_alloc_extension() 109 scanf("%mC", lsp); // No warning. in test_alloc_extension()
|
/external/speex/ |
D | AUTHORS | 5 lsp.c lsp.h
|
/external/chromium_org/third_party/speex/ |
D | AUTHORS | 5 lsp.c lsp.h
|