Searched refs:lsp (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dpoly_to_lsf.c28 int16_t lsp[10]; local
29 WebRtcIlbcfix_Poly2Lsp(a, lsp, (int16_t*)WebRtcIlbcfix_kLspMean);
30 WebRtcIlbcfix_Lsp2Lsf(lsp, lsf, 10);
H A Dget_lsp_poly.h31 * tmp = -2.0 * lsp[0];
34 * b = -2.0 * lsp[2*i-2];
44 int16_t *lsp, /* (i) LSP in Q15 */
H A Dlsf_to_lsp.h25 * conversion from lsf to lsp coefficients
30 int16_t *lsp, /* (o) lsp in Q15 values between -1 and 1 */
H A Dlsp_to_lsf.h29 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */
H A Dpoly_to_lsp.h25 * conversion from lpc coefficients to lsp coefficients
31 int16_t *lsp, /* (i) LSP coefficients in Q15 */
H A Dlsf_to_poly.c33 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 Dlsf_to_lsp.c23 * 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)(WEBRTC_SPL_RSHIFT_W32(tmpW32, 12));
26 WebRtcIlbcfix_Lsf2Lsp( int16_t *lsf, int16_t *lsp, int16_t m ) argument
H A Dget_lsp_poly.c28 * 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 Dlsp_to_lsf.c27 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 Dpoly_to_lsp.c24 * conversion from lpc coefficients to lsp coefficients
30 int16_t *lsp, /* (i) LSP coefficients in Q15 */
136 /* Store the calculated lsp */
137 lsp[foundFreqs] = (int16_t)xint;
153 WEBRTC_SPL_MEMCPY_W16(lsp, old_lsp, 10);
28 WebRtcIlbcfix_Poly2Lsp( int16_t *a, int16_t *lsp, int16_t *old_lsp ) argument
/external/libvorbis/lib/
H A Dlsp.h14 last mod: $Id: lsp.h 16227 2009-07-08 06:58:46Z xiphmont $
22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
25 float *lsp,int m,
H A Dfloor0.c26 #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 Dlsp.c14 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/chromium_org/third_party/speex/libspeex/
H A 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);
H A Dquant_lsp.c159 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 Dlsp.h18 @file lsp.h
60 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin);
H A Dlsp.c3 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/speex/libspeex/
H A 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);
H A Dquant_lsp.c159 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 Dlsp.h18 @file lsp.h
60 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin);
H A Dlsp.c3 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/libgsm/src/
H A Dpreprocess.c49 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/
H A Dfloor0.c146 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/clang/test/Sema/
H A Dformat-strings-scanf.c96 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/libvorbis/
H A DAndroid.mk19 lib/lsp.c \

Completed in 281 milliseconds

12