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

1 2

  /external/libvorbis/lib/
lsp.h 13 function: LSP (also called LSF) conversion routines
14 last mod: $Id: lsp.h 16227 2009-07-08 06:58:46Z xiphmont $
22 extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
25 float *lsp,int m,
floor0.c 26 #include "lsp.h"
176 float *lsp=_vorbis_block_alloc(vb,sizeof(*lsp)*(look->m+b->dim+1)); local
179 if(vorbis_book_decodev_set(b,lsp+j,&vb->opb,b->dim)==-1)goto eop;
181 for(k=0;k<b->dim;k++,j++)lsp[j]+=last;
182 last=lsp[j-1];
185 lsp[look->m]=amp;
186 return(lsp);
201 float *lsp=(float *)memo; local
202 float amp=lsp[look->m]
    [all...]
lsp.c 13 function: LSP (also called LSF) conversion routines
14 last mod: $Id: lsp.c 16227 2009-07-08 06:58:46Z xiphmont $
16 The LSP generation code is taken (with minimal modification and a
17 few bugfixes) from "On the Computation of the LSP Frequencies" by
25 /* Note that the lpc-lsp conversion finds the roots of polynomial with
38 #include "lsp.h"
44 /* three possible LSP to f curve functions; the exact computation
64 /* side effect: changes *lsp to cosines of lsp */
65 void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m
    [all...]
  /external/speex/libspeex/
quant_lsp.h 4 @brief LSP vector quantization
57 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);
quant_lsp.c 3 LSP vector quantization
159 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits)
166 qlsp[i]=lsp[i];
210 qlsp[i]=lsp[i]-qlsp[i];
213 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits)
217 lsp[i]=LSP_LINEAR(i);
222 lsp[i] = ADD32(lsp[i], LSP_DIV_256(cdbk_nb[id*10+i]));
226 lsp[i] = ADD16(lsp[i], LSP_DIV_512(cdbk_nb_low1[id*5+i]))
    [all...]
