Home
last modified time | relevance | path

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

12

/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);
/external/libvorbis/lib/
Dlsp.c65 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 …]
Dfloor0.c176 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()
Dlsp.h22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
25 float *lsp,int m,
DMakefile.am9 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/
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/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dlsf_to_poly.c33 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()
Dpoly_to_lsf.c28 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()
Dpoly_to_lsp.c30 int16_t *lsp, /* (i) LSP coefficients in Q15 */ in WebRtcIlbcfix_Poly2Lsp() argument
139 lsp[foundFreqs] = (int16_t)xint; in WebRtcIlbcfix_Poly2Lsp()
155 WEBRTC_SPL_MEMCPY_W16(lsp, old_lsp, 10); in WebRtcIlbcfix_Poly2Lsp()
Dlsf_to_lsp.c28 int16_t *lsp, /* (o) lsp in Q15 values between -1 and 1 */ in WebRtcIlbcfix_Lsf2Lsp() argument
57 lsp[i] = WebRtcIlbcfix_kCos[k] + (int16_t)(tmpW32 >> 12); in WebRtcIlbcfix_Lsf2Lsp()
Dlsp_to_lsf.c27 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */ in WebRtcIlbcfix_Lsp2Lsf() argument
47 lspPtr = &lsp[9]; in WebRtcIlbcfix_Lsp2Lsf()
Dget_lsp_poly.c41 int16_t *lsp, /* (i) LSP in Q15 */ in WebRtcIlbcfix_GetLspPoly() argument
50 lspPtr = lsp; in WebRtcIlbcfix_GetLspPoly()
Dget_lsp_poly.h44 int16_t *lsp, /* (i) LSP in Q15 */
/external/tcpdump/tests/
Disis_4-v.out163 lsp-id: 1111.1111.1111.00-00, seq: 0x00000007, lifetime: 1200s
180 lsp-id: 1111.1111.1111.00-00, seq: 0x00000007, lifetime: 1200s
197 lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime: 1200s
214 lsp-id: 2222.2222.2222.00-00, seq: 0x00000006, lifetime: 1200s
232 start lsp-id: 0000.0000.0000.00-00
233 end lsp-id: ffff.ffff.ffff.ff-ff
235 lsp-id: 1111.1111.1111.00-00, seq: 0x00000007, lifetime: 1198s, chksum: 0x1da8
236 lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime: 1199s, chksum: 0x4382
240 start lsp-id: 0000.0000.0000.00-00
241 end lsp-id: ffff.ffff.ffff.ff-ff
[all …]
Disis_1-v.out4 start lsp-id: 0000.0000.0000.00-00
5 end lsp-id: ffff.ffff.ffff.ff-ff
7 lsp-id: 2222.2222.2222.00-00, seq: 0x0000000e, lifetime: 1184s, chksum: 0x5910
8 lsp-id: 3333.3333.3333.00-00, seq: 0x00000010, lifetime: 1147s, chksum: 0x1749
9 lsp-id: 3333.3333.3333.02-00, seq: 0x00000004, lifetime: 634s, chksum: 0x7f9f
93 start lsp-id: 0000.0000.0000.00-00
94 end lsp-id: ffff.ffff.ffff.ff-ff
96 lsp-id: 2222.2222.2222.00-00, seq: 0x0000000e, lifetime: 1174s, chksum: 0x5910
97 lsp-id: 3333.3333.3333.00-00, seq: 0x00000010, lifetime: 1137s, chksum: 0x1749
98 lsp-id: 3333.3333.3333.02-00, seq: 0x00000004, lifetime: 624s, chksum: 0x7f9f
[all …]
Disis_infloop-v.out5 lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
13 lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
21 lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
29 lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
37 lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
Disis_3-v.out135 lsp-id: 4444.4444.4444.00-00, seq: 0x0000000a, lifetime: 1199s
155 lsp-id: 4444.4444.4444.01-00, seq: 0x00000003, lifetime: 1199s
163 lsp-id: 3333.3333.3333.00-00, seq: 0x00000009, lifetime: 1199s
224 start lsp-id: 0000.0000.0000.00-00
225 end lsp-id: ffff.ffff.ffff.ff-ff
227 lsp-id: 3333.3333.3333.00-00, seq: 0x00000009, lifetime: 1192s, chksum: 0x24b1
228 lsp-id: 4444.4444.4444.00-00, seq: 0x0000000a, lifetime: 1194s, chksum: 0xf252
229 lsp-id: 4444.4444.4444.01-00, seq: 0x00000003, lifetime: 1194s, chksum: 0x7ef7
333 start lsp-id: 0000.0000.0000.00-00
334 end lsp-id: ffff.ffff.ffff.ff-ff
[all …]
Disis_2-v.out153 lsp-id: 2222.2222.2222.00-00, seq: 0x00000009, lifetime: 1199s
171 lsp-id: 3333.3333.3333.00-00, seq: 0x0000000e, lifetime: 1199s
229 start lsp-id: 0000.0000.0000.00-00
230 end lsp-id: ffff.ffff.ffff.ff-ff
232 lsp-id: 2222.2222.2222.00-00, seq: 0x00000009, lifetime: 1192s, chksum: 0x630b
233 lsp-id: 3333.3333.3333.00-00, seq: 0x0000000e, lifetime: 1194s, chksum: 0x1b47
234 lsp-id: 3333.3333.3333.02-00, seq: 0x00000004, lifetime: 1039s, chksum: 0x7f9f
318 start lsp-id: 0000.0000.0000.00-00
319 end lsp-id: ffff.ffff.ffff.ff-ff
321 lsp-id: 2222.2222.2222.00-00, seq: 0x00000009, lifetime: 1184s, chksum: 0x630b
[all …]
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc99 bool IsLwpCrashedCallback(lwpstatus_t *lsp, void *context) { in IsLwpCrashedCallback() argument
103 const prgregset_t *gregs = &(lsp->pr_reg); in IsLwpCrashedCallback()
113 crashing_context->crashing_lwpid = lsp->pr_lwpid; in IsLwpCrashedCallback()
233 const lwpstatus_t *lsp, in WriteCrashedLwpStream() argument
237 lwp->thread_id = lsp->pr_lwpid; in WriteCrashedLwpStream()
274 const lwpstatus_t *lsp, MDRawThread *lwp) { in WriteLwpStream() argument
275 prfpregset_t fp_regs = lsp->pr_fpreg; in WriteLwpStream()
276 const prgregset_t *gregs = &(lsp->pr_reg); in WriteLwpStream()
290 lwp->thread_id = lsp->pr_lwpid; in WriteLwpStream()
305 lwp->thread_id = lsp->pr_lwpid; in WriteLwpStream()
[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/clang/test/Sema/
Dformat-strings-scanf.c96 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/
DAUTHORS5 lsp.c lsp.h
/external/libvorbis/macosx/Vorbis.xcodeproj/
Dproject.pbxproj15 …738835FB0B18FF7A005C7A69 /* lsp.c in Sources */ = {isa = PBXBuildFile; fileRef = F5D8F63203389C830…
66 …F5D8F63203389C830112CE8F /* lsp.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c…
67 …F5D8F63303389C830112CE8F /* lsp.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h…
186 F5D8F63203389C830112CE8F /* lsp.c */,
187 F5D8F63303389C830112CE8F /* lsp.h */,
340 738835FB0B18FF7A005C7A69 /* lsp.c in Sources */,

12