/external/libvorbis/lib/ |
D | lpc.c | 63 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()
|
D | lsp.c | 405 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()
|
D | Makefile.am | 10 lpc.c analysis.c synthesis.c psy.c info.c \ 14 envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
|
D | lpc.h | 24 extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m);
|
D | lsp.h | 22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
|
D | block.c | 418 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()
|
/external/speex/libspeex/ |
D | lpc.c | 74 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()
|
D | lpc.h | 47 spx_coef_t * lpc, /* [0...p-1] LPC coefficients */
|
D | nb_celp.c | 266 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()
|
/external/libopus/celt/ |
D | celt_lpc.c | 47 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()
|
D | pitch.c | 153 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()
|
D | celt_decoder.c | 340 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/dbus/dbus/ |
D | dbus-sysdeps-win.c | 2442 char *lpc = &info.szHwProfileGuid[0]; in _dbus_read_local_machine_uuid() 2453 lpc++; in _dbus_read_local_machine_uuid() 2455 u = ((fromAscii(lpc[0]) << 0) | in _dbus_read_local_machine_uuid() 2456 (fromAscii(lpc[1]) << 4) | in _dbus_read_local_machine_uuid() 2457 (fromAscii(lpc[2]) << 8) | in _dbus_read_local_machine_uuid() 2458 (fromAscii(lpc[3]) << 12) | in _dbus_read_local_machine_uuid() 2459 (fromAscii(lpc[4]) << 16) | in _dbus_read_local_machine_uuid() 2460 (fromAscii(lpc[5]) << 20) | in _dbus_read_local_machine_uuid() 2461 (fromAscii(lpc[6]) << 24) | in _dbus_read_local_machine_uuid() 2462 (fromAscii(lpc[7]) << 28)); in _dbus_read_local_machine_uuid() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | vad_audio_proc.cc | 139 void VadAudioProc::GetLpcPolynomials(double* lpc, size_t length_lpc) { in GetLpcPolynomials() argument 151 WebRtcIsac_LevDurb(&lpc[offset_lpc], reflec_coeff, corr, kLpcOrder); in GetLpcPolynomials() 180 double lpc[kNum10msSubframes * (kLpcOrder + 1)]; in FindFirstSpectralPeaks() local 182 GetLpcPolynomials(lpc, kNum10msSubframes * (kLpcOrder + 1)); in FindFirstSpectralPeaks() 191 data[n] = static_cast<float>(lpc[i * (kLpcOrder + 1) + n]); in FindFirstSpectralPeaks()
|
D | vad_audio_proc.h | 43 void GetLpcPolynomials(double* lpc, size_t length_lpc);
|
/external/libvorbis/macosx/Vorbis.xcodeproj/ |
D | project.pbxproj | 16 …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/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | do_plc.h | 35 int16_t *lpc, /* (i) decoded LPC (only used for no PL) */
|
D | do_plc.c | 35 int16_t *lpc, /* (i) decoded LPC (only used for no PL) */ in WebRtcIlbcfix_DoThePlc() argument 295 WEBRTC_SPL_MEMCPY_W16(PLClpc, lpc, (LPC_FILTERORDER+1)); in WebRtcIlbcfix_DoThePlc()
|
/external/libgsm/ |
D | Android.mk | 30 src/lpc.c \
|
/external/flac/libFLAC/ |
D | Android.mk | 13 lpc.c \
|
D | lpc.c | 126 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()
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | signal_processing_unittest.cc | 352 int16_t lpc[kOrder + 2] = { 0 }; in TEST_F() local 357 EXPECT_EQ(0, WebRtcSpl_LevinsonDurbin(unstable_filter, lpc, refl, kOrder)); in TEST_F() 358 EXPECT_EQ(1, WebRtcSpl_LevinsonDurbin(stable_filter, lpc, refl, kOrder)); in TEST_F() 360 EXPECT_EQ(lpc_result[i], lpc[i]); in TEST_F()
|
/external/libvorbis/ |
D | Android.mk | 18 lib/lpc.c \
|
/external/speex/ |
D | Android.mk | 91 libspeex/lpc.c \
|
/external/libvorbis/symbian/ |
D | vorbis.mmp | 39 SOURCE lookup.c lpc.c lsp.c mapping0.c mdct.c psy.c registry.c res0.c sharedbook.c
|