/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
lpc.cpp | 34 Pathname: ./audio/gsm-amr/c/src/lpc.c 58 #include "lpc.h" 117 This function initializes the state data for the LPC module. 127 lpc.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 240 This function resets the state data for the LPC module. 250 lpc.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 324 This function frees the state data for the LPC module. 334 lpc.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 391 FUNCTION NAME: lpc 417 This function executes the LPC functionality for GSM AMR 487 void lpc( function [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
celt_lpc.c | 38 opus_val16 *_lpc, /* out: [0...p-1] LPC coefficients */ 47 opus_val32 lpc[LPC_ORDER]; local 49 float *lpc = _lpc; local 53 lpc[i] = 0; 60 rr += MULT32_32_Q31(lpc[j],ac[i - j]); 63 /* Update LPC coefficients and total error */ 64 lpc[i] = SHR32(r,3); 68 tmp1 = lpc[j]; 69 tmp2 = lpc[i-1-j]; 70 lpc[j] = tmp1 + MULT32_32_Q31(r,tmp2) [all...] |
pitch.c | 153 opus_val16 lpc[4], mem[5]={0,0,0,0,0}; local 202 _celt_lpc(lpc, ac, 4); 206 lpc[i] = MULT16_16_Q15(lpc[i], tmp); 209 lpc2[0] = lpc[0] + QCONST16(.8f,SIG_SHIFT); 210 lpc2[1] = lpc[1] + MULT16_16_Q15(c1,lpc[0]); 211 lpc2[2] = lpc[2] + MULT16_16_Q15(c1,lpc[1]); 212 lpc2[3] = lpc[3] + MULT16_16_Q15(c1,lpc[2]) [all...] |
celt_decoder.c | 92 /* opus_val16 lpc[], Size = channels*LPC_ORDER */ 340 opus_val16 *lpc; local 362 lpc = (opus_val16*)(st->_decode_mem+(DECODE_BUFFER_SIZE+overlap)*C); 363 oldBandE = lpc+C*LPC_ORDER; 482 /* Compute LPC coefficients for the last MAX_PERIOD samples before 501 _celt_lpc(lpc+c*LPC_ORDER, ac, LPC_ORDER); 506 /* Initialize the LPC history with the samples just before the start 516 celt_fir(exc+MAX_PERIOD-exc_length, lpc+c*LPC_ORDER, 582 celt_iir(buf+DECODE_BUFFER_SIZE-N, lpc+c*LPC_ORDER, 671 opus_val16 *lpc; local 1142 opus_val16 *lpc, *oldBandE, *oldLogE, *oldLogE2; local [all...] |
/external/libvorbis/lib/ |
lpc.c | 13 function: LPC low level routines 14 last mod: $Id: lpc.c 16227 2009-07-08 06:58:46Z xiphmont $ 18 /* Some of these routines (autocorrelator, LPC coefficient estimator) 51 #include "lpc.h" 55 /* Autocorrelation LPC coeff generation algorithm invented by 59 Output: m lpc coefficients, excitation energy */ 63 double *lpc=alloca(sizeof(*lpc)*(m)); local 76 /* Generate lpc coefficients from autocorr values */ 86 memset(lpc+i,0,(m-i)*sizeof(*lpc)) [all...] |
block.c | 30 #include "lpc.h" 418 float *lpc=alloca(order*sizeof(*lpc)); local 430 vorbis_lpc_from_data(work,lpc,v->pcm_current-v->centerW,order); 444 vorbis_lpc_predict(lpc,work+v->pcm_current-v->centerW-order, 466 float *lpc=alloca(order*sizeof(*lpc)); local 484 /* extrapolate with LPC to fill in */ 490 vorbis_lpc_from_data(v->pcm[i]+v->eofflag-n,lpc,n,order); 493 vorbis_lpc_predict(lpc,v->pcm[i]+v->eofflag-order,order [all...] |
/external/flac/libFLAC/ |
lpc.c | 40 #include "private/lpc.h" 115 FLAC__double r, err, ref[FLAC__MAX_LPC_ORDER], lpc[FLAC__MAX_LPC_ORDER]; local 128 r -= lpc[j] * autoc[i-j]; 131 /* Update LPC coefficients and total error. */ 132 lpc[i]=r; 134 FLAC__double tmp = lpc[j]; 135 lpc[j] += r * lpc[i-1-j]; 136 lpc[i-1-j] += r * tmp; 139 lpc[j] += lpc[j] * r [all...] |
/external/speex/libspeex/ |
nb_celp.c | 38 #include "lpc.h" 266 VARDECL(spx_coef_t *lpc); 284 ALLOC(lpc, st->lpcSize, spx_coef_t); 320 _spx_lpc(lpc, autocorr, st->lpcSize); 321 /* LPC to LSPs (x-domain) transform */ 322 roots=lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA1, stack); 1208 bw_lpc(QCONST16(0.93f,15), st->interp_qlpc, lpc, st->lpcSize); local [all...] |
/external/flac/include/FLAC/ |
format.h | 129 /** The maximum LPC order permitted by the format. */ 132 /** The maximum LPC order permitted by the FLAC subset for sample rates 312 /** LPC subframe. (c.f. <A HREF="../format.html#subframe_lpc">format specification</A>) 348 FLAC__Subframe_LPC lpc; member in union:__anon18284::__anon18285 [all...] |