Home
last modified time | relevance | path

Searched refs:ALLOC (Results 1 – 25 of 65) sorted by relevance

123

/external/speex/libspeex/
Dcb_search.c57 ALLOC(shape, subvect_size, spx_word16_t); in compute_weighted_codebook()
139 ALLOC(resp, shape_cb_size*subvect_size, spx_word16_t); in split_cb_search_shape_sign_N1()
141 ALLOC(resp2, (shape_cb_size*subvect_size)>>2, __m128); in split_cb_search_shape_sign_N1()
142 ALLOC(E, shape_cb_size>>2, __m128); in split_cb_search_shape_sign_N1()
145 ALLOC(E, shape_cb_size, spx_word32_t); in split_cb_search_shape_sign_N1()
147 ALLOC(t, nsf, spx_word16_t); in split_cb_search_shape_sign_N1()
148 ALLOC(e, nsf, spx_sig_t); in split_cb_search_shape_sign_N1()
231 ALLOC(r2, nsf, spx_word16_t); in split_cb_search_shape_sign_N1()
300 ALLOC(ot2, N, spx_word16_t*); in split_cb_search_shape_sign()
301 ALLOC(nt2, N, spx_word16_t*); in split_cb_search_shape_sign()
[all …]
Dltp_bfin.h166 ALLOC(best_score, N, spx_word32_t); in open_loop_nbest_pitch()
167 ALLOC(best_ener, N, spx_word32_t); in open_loop_nbest_pitch()
168 ALLOC(corr, end-start+1, spx_word32_t); in open_loop_nbest_pitch()
169 ALLOC(energy, end-start+2, spx_word32_t); in open_loop_nbest_pitch()
216 ALLOC(corr16, end-start+1, spx_word16_t); in open_loop_nbest_pitch()
217 ALLOC(ener16, end-start+1, spx_word16_t); in open_loop_nbest_pitch()
Dlsp.c247 ALLOC(Q, (m+1), spx_word32_t); in lpc_to_lsp()
248 ALLOC(P, (m+1), spx_word32_t); in lpc_to_lsp()
304 ALLOC(P16, m+1, spx_word16_t); in lpc_to_lsp()
305 ALLOC(Q16, m+1, spx_word16_t); in lpc_to_lsp()
442 ALLOC(xp, (m+1), spx_word32_t*); in lsp_to_lpc()
443 ALLOC(xpmem, (m+1)*(lpcrdr+1+2), spx_word32_t); in lsp_to_lpc()
445 ALLOC(xq, (m+1), spx_word32_t*); in lsp_to_lpc()
446 ALLOC(xqmem, (m+1)*(lpcrdr+1+2), spx_word32_t); in lsp_to_lpc()
455 ALLOC(freqn, lpcrdr, spx_word16_t); in lsp_to_lpc()
536 ALLOC(Wp, 4*m+2, float); in lsp_to_lpc()
[all …]
Dsb_celp.c351 ALLOC(low_innov_rms, st->nbSubframes, spx_word16_t); in sb_encode()
361 ALLOC(low_pi_gain, st->nbSubframes, spx_word32_t); in sb_encode()
362 ALLOC(low_exc_rms, st->nbSubframes, spx_word16_t); in sb_encode()
373 ALLOC(lpc, st->lpcSize, spx_coef_t); in sb_encode()
374 ALLOC(interp_lpc, st->lpcSize, spx_coef_t); in sb_encode()
375 ALLOC(bw_lpc1, st->lpcSize, spx_coef_t); in sb_encode()
376 ALLOC(bw_lpc2, st->lpcSize, spx_coef_t); in sb_encode()
378 ALLOC(lsp, st->lpcSize, spx_lsp_t); in sb_encode()
379 ALLOC(qlsp, st->lpcSize, spx_lsp_t); in sb_encode()
380 ALLOC(interp_lsp, st->lpcSize, spx_lsp_t); in sb_encode()
[all …]
Dstack_alloc.h105 #define ALLOC(var, size, type) type var[size] macro
108 #define ALLOC(var, size, type) var = alloca(sizeof(type)*(size)) macro
111 #define ALLOC(var, size, type) var = PUSH(stack, size, type) macro
Dvq_sse.h43 ALLOC(dist, entries, float); in vq_nbest()
45 ALLOC(in, len, __m128); in vq_nbest()
82 ALLOC(dist, entries, float); in vq_nbest_sign()
84 ALLOC(in, len, __m128); in vq_nbest_sign()
Dltp.c188 ALLOC(corr16, end-start+1, spx_word16_t); in open_loop_nbest_pitch()
189 ALLOC(ener16, end-start+1, spx_word16_t); in open_loop_nbest_pitch()
190 ALLOC(corr, end-start+1, spx_word32_t); in open_loop_nbest_pitch()
197 ALLOC(energy, end-start+2, spx_word32_t); in open_loop_nbest_pitch()
198 ALLOC(corr, end-start+1, spx_word32_t); in open_loop_nbest_pitch()
203 ALLOC(best_score, N, spx_word32_t); in open_loop_nbest_pitch()
204 ALLOC(best_ener, N, spx_word32_t); in open_loop_nbest_pitch()
381 ALLOC(tmp1, 3*nsf, spx_word16_t); in pitch_gain_search_3tap()
382 ALLOC(e, nsf, spx_word16_t); in pitch_gain_search_3tap()
397 ALLOC(mm, p, spx_mem_t); in pitch_gain_search_3tap()
[all …]
Dfilters_bfin.h93 ALLOC(xy2, (N+1), spx_word32_t); in filter_mem16()
94 ALLOC(numden_a, (2*ord+2), spx_word32_t); in filter_mem16()
235 ALLOC(y, (N+2), spx_word16_t); in iir_mem16()
372 ALLOC(ytmp, N, spx_word16_t); in compute_impulse_response()
442 ALLOC(ytmp, N, spx_word16_t);
Dnb_celp.c284 ALLOC(lpc, st->lpcSize, spx_coef_t); in nb_encode()
285 ALLOC(bw_lpc1, st->lpcSize, spx_coef_t); in nb_encode()
286 ALLOC(bw_lpc2, st->lpcSize, spx_coef_t); in nb_encode()
287 ALLOC(lsp, st->lpcSize, spx_lsp_t); in nb_encode()
288 ALLOC(qlsp, st->lpcSize, spx_lsp_t); in nb_encode()
289 ALLOC(interp_lsp, st->lpcSize, spx_lsp_t); in nb_encode()
290 ALLOC(interp_qlsp, st->lpcSize, spx_lsp_t); in nb_encode()
291 ALLOC(interp_lpc, st->lpcSize, spx_coef_t); in nb_encode()
292 ALLOC(interp_qlpc, st->lpcSize, spx_coef_t); in nb_encode()
304 ALLOC(w_sig, st->windowSize, spx_word16_t); in nb_encode()
[all …]
Dcb_search_sse.h60 ALLOC(r, subvect_size, __m128); in compute_weighted_codebook()
61 ALLOC(shape, subvect_size, __m128); in compute_weighted_codebook()
Dltp_sse.h65 ALLOC(x, N, __m128); in pitch_xcorr()
66 ALLOC(y, N+L, __m128); in pitch_xcorr()
Dfilters.c383 ALLOC(mem, ord, spx_mem_t); in syn_percep_zero16()
395 ALLOC(mem, ord, spx_mem_t); in residue_percep_zero16()
412 ALLOC(mem1, ord, spx_mem_t); in compute_impulse_response()
413 ALLOC(mem2, ord, spx_mem_t); in compute_impulse_response()
448 ALLOC(a, M, spx_word16_t); in qmf_decomp()
449 ALLOC(x, N+M-1, spx_word16_t); in qmf_decomp()
489 ALLOC(xx1, M2+N2, spx_word16_t); in qmf_synth()
490 ALLOC(xx2, M2+N2, spx_word16_t); in qmf_synth()
707 ALLOC(iexc, 2*nsf, spx_word16_t); in multicomb()
/external/libopus/celt/
Dstack_alloc.h94 #define ALLOC(var, size, type) type var[size] macro
106 # define ALLOC(var, size, type) var = ((type*)_alloca(sizeof(type)*(size))) macro
108 # define ALLOC(var, size, type) var = ((type*)alloca(sizeof(type)*(size))) macro
150 #define ALLOC(var, size, type) var = PUSH(global_stack, size, type) macro
Dcelt_decoder.c372 ALLOC(scratch, noise_based?N*C:N, celt_sig); in celt_decode_lost()
389 ALLOC(X, C*N, celt_norm); /**< Interleaved normalised MDCTs */ in celt_decode_lost()
449 ALLOC( lp_pitch_buf, DECODE_BUFFER_SIZE>>1, opus_val16 ); in celt_decode_lost()
462 ALLOC(etmp, overlap, opus_val32); in celt_decode_lost()
463 ALLOC(exc, MAX_PERIOD, opus_val16); in celt_decode_lost()
832 ALLOC(tf_res, nbEBands, int);
840 ALLOC(cap, nbEBands, int);
844 ALLOC(offsets, nbEBands, int);
877 ALLOC(fine_quant, nbEBands, int);
885 ALLOC(pulses, nbEBands, int);
[all …]
Dcelt_encoder.c250 ALLOC(tmp, len, opus_val16); in transient_analysis()
569 ALLOC(metric, len, int); in tf_analysis()
570 ALLOC(tmp, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm); in tf_analysis()
571 ALLOC(tmp_1, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm); in tf_analysis()
572 ALLOC(path0, len, int); in tf_analysis()
573 ALLOC(path1, len, int); in tf_analysis()
900 ALLOC(follower, C*nbEBands, opus_val16); in dynalloc_analysis()
901 ALLOC(noise_floor, C*nbEBands, opus_val16); in dynalloc_analysis()
1022 ALLOC(_pre, CC*(N+COMBFILTER_MAXPERIOD), celt_sig); in run_prefilter()
1036 ALLOC(pitch_buf, (COMBFILTER_MAXPERIOD+N)>>1, opus_val16); in run_prefilter()
[all …]
Dcelt_lpc.c103 ALLOC(rnum, ord, opus_val16); in celt_fir()
104 ALLOC(x, N+ord, opus_val16); in celt_fir()
174 ALLOC(rden, ord, opus_val16); in celt_iir()
175 ALLOC(y, N+ord, opus_val16); in celt_iir()
240 ALLOC(xx, n, opus_val16); in _celt_autocorr()
Dvq.c175 ALLOC(y, N, celt_norm); in alg_quant()
176 ALLOC(iy, N, int); in alg_quant()
177 ALLOC(signx, N, opus_val16); in alg_quant()
333 ALLOC(iy, N, int); in alg_unquant()
/external/libopus/silk/
DNLSF_encode.c72 ALLOC( err_Q26, psNLSF_CB->nVectors, opus_int32 ); in silk_NLSF_encode()
76 ALLOC( tempIndices1, nSurvivors, opus_int ); in silk_NLSF_encode()
79 ALLOC( RD_Q25, nSurvivors, opus_int32 ); in silk_NLSF_encode()
80 ALLOC( tempIndices2, nSurvivors * MAX_LPC_ORDER, opus_int8 ); in silk_NLSF_encode()
Dstereo_LR_to_MS.c61 ALLOC( side, frame_length + 2, opus_int16 ); in silk_stereo_LR_to_MS()
77 ALLOC( LP_mid, frame_length, opus_int16 ); in silk_stereo_LR_to_MS()
78 ALLOC( HP_mid, frame_length, opus_int16 ); in silk_stereo_LR_to_MS()
86 ALLOC( LP_side, frame_length, opus_int16 ); in silk_stereo_LR_to_MS()
87 ALLOC( HP_side, frame_length, opus_int16 ); in silk_stereo_LR_to_MS()
Dencode_pulses.c95 ALLOC( abs_pulses, iter * SHELL_CODEC_FRAME_LENGTH, opus_int ); in silk_encode_pulses()
105 ALLOC( sum_pulses, iter, opus_int ); in silk_encode_pulses()
106 ALLOC( nRshifts, iter, opus_int ); in silk_encode_pulses()
Ddecode_frame.c54 ALLOC( psDecCtrl, 1, silk_decoder_control ); in silk_decode_frame()
55 ALLOC( pulses, (L + SHELL_CODEC_FRAME_LENGTH - 1) & in silk_decode_frame()
Ddecode_core.c57 ALLOC( sLTP, psDec->ltp_mem_length, opus_int16 ); in silk_decode_core()
58 ALLOC( sLTP_Q15, psDec->ltp_mem_length + psDec->frame_length, opus_int32 ); in silk_decode_core()
59 ALLOC( res_Q14, psDec->subfr_length, opus_int32 ); in silk_decode_core()
60 ALLOC( sLPC_Q14, psDec->subfr_length + MAX_LPC_ORDER, opus_int32 ); in silk_decode_core()
/external/libopus/silk/fixed/
Dpitch_analysis_core_FIX.c140 ALLOC( frame_8kHz, frame_length_8kHz, opus_int16 ); in silk_pitch_analysis_core()
154 ALLOC( frame_4kHz, frame_length_4kHz, opus_int16 ); in silk_pitch_analysis_core()
179 ALLOC( C, nb_subfr * CSTRIDE_8KHZ, opus_int16 ); in silk_pitch_analysis_core()
180 ALLOC( xcorr32, MAX_LAG_4KHZ-MIN_LAG_4KHZ+1, opus_int32 ); in silk_pitch_analysis_core()
273 ALLOC( d_comp, D_COMP_STRIDE, opus_int16 ); in silk_pitch_analysis_core()
470 ALLOC( scratch_mem, shift > 0 ? frame_length : ALLOC_NONE, opus_int16 ); in silk_pitch_analysis_core()
519 ALLOC( energies_st3, nb_subfr * nb_cbk_search, silk_pe_stage3_vals ); in silk_pitch_analysis_core()
520 ALLOC( cross_corr_st3, nb_subfr * nb_cbk_search, silk_pe_stage3_vals ); in silk_pitch_analysis_core()
629 ALLOC( scratch_mem, SCRATCH_SIZE, opus_int32 ); in silk_P_Ana_calc_corr_st3()
630 ALLOC( xcorr32, SCRATCH_SIZE, opus_int32 ); in silk_P_Ana_calc_corr_st3()
[all …]
Dfind_pred_coefs_FIX.c76 ALLOC( LPC_in_pre, in silk_find_pred_coefs_FIX()
87 ALLOC( WLTP, psEnc->sCmn.nb_subfr * LTP_ORDER * LTP_ORDER, opus_int32 ); in silk_find_pred_coefs_FIX()
/external/mksh/src/
Dvar.c428 if ((vq->flag&ALLOC)) { in setstr()
440 vq->flag &= ~(ISSET|ALLOC); in setstr()
448 vq->flag |= ALLOC; in setstr()
598 if (!(vq->flag & INTEGER) && (vq->flag & ALLOC)) { in setint_n()
599 vq->flag &= ~ALLOC; in setint_n()
698 char *op = (vp->flag&ALLOC) ? vp->val.s : NULL; in exportprep()
704 vp->flag |= ALLOC; in exportprep()
868 if (tmp->flag & ALLOC) in typeset()
916 free_me = (t->flag & ALLOC) ? t->val.s : in typeset()
919 t->flag &= ~ALLOC; in typeset()
[all …]

123