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

1 2 3 4 5

  /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,
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...]
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...]
Makefile.am 9 libvorbis_la_SOURCES = mdct.c smallft.c block.c envelope.c window.c lsp.c \
14 envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
  /external/speex/libspeex/
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...]
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);
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...]
modes.c 156 /* LSP quantization */
177 /*LSP quantization*/
198 /*LSP quantization*/
219 /*LSP quantization*/
240 /*LSP quantization*/
261 /*LSP quantization*/
282 /*LSP quantization*/
303 /*LSP quantization*/
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);
modes_wb.c 89 /*LSP quantization*/
110 /*LSP quantization*/
135 /*LSP quantization*/
159 /*LSP quantization*/
modes.h 97 /*LSP functions*/
98 lsp_quant_func lsp_quant; /**< LSP quantization function */
99 lsp_unquant_func lsp_unquant; /**< LSP unquantization function */
  /external/speex/
AUTHORS 5 lsp.c lsp.h
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
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_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...]
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...]
  /external/libvorbis/
Android.mk 19 lib/lsp.c \
  /external/libvorbis/doc/
06-floor0.tex 8 Vorbis floor type zero uses Line Spectral Pair (LSP, also alternately
10 smooth spectral envelope curve as the frequency response of the LSP
13 coding; LSP representation may be converted to LPC representation and
21 VQ codebooks for use in coding/decoding the LSP filter coefficient
51 decoding the curve amplitude and \varname{[floor0_order]} LSP
53 curve, which is defined as the frequency response of the decoded LSP
145 The above is used to synthesize the LSP curve on a Bark-scale frequency
147 Similarly, the below calculation synthesizes the output LSP curve \varname{[output]} on a log
  /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/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 );
  /frameworks/av/media/libstagefright/codecs/amrnb/common/
Android.mk 33 src/lsp.cpp \
  /external/llvm/lib/CodeGen/
SplitKit.cpp 64 std::pair<SlotIndex, SlotIndex> &LSP = LastSplitPoint[Num];
69 if (!LSP.first.isValid()) {
72 LSP.first = MBBEnd;
74 LSP.first = LIS.getInstructionIndex(FirstTerm);
78 return LSP.first;
80 LSP.second = LSP.first;
85 LSP.second = LIS.getInstructionIndex(I);
93 if (!LPad || !LSP.second || !LIS.isLiveInToMBB(*CurLI, LPad))
94 return LSP.first
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/common/include/
int_lpc.h 124 Word16 lsp_old[], /* i : LSP vector at the 4th subfr. of past frame (M) */
125 Word16 lsp_mid[], /* i : LSP vector at the 2nd subfr. of
127 Word16 lsp_new[], /* i : LSP vector at the 4th subfr. of
146 Word16 lsp_old[], /* i : LSP vector at the 4th subfr. of past frame (M) */
147 Word16 lsp_mid[], /* i : LSP vector at the 2nd subframe of
149 Word16 lsp_new[], /* i : LSP vector at the 4th subframe of
178 Word16 lsp_old[], /* i : LSP vector at the 4th SF of past frame (M) */
179 Word16 lsp_new[], /* i : LSP vector at the 4th SF of present frame (M) */
196 Word16 lsp_old[], /* i : LSP vector at the 4th SF of past frame (M) */
197 Word16 lsp_new[], /* i : LSP vector at the 4th SF present frame (M) *
    [all...]
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 */
q_plsf.h 145 Word16 *lsp1, /* i : 1st LSP vector Q15 */
146 Word16 *lsp1_q, /* o : quantized 1st LSP vector Q15 */
154 Word16 *lsp1, /* i : 1st LSP vector, Q15 */
155 Word16 *lsp2, /* i : 2nd LSP vector, Q15 */
156 Word16 *lsp1_q, /* o : quantized 1st LSP vector, Q15 */
157 Word16 *lsp2_q, /* o : quantized 2nd LSP vector, Q15 */
  /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.

Completed in 2061 milliseconds

1 2 3 4 5