Home
last modified time | relevance | path

Searched refs:lpc (Results 1 – 25 of 34) sorted by relevance

12

/external/libvorbis/lib/
Dlpc.c63 double *lpc=alloca(sizeof(*lpc)*(m)); in vorbis_lpc_from_data() local
86 memset(lpc+i,0,(m-i)*sizeof(*lpc)); in vorbis_lpc_from_data()
95 for(j=0;j<i;j++)r-=lpc[j]*aut[i-j]; in vorbis_lpc_from_data()
100 lpc[i]=r; in vorbis_lpc_from_data()
102 double tmp=lpc[j]; in vorbis_lpc_from_data()
104 lpc[j]+=r*lpc[i-1-j]; in vorbis_lpc_from_data()
105 lpc[i-1-j]+=r*tmp; in vorbis_lpc_from_data()
107 if(i&1)lpc[j]+=lpc[j]*r; in vorbis_lpc_from_data()
120 lpc[j]*=damp; in vorbis_lpc_from_data()
125 for(j=0;j<m;j++)lpci[j]=(float)lpc[j]; in vorbis_lpc_from_data()
Dlsp.c405 int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m){ in vorbis_lpc_to_lsp() argument
424 for(i=1;i<=g1_order;i++) g1[g1_order-i] = lpc[i-1]+lpc[m-i]; in vorbis_lpc_to_lsp()
426 for(i=1;i<=g2_order;i++) g2[g2_order-i] = lpc[i-1]-lpc[m-i]; in vorbis_lpc_to_lsp()
DMakefile.am10 lpc.c analysis.c synthesis.c psy.c info.c \
14 envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
Dlpc.h24 extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m);
Dlsp.h22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
Dblock.c418 float *lpc=alloca(order*sizeof(*lpc)); in _preextrapolate_helper() local
430 vorbis_lpc_from_data(work,lpc,v->pcm_current-v->centerW,order); in _preextrapolate_helper()
444 vorbis_lpc_predict(lpc,work+v->pcm_current-v->centerW-order, in _preextrapolate_helper()
466 float *lpc=alloca(order*sizeof(*lpc)); in vorbis_analysis_wrote() local
490 vorbis_lpc_from_data(v->pcm[i]+v->eofflag-n,lpc,n,order); in vorbis_analysis_wrote()
493 vorbis_lpc_predict(lpc,v->pcm[i]+v->eofflag-order,order, in vorbis_analysis_wrote()
DMakefile.in61 window.lo lsp.lo lpc.lo analysis.lo synthesis.lo psy.lo \
273 lpc.c analysis.c synthesis.c psy.c info.c \
277 envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
410 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lpc.Plo@am__quote@
/external/speex/libspeex/
Dlpc.c74 spx_coef_t *lpc, /* out: [0...p-1] LPC coefficients */ in _spx_lpc() argument
86 lpc[i] = 0; in _spx_lpc()
95 rr = SUB32(rr,MULT16_16(lpc[j],ac[i - j])); in _spx_lpc()
102 lpc[i] = r; in _spx_lpc()
105 spx_word16_t tmp = lpc[j]; in _spx_lpc()
106 lpc[j] = MAC16_16_P13(lpc[j],r,lpc[i-1-j]); in _spx_lpc()
107 lpc[i-1-j] = MAC16_16_P13(lpc[i-1-j],r,tmp); in _spx_lpc()
110 lpc[j] = MAC16_16_P13(lpc[j],lpc[j],r); in _spx_lpc()
Dlpc.h47 spx_coef_t * lpc, /* [0...p-1] LPC coefficients */
Dnb_celp.c266 VARDECL(spx_coef_t *lpc); in nb_encode()
284 ALLOC(lpc, st->lpcSize, spx_coef_t); in nb_encode()
320 _spx_lpc(lpc, autocorr, st->lpcSize); in nb_encode()
322 roots=lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA1, stack); in nb_encode()
1206 VARDECL(spx_coef_t *lpc); in nb_decode()
1207 ALLOC(lpc, st->lpcSize, spx_coef_t); in nb_decode()
1208 bw_lpc(QCONST16(0.93f,15), st->interp_qlpc, lpc, st->lpcSize); in nb_decode()
1221 iir_mem16(st->exc, lpc, out, st->frameSize, st->lpcSize, st->mem_sp, stack); in nb_decode()
Dsb_celp.c322 VARDECL(spx_coef_t *lpc); in sb_encode()
373 ALLOC(lpc, st->lpcSize, spx_coef_t); in sb_encode()
407 _spx_lpc(lpc, autocorr, st->lpcSize); 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()
/external/libopus/celt/
Dcelt_lpc.c47 opus_val32 lpc[LPC_ORDER]; in _celt_lpc() local
49 float *lpc = _lpc; in _celt_lpc() local
53 lpc[i] = 0; in _celt_lpc()
60 rr += MULT32_32_Q31(lpc[j],ac[i - j]); in _celt_lpc()
64 lpc[i] = SHR32(r,3); in _celt_lpc()
68 tmp1 = lpc[j]; in _celt_lpc()
69 tmp2 = lpc[i-1-j]; in _celt_lpc()
70 lpc[j] = tmp1 + MULT32_32_Q31(r,tmp2); in _celt_lpc()
71 lpc[i-1-j] = tmp2 + MULT32_32_Q31(r,tmp1); in _celt_lpc()
87 _lpc[i] = ROUND16(lpc[i],16); in _celt_lpc()
Dpitch.c153 opus_val16 lpc[4], mem[5]={0,0,0,0,0}; in pitch_downsample() local
202 _celt_lpc(lpc, ac, 4); in pitch_downsample()
206 lpc[i] = MULT16_16_Q15(lpc[i], tmp); in pitch_downsample()
209 lpc2[0] = lpc[0] + QCONST16(.8f,SIG_SHIFT); in pitch_downsample()
210 lpc2[1] = lpc[1] + MULT16_16_Q15(c1,lpc[0]); in pitch_downsample()
211 lpc2[2] = lpc[2] + MULT16_16_Q15(c1,lpc[1]); in pitch_downsample()
212 lpc2[3] = lpc[3] + MULT16_16_Q15(c1,lpc[2]); in pitch_downsample()
213 lpc2[4] = MULT16_16_Q15(c1,lpc[3]); in pitch_downsample()
Dcelt_decoder.c340 opus_val16 *lpc; in celt_decode_lost() local
362 lpc = (opus_val16*)(st->_decode_mem+(DECODE_BUFFER_SIZE+overlap)*C); in celt_decode_lost()
363 oldBandE = lpc+C*LPC_ORDER; in celt_decode_lost()
503 _celt_lpc(lpc+c*LPC_ORDER, ac, LPC_ORDER); in celt_decode_lost()
518 celt_fir(exc+MAX_PERIOD-exc_length, lpc+c*LPC_ORDER, in celt_decode_lost()
584 celt_iir(buf+DECODE_BUFFER_SIZE-N, lpc+c*LPC_ORDER, in celt_decode_lost()
672 opus_val16 *lpc; local
711 lpc = (opus_val16*)(st->_decode_mem+(DECODE_BUFFER_SIZE+overlap)*CC);
712 oldBandE = lpc+CC*LPC_ORDER;
1142 opus_val16 *lpc, *oldBandE, *oldLogE, *oldLogE2; local
[all …]
/external/libvorbis/macosx/Vorbis.xcodeproj/
Dproject.pbxproj16 …738835FC0B18FF82005C7A69 /* lpc.c in Sources */ = {isa = PBXBuildFile; fileRef = F5D8F63003389C830…
64 …F5D8F63003389C830112CE8F /* lpc.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c…
65 …F5D8F63103389C830112CE8F /* lpc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h…
184 F5D8F63003389C830112CE8F /* lpc.c */,
185 F5D8F63103389C830112CE8F /* lpc.h */,
341 738835FC0B18FF82005C7A69 /* lpc.c in Sources */,
/external/flac/libFLAC/include/private/
DMakefile.am41 lpc.h \
/external/libgsm/
DAndroid.mk30 src/lpc.c \
/external/flac/libFLAC/
DAndroid.mk13 lpc.c \
DMakefile.lite74 lpc.c \
Dlpc.c126 FLAC__double r, err, lpc[FLAC__MAX_LPC_ORDER]; in FLAC__lpc_compute_lp_coefficients() local
139 r -= lpc[j] * autoc[i-j]; in FLAC__lpc_compute_lp_coefficients()
143 lpc[i]=r; in FLAC__lpc_compute_lp_coefficients()
145 FLAC__double tmp = lpc[j]; in FLAC__lpc_compute_lp_coefficients()
146 lpc[j] += r * lpc[i-1-j]; in FLAC__lpc_compute_lp_coefficients()
147 lpc[i-1-j] += r * tmp; in FLAC__lpc_compute_lp_coefficients()
150 lpc[j] += lpc[j] * r; in FLAC__lpc_compute_lp_coefficients()
156 lp_coeff[i][j] = (FLAC__real)(-lpc[j]); /* negate FIR filter coeff to get predictor coeff */ in FLAC__lpc_compute_lp_coefficients()
DMakefile.am109 lpc.c \
DMakefile.in292 lpc.c \
395 crc.c fixed.c float.c format.c lpc.c md5.c memory.c \
404 crc.lo fixed.lo float.lo format.lo lpc.lo md5.lo memory.lo \
417 @AMDEP_TRUE@ ./$(DEPDIR)/format.Plo ./$(DEPDIR)/lpc.Plo \
505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lpc.Plo@am__quote@
/external/libvorbis/
DAndroid.mk18 lib/lpc.c \
/external/speex/
DAndroid.mk90 libspeex/lpc.c \
/external/libvorbis/symbian/
Dvorbis.mmp39 SOURCE lookup.c lpc.c lsp.c mapping0.c mdct.c psy.c registry.c res0.c sharedbook.c

12