HomeSort by relevance Sort by last modified time
    Searched refs:lpc (Results 1 - 25 of 28) sorted by null

1 2

  /external/libvorbis/lib/
lpc.h 13 function: LPC low level routines
14 last mod: $Id: lpc.h 16037 2009-05-26 21:10:58Z xiphmont $
23 /* simple linear scale LPC code */
24 extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m);
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...]
lsp.h 22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
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\
lsp.c 25 /* Note that the lpc-lsp conversion finds the roots of polynomial with
29 LPC f response) which in turn should be impossible in our use of
333 return(-1); /* complex root! The LPC generator handed us a bad filter */
404 /* Convert lpc coefficients to lsp coefficients */
405 int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m){
424 for(i=1;i<=g1_order;i++) g1[g1_order-i] = lpc[i-1]+lpc[m-i];
426 for(i=1;i<=g2_order;i++) g2[g2_order-i] = lpc[i-1]-lpc[m-i];
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/speex/libspeex/
lpc.c 56 #include "lpc.h"
62 /* LPC analysis
74 spx_coef_t *lpc, /* out: [0...p-1] LPC coefficients */
86 lpc[i] = 0;
95 rr = SUB32(rr,MULT16_16(lpc[j],ac[i - j]));
101 /* Update LPC coefficients and total error */
102 lpc[i] = r;
105 spx_word16_t tmp = lpc[j];
106 lpc[j] = MAC16_16_P13(lpc[j],r,lpc[i-1-j])
    [all...]
lpc.h 3 @file lpc.h
4 @brief Functions for LPC (Linear Prediction Coefficients) analysis
47 spx_coef_t * lpc, /* [0...p-1] LPC coefficients */
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...]
sb_celp.c 39 #include "lpc.h"
322 VARDECL(spx_coef_t *lpc);
373 ALLOC(lpc, st->lpcSize, spx_coef_t);
407 _spx_lpc(lpc, autocorr, st->lpcSize);
410 /* LPC to LSPs (x-domain) transform */
411 roots=lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA1, stack);
414 roots = lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA2, stack);
1004 /* LSP to LPC */
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
lpc.h 34 Filename: /audio/gsm_amr/c/src/include/lpc.h
50 File : lpc.h
116 be passed to lpc in each call.
129 void lpc(
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...]
cod_amr.cpp 90 #include "lpc.h"
383 st->p_window = st->old_speech + L_TOTAL - L_WINDOW; // For LPC window
384 st->p_window_12k2 = st->p_window - L_NEXT; // EFR LPC window: no lookahead
412 // Reset lpc states
481 st->p_window = st->old_speech + L_TOTAL - L_WINDOW; /* For LPC window */
482 st->p_window_12k2 = st->p_window - L_NEXT; /* EFR LPC window: no lookahead */
513 /* Reset lpc states */
821 // LPC coefficients
834 Word16 res[L_SUBFR]; // Short term (LPC) prediction residual
860 Word16 lsp_flag = 0; // indicates resonance in LPC filte
    [all...]
  /external/chromium_org/third_party/opus/src/celt/
celt_lpc.c 37 opus_val16 *_lpc, /* out: [0...p-1] LPC coefficients */
46 opus_val32 lpc[LPC_ORDER]; local
48 float *lpc = _lpc; local
52 lpc[i] = 0;
59 rr += MULT32_32_Q31(lpc[j],ac[i - j]);
62 /* Update LPC coefficients and total error */
63 lpc[i] = SHR32(r,3);
67 tmp1 = lpc[j];
68 tmp2 = lpc[i-1-j];
69 lpc[j] = tmp1 + MULT32_32_Q31(r,tmp2)
    [all...]
pitch.c 111 opus_val16 lpc[4], mem[4]={0,0,0,0}; local
158 _celt_lpc(lpc, ac, 4);
162 lpc[i] = MULT16_16_Q15(lpc[i], tmp);
164 celt_fir(x_lp, lpc, x_lp, len>>1, 4, mem);
167 lpc[0]=QCONST16(.8f,12);
168 celt_fir(x_lp, lpc, x_lp, len>>1, 1, mem);
celt.c 2049 opus_val16 *lpc; local
2346 opus_val16 *lpc; local
2821 opus_val16 *lpc, *oldBandE, *oldLogE, *oldLogE2; local
    [all...]
  /external/flac/libFLAC/
Android.mk 13 lpc.c \
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...]
stream_encoder.c 65 #include "private/lpc.h"
383 FLAC__bool use_wide_by_order; /* use slow 64-bit versions of some functions because of the lpc order */
    [all...]
  /external/libgsm/
Android.mk 30 src/lpc.c \
  /external/libvorbis/
Android.mk 18 lib/lpc.c \
  /external/libvorbis/symbian/
vorbis.mmp 39 SOURCE lookup.c lpc.c lsp.c mapping0.c mdct.c psy.c registry.c res0.c sharedbook.c
  /frameworks/base/telephony/java/com/android/internal/telephony/
GsmAlphabet.java     [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/
Android.mk 42 src/lpc.cpp \
  /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:__anon20086::__anon20087
    [all...]

Completed in 430 milliseconds

1 2