lsp.h 12 Coefficients (LPC) to Line Spectral Pair (LSP) and back. Note that the
13 LSP coefficients are not in radians format but in the x domain of the
18 @file lsp.h
19 @brief Line Spectral Pair (LSP) functions.
60 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin);
lsp.c 3 FILE........: lsp.c
11 Coefficients (LPC) to Line Spectral Pair (LSP) and back. Note that the
12 LSP coefficients are not in radians format but in the x domain of the
70 LSP frequencies is basically finding the roots of 5th order
87 #include "lsp.h"
207 This function converts LPC coefficients to LSP
222 /* float *freq LSP frequencies in the x domain */
397 Converts LSP coefficients to LPC coefficients.
404 /* float *freq array of LSP frequencies in the x domain */
421 in form 1 - 2cos(w)z(-1) + z(-2), where w is the LSP frequency
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
lsp_az.cpp 91 This file contains functions that convert line spectral pairs (LSP) to
94 F1(z) and F2(z), and Lsp_Az, which converts LSP to LPC by multiplying
135 lsp = pointer to the buffer containing the line spectral pairs (LSP)
160 This function finds the polynomial F1(z) or F2(z) from the LSPs. If the LSP
166 F1(z) = product ( 1 - 2 lsp[i] z^-1 + z^-2 )
168 F2(z) = product ( 1 - 2 lsp[i] z^-1 + z^-2 )
171 where lsp[] is the LSP vector in the cosine domain.
176 b = -2.0 * lsp[0
    [all...]
int_lpc.cpp 99 lsp_old -- array of type Word16 -- LSP vector at the
101 lsp_mid -- array of type Word16 -- LSP vector at the 2nd subfr. of
103 lsp_new -- array of type Word16 -- LSP vector at the 4th subfr. of
175 Word16 lsp_old[], /* i : LSP vector at the 4th subfr. of past frame (M) */
176 Word16 lsp_mid[], /* i : LSP vector at the 2nd subfr. of
178 Word16 lsp_new[], /* i : LSP vector at the 4th subfr. of
186 Word16 lsp[M]; local
190 Word16 *p_lsp = &lsp[0];
192 /* lsp[i] = lsp_mid[i] * 0.5 + lsp_old[i] * 0.5 */
201 lsp,
323 Word16 lsp[M]; local
446 Word16 lsp[M]; local
582 Word16 lsp[M]; local
    [all...]
lsp_lsf.cpp 71 This file contains the functions that convert line spectral pairs (LSP) to
129 lsp = buffer containing line spectral pairs; valid range is between
134 lsp contains the newly calculated line spectral pairs
148 This function performs the LSF to LSP transformation using the equation:
150 lsf[i] = arccos(lsp[i])/(2*pi)
152 The transformation from lsp[i] to lsf[i] is approximated by a look-up table
170 Word16 lsp[], // (o) : lsp[m] (range: -1<=val<1)
182 // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256
185 lsp[i] = add (table[ind], extract_l (L_shr (L_tmp, 9)))
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/common/include/
lsp_az.h 99 Word16 lsp[], /* (i) : line spectral frequencies */
lsp_lsf.h 102 Word16 lsp[], /* (o) : lsp[m] (range: -1<=val<1) */
107 Word16 lsp[], /* (i) : lsp[m] (range: -1<=val<1) */
az_lsp.h 106 Word16 lsp[], /* (o) : line spectral pairs (M) */
107 Word16 old_lsp[], /* (i) : old lsp[] (in case not found 10 roots) (M) */
lsp.h 31 Filename: /audio/gsm_amr/c/include/lsp.h
50 needed by the lsp.c
122 * pointer has to be passed to lsp in each call.
154 * Function : lsp
167 void lsp(lspState *st, /* i/o : State struct */
172 Word16 lsp_new[], /* o : new lsp vector */
  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
lsp_avg.h 124 Word16 *lsp, /* i : LSP vector Q15 */
lsp_avg.cpp 74 LSP averaging and history
213 lsp = pointer to Word16, which reflects the state of the state machine
248 Word16 *lsp // i : state of the state machine Q15
261 L_tmp = L_mac(L_tmp, EXPCONST, lsp[i]);
295 Word16 *lsp, /* i : state of the state machine Q15 */
310 L_tmp = L_mac(L_tmp, EXPCONST, lsp[i], pOverflow);
c_g_aver.h 145 Word16 lsp[], /* i : The LSP for the current frame Q15 */
146 Word16 lspAver[], /* i : The average of LSP for 8 frames Q15 */
dtx_dec.cpp 96 * Scaling factors for the lsp variability operation *
187 // Initialize state->lsp [] and state->lsp_old []
188 Copy(lsp_init_data, &st->lsp[0], M);
266 /* Initialize state->lsp [] */
267 st->lsp[0] = 30000;
268 st->lsp[1] = 26000;
269 st->lsp[2] = 21000;
270 st->lsp[3] = 15000;
271 st->lsp[4] = 8000;
272 st->lsp[5] = 0
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
ton_stab.cpp 403 lsp = pointer to unquantized LSPs of type Word16
421 Purpose: Check the LSP's to detect resonances
437 Word16 *lsp // i : unquantized LSP's
443 // Find minimum distance between lsp[i] and lsp[i+1]
448 dist = sub(lsp[i], lsp[i+1]);
459 dist = sub(lsp[i], lsp[i+1])
    [all...]
ton_stab.h 130 Word16 *lsp, /* i : unquantized LSP's */
  /external/libgsm/src/
preprocess.c 49 word msp, lsp; local
92 lsp = L_z2-((longword)msp<<15); /* gsm_L_sub(L_z2,(msp<<15)); */
94 L_s2 += GSM_MULT_R( lsp, 32735 );
  /external/tremolo/Tremolo/
floor0.c 51 /*************** LSP decode ********************/
146 ogg_int32_t *lsp,int m,
179 /* lsp is in 8.24, range 0 to PI; coslook wants it in .16 0 to 1*/
182 ogg_int32_t val=MULT32(lsp[i],0x517cc2);
184 ogg_int32_t val=((lsp[i]>>10)*0x517d)>>14;
401 ogg_int32_t *lsp){
417 if(vorbis_book_decodev_set(b,lsp+j,&vd->opb,b->dim,-24)==-1)goto eop;
419 for(k=0;k<b->dim;k++,j++)lsp[j]+=last;
420 last=lsp[j-1];
423 lsp[info->order]=amp
    [all...]
  /external/clang/test/Sema/
format-strings-scanf.c 91 void test_alloc_extension(char **sp, wchar_t **lsp, float *fp) {
96 scanf("%aS", lsp); // expected-warning{{format specifies type 'float *' but the argument has type 'wchar_t **'}}
102 scanf("%mS", lsp); // No warning.
104 scanf("%mC", lsp); // No warning.
  /external/libvorbis/
Android.mk 19 lib/lsp.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

Completed in 950 milliseconds

1 2