/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | 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);
|
H A D | get_lsp_poly.c | 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; 40 WebRtcIlbcfix_GetLspPoly( int16_t *lsp, int32_t *f) argument
|
H A D | 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)(tmpW32 >> 12); 26 WebRtcIlbcfix_Lsf2Lsp( int16_t *lsf, int16_t *lsp, int16_t m ) argument
|
H A D | 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);
|
H A D | lsp_to_lsf.c | 27 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */ 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) 26 WebRtcIlbcfix_Lsp2Lsf( int16_t *lsp, int16_t *lsf, int16_t m ) argument
|
H A D | poly_to_lsp.c | 24 * conversion from lpc coefficients to lsp coefficients 30 int16_t *lsp, /* (i) LSP coefficients in Q15 */ 138 /* Store the calculated lsp */ 139 lsp[foundFreqs] = (int16_t)xint; 155 WEBRTC_SPL_MEMCPY_W16(lsp, old_lsp, 10); 28 WebRtcIlbcfix_Poly2Lsp( int16_t *a, int16_t *lsp, int16_t *old_lsp ) argument
|
/external/libgsm/src/ |
H A D | 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/clang/test/Sema/ |
H A D | format-strings-scanf.c | 96 void test_alloc_extension(char **sp, wchar_t **lsp, float *fp) { argument 101 scanf("%aS", lsp); // expected-warning{{format specifies type 'float *' but the argument has type 'wchar_t **'}} 107 scanf("%mS", lsp); // No warning. 109 scanf("%mC", lsp); // No warning.
|
/external/libldac/src/ |
H A D | quant_fixp_ldac.c | 63 int lsp, hsp; local 70 lsp = ga_isp_ldac[iqu]; 73 maxspec = abs(p_spec[lsp]); 74 for (isp = lsp+1; isp < hsp; isp++) { 83 for (isp = lsp; isp < hsp; isp++) { 88 for (isp = lsp; isp < hsp; isp++) { 89 p_spec[isp] = sa_val_ldac[isp-lsp];
|
H A D | quant_ldac.c | 52 int lsp, hsp; local 60 lsp = ga_isp_ldac[iqu]; 63 maxspec = fabs(p_spec[lsp]); 64 for (isp = lsp+1; isp < hsp; isp++) { 74 for (isp = lsp; isp < hsp; isp++) { 79 for (isp = lsp; isp < hsp; isp++) { 80 p_spec[isp] = sa_val_ldac[isp-lsp];
|
H A D | pack_ldac.c | 291 int lsp, hsp; local 296 lsp = ga_isp_ldac[iqu]; 303 isp = lsp; 321 for (isp = lsp; isp < hsp; isp++) { 339 int lsp, hsp; local 347 lsp = ga_isp_ldac[iqu]; 351 for (isp = lsp; isp < hsp; isp++) {
|
/external/libvorbis/lib/ |
H A D | floor0.c | 26 #include "lsp.h" 176 float *lsp=_vorbis_block_alloc(vb,sizeof(*lsp)*(look->m+b->dim+1)); local 179 if(vorbis_book_decodev_set(b,lsp+j,&vb->opb,b->dim)==-1)goto eop; 181 for(k=0;k<b->dim;k++,j++)lsp[j]+=last; 182 last=lsp[j-1]; 185 lsp[look->m]=amp; 186 return(lsp); 201 float *lsp=(float *)memo; local 202 float amp=lsp[loo [all...] |
H A D | lsp.c | 14 last mod: $Id: lsp.c 16227 2009-07-08 06:58:46Z xiphmont $ 25 /* Note that the lpc-lsp conversion finds the roots of polynomial with 38 #include "lsp.h" 64 /* side effect: changes *lsp to cosines of lsp */ 65 void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m, argument 72 for(i=0;i<m;i++)lsp[i]=vorbis_coslook(lsp[i]); 81 float *ftmp=lsp; 139 /* side effect: changes *lsp t 140 vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m, float amp,float ampoffset) argument 248 vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m, float amp,float ampoffset) argument 405 vorbis_lpc_to_lsp(float *lpc,float *lsp,int m) argument [all...] |
/external/speex/libspeex/ |
H A D | quant_lsp.c | 159 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) argument 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) argument 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])); 230 lsp[ 242 lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) argument 283 lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits) argument 306 lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) argument 310 lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits) argument 319 lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) argument 366 lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits) argument [all...] |
H A D | lsp.c | 3 FILE........: lsp.c 87 #include "lsp.h" 593 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin) argument 599 if (lsp[0]<m) 600 lsp[0]=m; 601 if (lsp[len-1]>m2) 602 lsp[len-1]=m2; 605 if (lsp[i]<lsp[i-1]+m) 606 lsp[ 628 lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin) argument [all...] |
/external/tremolo/Tremolo/ |
H A D | floor0.c | 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; 424 return(lsp); 145 vorbis_lsp_to_curve(ogg_int32_t *curve,int n,int ln, ogg_int32_t *lsp,int m, ogg_int32_t amp, ogg_int32_t ampoffset, ogg_int32_t nyq) argument 400 floor0_inverse1(vorbis_dsp_state *vd,vorbis_info_floor *i, ogg_int32_t *lsp) argument 431 floor0_inverse2(vorbis_dsp_state *vd,vorbis_info_floor *i, ogg_int32_t *lsp,ogg_int32_t *out) argument [all...] |
/external/google-breakpad/src/client/solaris/handler/ |
H A D | minidump_generator.cc | 99 bool IsLwpCrashedCallback(lwpstatus_t *lsp, void *context) { argument 103 const prgregset_t *gregs = &(lsp->pr_reg); 113 crashing_context->crashing_lwpid = lsp->pr_lwpid; 233 const lwpstatus_t *lsp, 237 lwp->thread_id = lsp->pr_lwpid; 274 const lwpstatus_t *lsp, MDRawThread *lwp) { 275 prfpregset_t fp_regs = lsp->pr_fpreg; 276 const prgregset_t *gregs = &(lsp->pr_reg); 290 lwp->thread_id = lsp->pr_lwpid; 305 lwp->thread_id = lsp 231 WriteCrashedLwpStream(MinidumpFileWriter *minidump_writer, const WriterArgument *writer_args, const lwpstatus_t *lsp, MDRawThread *lwp) argument 272 WriteLwpStream(MinidumpFileWriter *minidump_writer, const SolarisLwp *lwp_lister, const lwpstatus_t *lsp, MDRawThread *lwp) argument 388 LwpInformationCallback(lwpstatus_t *lsp, void *context) argument [all...] |