HomeSort by relevance Sort by last modified time
    Searched refs:spx_word16_t (Results 26 - 49 of 49) sorted by null

12

  /external/speex/libspeex/
fftwrap.c 45 static int maximize_range(spx_word16_t *in, spx_word16_t *out, spx_word16_t bound, int len)
48 spx_word16_t max_val = 0;
69 static void renorm_range(spx_word16_t *in, spx_word16_t *out, int shift, int len)
156 void spx_fft(void *table, spx_word16_t *in, spx_word16_t *out)
162 void spx_ifft(void *table, spx_word16_t *in, spx_word16_t *out
    [all...]
lpc.c 75 const spx_word16_t *ac, /* in: [0...p] autocorrelation values */
80 spx_word16_t r;
81 spx_word16_t error = ac[0];
105 spx_word16_t tmp = lpc[j];
129 const spx_word16_t *x, /* in: [0...n-1] samples x */
130 spx_word16_t *ac, /* out: [0...lag-1] ac values */
182 const spx_word16_t *x, /* in: [0...n-1] samples x */
vq.c 51 int scal_quant(spx_word16_t in, const spx_word16_t *boundary, int entries)
76 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)
110 void vq_nbest_sign(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)
vq_bfin.h 37 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)
vbr.h 66 float vbr_analysis(VBRState *vbr, spx_word16_t *sig, int len, int pitch, float pitch_coef);
lpc_bfin.h 38 const spx_word16_t *x, /* in: [0...n-1] samples x */
39 spx_word16_t *ac, /* out: [0...lag-1] ac values */
45 const spx_word16_t *xs;
resample.c 113 typedef int (*resampler_basic_func)(SpeexResamplerState *, spx_uint32_t , const spx_word16_t *, spx_uint32_t *, spx_word16_t *, spx_uint32_t *);
138 spx_word16_t *mem;
139 spx_word16_t *sinc_table;
276 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func)
289 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func)
303 static void cubic_coef(spx_word16_t x, spx_word16_t interp[4])
307 spx_word16_t x2, x3;
319 static void cubic_coef(spx_word16_t frac, spx_word16_t interp[4]
    [all...]
mdf.c 143 spx_word16_t spec_average;
144 spx_word16_t beta0;
145 spx_word16_t beta_max;
147 spx_word16_t leak_estimate;
149 spx_word16_t *e; /* scratch */
150 spx_word16_t *x; /* Far-end input buffer (2N) */
151 spx_word16_t *X; /* Far-end buffer (M+1 frames) in frequency domain */
152 spx_word16_t *input; /* scratch */
153 spx_word16_t *y; /* scratch */
154 spx_word16_t *last_y
    [all...]
cb_search_arm4.h 39 static void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack)
56 spx_word16_t *res;
85 spx_word16_t *res;
preprocess.c 96 static inline spx_word16_t DIV32_16_Q8(spx_word32_t a, spx_word32_t b)
122 static inline spx_word16_t DIV32_16_Q15(spx_word32_t a, spx_word32_t b)
193 spx_word16_t reverb_decay;
194 spx_word16_t reverb_level;
195 spx_word16_t speech_prob_start;
196 spx_word16_t speech_prob_continue;
202 spx_word16_t speech_prob; /**< Probability last frame was speech */
205 spx_word16_t *frame; /**< Processing frame (2*ps_size) */
206 spx_word16_t *ft; /**< Processing frame in freq domain (2*ps_size) */
208 spx_word16_t *gain2; /**< Adjusted gains *
    [all...]
quant_lsp.c 54 #define LSP_DIV_256(x) (SHL16((spx_word16_t)x, 5))
55 #define LSP_DIV_512(x) (SHL16((spx_word16_t)x, 4))
56 #define LSP_DIV_1024(x) (SHL16((spx_word16_t)x, 3))
71 static void compute_quant_weights(spx_lsp_t *qlsp, spx_word16_t *quant_weight, int order)
74 spx_word16_t tmp1, tmp2;
98 static int lsp_quant(spx_word16_t *x, const signed char *cdbk, int nbVec, int nbDim)
102 spx_word16_t tmp;
111 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5));
122 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5));
130 static int lsp_weight_quant(spx_word16_t *x, spx_word16_t *weight, const signed char *cdbk, int nbVec, int nbDim
    [all...]
sb_celp.c 116 static const spx_word16_t gc_quant_bound[16] = {125, 164, 215, 282, 370, 484, 635, 832, 1090, 1428, 1871, 2452, 3213, 4210, 5516, 7228};
117 static const spx_word16_t fold_quant_bound[32] = {
128 static const spx_word16_t gc_quant_bound[16] = {
131 static const spx_word16_t fold_quant_bound[32] = {
146 static const spx_word16_t h0[64] = {2, -7, -7, 18, 15, -39, -25, 75, 35, -130, -41, 212, 38, -327, -17, 483, -32, -689, 124, 956, -283, -1307, 543, 1780, -973, -2467, 1733, 3633, -3339, -6409, 9059, 30153, 30153, 9059, -6409, -3339, 3633, 1733, -2467, -973, 1780, 543, -1307, -283, 956, 124, -689, -32, 483, -17, -327, 38, 212, -41, -130, 35, 75, -25, -39, 15, 18, -7, -7, 2};
186 extern const spx_word16_t lag_window[];
187 extern const spx_word16_t lpc_window[];
233 st->high=(spx_word16_t*)speex_alloc((st->windowSize-st->frame_size)*sizeof(spx_word16_t));
235 st->h0_mem=(spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t))
    [all...]
vq_arm4.h 36 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)
78 const spx_word16_t *code = codebook;
filters_arm4.h 36 int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int len)
window.c 39 const spx_word16_t lag_window[11] = {
43 const spx_word16_t lpc_window[200] = {
71 const spx_word16_t lag_window[11] = {
75 const spx_word16_t lpc_window[200] = {
arch.h 91 typedef spx_int16_t spx_word16_t; typedef
94 typedef spx_word16_t spx_coef_t;
95 typedef spx_word16_t spx_lsp_t;
114 #define VERY_LARGE16 ((spx_word16_t)32767)
115 #define Q15_ONE ((spx_word16_t)32767)
141 typedef float spx_word16_t; typedef
156 #define Q15_ONE ((spx_word16_t)1.f)
209 #define DIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b))
210 #define PDIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b))
lsp.c 141 spx_word16_t *coef, /* P or Q coefs in Q13 format */
142 spx_word16_t x, /* cos of freq (-1.0 to 1.0) in Q14 format */
148 spx_word16_t b0, b1;
165 spx_word16_t tmp=b0;
177 static float cheb_poly_eva(spx_word32_t *coef, spx_word16_t x, int m, char *stack)
219 int lpc_to_lsp (spx_coef_t *a,int lpcrdr,spx_lsp_t *freq,int nb,spx_word16_t delta, char *stack)
228 spx_word16_t temp_xr,xl,xr,xm=0;
233 VARDECL(spx_word16_t *Q16); /* ptrs for memory allocation */
234 VARDECL(spx_word16_t *P16);
239 spx_word16_t *pt; /* ptr used for cheb_poly_eval(
    [all...]
filterbank.c 71 bank->filter_left = (spx_word16_t*)speex_alloc(len*sizeof(spx_word16_t));
72 bank->filter_right = (spx_word16_t*)speex_alloc(len*sizeof(spx_word16_t));
79 spx_word16_t curr_freq;
81 spx_word16_t val;
156 void filterbank_compute_psd16(FilterBank *bank, spx_word16_t *mel, spx_word16_t *ps)
nb_celp.c 80 const spx_word16_t exc_gain_quant_scal3_bound[7]={1841, 3883, 6051, 8062, 10444, 13580, 18560};
81 const spx_word16_t exc_gain_quant_scal3[8]={1002, 2680, 5086, 7016, 9108, 11781, 15380, 21740};
82 const spx_word16_t exc_gain_quant_scal1_bound[1]={14385};
83 const spx_word16_t exc_gain_quant_scal1[2]={11546, 17224};
111 extern const spx_word16_t lag_window[];
112 extern const spx_word16_t lpc_window[];
159 st->winBuf = (spx_word16_t*)speex_alloc((st->windowSize-st->frameSize)*sizeof(spx_word16_t));
161 st->excBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t));
    [all...]
stereo.c 58 static const spx_word16_t e_ratio_quant[4] = {8192, 10332, 13009, 16384};
59 static const spx_word16_t e_ratio_quant_bounds[3] = {9257, 11665, 14696};
60 static const spx_word16_t balance_bounds[31] = {18, 23, 30, 38, 49, 63, 81, 104,
225 spx_word16_t e_left, e_right, e_ratio;
239 spx_word16_t tmp=data[i];
252 spx_word16_t e_left, e_right, e_ratio;
277 spx_word16_t sign=1, dexp;
vq_sse.h 36 void vq_nbest(spx_word16_t *_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)
75 void vq_nbest_sign(spx_word16_t *_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)
speex.c 73 int speex_encode_native(void *state, spx_word16_t *in, SpeexBits *bits)
78 int speex_decode_native(void *state, SpeexBits *bits, spx_word16_t *out)
vbr.c 124 float vbr_analysis(VBRState *vbr, spx_word16_t *sig, int len, int pitch, float pitch_coef)
fixed_debug.h 43 #define QCONST16(x,bits) ((spx_word16_t)(.5+(x)*(((spx_word32_t)1)<<(bits))))

Completed in 1355 milliseconds

12