/external/chromium_org/third_party/opus/src/silk/float/ |
corrMatrix_FLP.c | 43 const opus_int Order, /* I Max lag for correlation */ 47 opus_int lag; local 51 for( lag = 0; lag < Order; lag++ ) { 52 /* Calculate X[:,lag]'*t */ 53 Xt[ lag ] = (silk_float)silk_inner_product_FLP( ptr1, t, L ); 62 const opus_int Order, /* I Max lag for correlation */ 66 opus_int j, lag; local 80 for( lag = 1; lag < Order; lag++ ) [all...] |
prefilter_FLP.c | 46 opus_int lag, /* I */ 102 opus_int j, k, lag; local 114 lag = P->lagPrev; 118 lag = psEncCtrl->pitchL[ k ]; 145 silk_prefilt_FLP( P, pxw, pxw, HarmShapeFIR, Tilt, LF_MA_shp, LF_AR_shp, lag, psEnc->sCmn.subfr_length ); 164 opus_int lag, /* I */ 181 if( lag > 0 ) { 183 idx = lag + LTP_shp_buf_idx;
|
pitch_analysis_core_FLP.c | 48 opus_int start_lag, /* I start lag */ 57 opus_int start_lag, /* I start lag */ 68 opus_int *pitch_out, /* O Pitch lag values [nb_subfr] */ 69 opus_int16 *lagIndex, /* O Lag Index */ 72 opus_int prevLag, /* I Last lag of previous frame; set to zero is unvoiced */ 73 const silk_float search_thres1, /* I First stage threshold for lag candidates 0 - 1 */ 74 const silk_float search_thres2, /* I Final threshold for lag candidates 0 - 1 */ 96 opus_int CBimax, CBimax_new, lag, start_lag, end_lag, lag_new; local 119 /* Set up frame lengths max / min lag for the sampling frequency */ 209 /* Apply short-lag bias * [all...] |
find_LTP_FLP.c | 40 const opus_int lag[ MAX_NB_SUBFR ], /* I LTP lags */ 59 lag_ptr = r_ptr - ( lag[ k ] + LTP_ORDER / 2 );
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
corrMatrix_FIX.c | 43 const opus_int order, /* I Max lag for correlation */ 48 opus_int lag, i; local 57 for( lag = 0; lag < order; lag++ ) { 62 Xt[ lag ] = inner_prod; /* X[:,lag]'*t */ 67 for( lag = 0; lag < order; lag++ ) 84 opus_int i, j, lag, rshifts_local, head_room_rshifts; local [all...] |
prefilter_FIX.c | 44 opus_int lag, /* I Lag for harmonic shaping */ 98 opus_int j, k, lag; local 113 lag = P->lagPrev; 119 lag = psEncCtrl->pitchL[ k ]; 148 silk_prefilt_FIX( P, x_filt_Q12, pxw_Q3, HarmShapeFIRPacked_Q12, Tilt_Q14, LF_shp_Q14, lag, psEnc->sCmn.subfr_length ); 166 opus_int lag, /* I Lag for harmonic shaping */ 182 if( lag > 0 ) { 185 idx = lag + LTP_shp_buf_idx [all...] |
pitch_analysis_core_FIX.c | 62 opus_int start_lag, /* I lag offset to search around */ 71 opus_int start_lag, /* I lag offset to search around */ 82 opus_int *pitch_out, /* O 4 pitch lag values */ 83 opus_int16 *lagIndex, /* O Lag Index */ 86 opus_int prevLag, /* I Last lag of previous frame; set to zero is unvoiced */ 87 const opus_int32 search_thres1_Q16, /* I First stage threshold for lag candidates 0 - 1 */ 88 const opus_int search_thres2_Q13, /* I Final threshold for lag candidates 0 - 1 */ 106 opus_int CBimax, CBimax_new, CBimax_old, lag, start_lag, end_lag, lag_new; local 129 /* Set up frame lengths max / min lag for the sampling frequency */ 225 /* Combine two subframes into single correlation measure and apply short-lag bias * [all...] |
/external/speex/libspeex/ |
lpc.h | 42 spx_word16_t *ac, /* out: [0...lag-1] ac values */ 43 int lag, int n);
|
lpc_bfin.h | 39 spx_word16_t *ac, /* out: [0...lag-1] ac values */ 40 int lag, 50 ac32top = ac32+lag-1; 53 lag_1 = lag-1; 71 xs = x+lag-1; 119 for (i=0;i<lag;i++)
|
lpc.c | 124 * for lags between 0 and lag-1, and x == 0 outside 0...n-1 130 spx_word16_t *ac, /* out: [0...lag-1] ac values */ 131 int lag, 157 for (i=0;i<lag;i++) 179 * for lags between 0 and lag-1, and x == 0 outside 0...n-1 183 float *ac, /* out: [0...lag-1] ac values */ 184 int lag, 190 while (lag--) 192 for (i = lag, d = 0; i < n; i++) 193 d += x[i] * x[i-lag]; [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
decode_pitch.c | 46 opus_int lag, k, min_lag, max_lag, cbk_size; local 71 lag = min_lag + lagIndex; 74 pitch_lags[ k ] = lag + matrix_ptr( Lag_CB_ptr, k, contourIndex, cbk_size );
|
NSQ.c | 45 const opus_int pitchL[ MAX_NB_SUBFR ], /* I Pitch lag */ 59 opus_int lag, /* I Pitch lag */ 89 opus_int k, lag, start_idx, LSF_interpolation_flag; local 101 /* Set unvoiced lag to the previous one, overwrite later for voiced */ 102 lag = NSQ->lagPrev; 135 lag = pitchL[ k ]; 140 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; 154 AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[ k ], Gains_Q16[ k ], Lambda_Q10, 185 opus_int lag, /* I Pitch lag * 387 opus_int i, lag; local [all...] |
decode_core.c | 45 opus_int i, k, lag = 0, start_idx, sLTP_buf_idx, NLSF_interpolation_flag, signalType; local 137 lag = psDecCtrl->pitchL[ k ]; 142 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; 157 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { 163 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { 173 pred_lag_ptr = &sLTP_Q15[ sLTP_buf_idx - lag + LTP_ORDER / 2 ];
|
NSQ_del_dec.c | 72 const opus_int pitchL[ MAX_NB_SUBFR ], /* I Pitch lag */ 92 opus_int lag, /* I Pitch lag */ 127 opus_int i, k, lag, start_idx, LSF_interpolation_flag, Winner_ind, subfr; local 142 /* Set unvoiced lag to the previous one, overwrite later for voiced */ 143 lag = NSQ->lagPrev; 166 /* For voiced frames limit the decision delay to lower than the pitch lag */ 172 if( lag > 0 ) { 173 decisionDelay = silk_min_int( decisionDelay, lag - LTP_ORDER / 2 - 1 ); 206 lag = pitchL[ k ] 650 opus_int i, k, lag; local [all...] |
PLC.c | 175 opus_int lag, idx, sLTP_buf_idx, shift1, shift2; local 267 lag = silk_RSHIFT_ROUND( psPLC->pitchL_Q8, 8 ); 271 idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; 286 pred_lag_ptr = &sLTP_Q14[ sLTP_buf_idx - lag + LTP_ORDER / 2 ]; 312 /* Slowly increase pitch lag */ 315 lag = silk_RSHIFT_ROUND( psPLC->pitchL_Q8, 8 ); 361 psDecCtrl->pitchL[ i ] = lag;
|
/external/flac/libFLAC/include/private/ |
lpc.h | 52 * OUT out[0,lag-1] 60 * Compute the autocorrelation for lags between 0 and lag-1. 62 * Asserts that lag > 0. 66 * IN 0 < lag <= data_len 67 * OUT autoc[0,lag-1] 69 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]); 73 void FLAC__lpc_compute_autocorrelation_asm_ia32(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]); 74 void FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_4(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]); 75 void FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_8(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]); 76 void FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_12(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
pitch_fr.cpp | 47 Description: *lag-- decrements the pointer. (*lag)-- decrements what is 128 Word16 max_frac_lag; /* lag up to which fractional lags are used */ 132 Word16 delta_int_low; /* integer lag below TO to start search from */ 448 lag = pointer to integer pitch of type Word16 475 fractional positions around lag T0. The position at which the 494 Word16 *lag, // i/o : integer pitch 510 max = Interpol_3or6 (&corr[*lag], *frac, flag3); // function result 513 corr_int = Interpol_3or6 (&corr[*lag], i, flag3); 525 *lag = sub (*lag, 1) 1385 Word16 lag; local [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
celt_lpc.h | 51 int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, const opus_val16 *window, int overlap, int lag, int n);
|
celt_lpc.c | 225 opus_val32 *ac, /* out: [0...lag-1] ac values */ 228 int lag, 234 int fastN=n-lag; 278 celt_pitch_xcorr(xptr, xptr, ac, fastN, lag+1); 279 for (k=0;k<=lag;k++) 292 for (i=0;i<=lag;i++) 300 for (i=0;i<=lag;i++)
|
pitch.c | 191 /* Lag windowing */ 295 int lag; local 311 lag = len+max_pitch; 314 ALLOC(y_lp4, lag>>2, opus_val16); 320 for (j=0;j<lag>>2;j++) 325 ymax = celt_maxabs16(y_lp4, lag>>2); 331 for (j=0;j<lag>>2;j++)
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
filter_functions.c | 94 int lag, n; local 98 for (lag = 0; lag <= order; lag++) 101 x_lag = &x[lag]; 103 for (n = 1; n < N - lag; n++) { 108 r[lag] = sum;
|
pitch_filter.c | 23 * y(z) = x(z) + damper(z) * gain * (x(z) + y(z)) * z ^ (-lag); 26 * y(z) = x(z) - damper(z) * gain * (x(z) + y(z)) * z ^ (-lag); 28 * Note that |lag| is a floating number so we perform an interpolation to 29 * obtain the correct |lag|. 93 * lag : pitch-lag for the current segment of input. 94 * lag_offset : the offset of lag w.r.t. current sample. 109 double lag; member in struct:__anon31350 145 /* Index of |parameters->buffer| where samples are read for fractional-lag 218 /* Compute integer lag-offset. * [all...] |
/frameworks/base/tests/touchlag/ |
touchlag.cpp | 202 void get(int lag, int* x, int* y) { 203 const int i = (index - lag) & 0xF; 216 printf("\nusage: %s [-h] [-l lag]\n", name); 223 int lag = 0; local 238 lag = atoi(optarg); 265 if (lag) { 278 queue.get(lag, &lag_x, &lag_y); 280 if (lag) {
|
/external/aac/libAACenc/src/ |
aacenc_tns.cpp | 533 Calculate autocorellation value for one lag 538 \param lag to be calculated 539 \param scaling of the lag 546 const INT lag, 553 if (lag==0) { 559 for (i=startLine; i<(stopLine-lag); i++) { 560 result += (fMult(spectrum[i], spectrum[i+lag])>>scale); 626 int i, idx0, idx1, idx2, idx3, idx4, lag; local 670 /* compute autocorrelation value at lag zero, i. e. energy, for each quarter */ 683 for (lag = 1; lag <= maxOrder; lag++) [all...] |
/development/tools/axl/ |
chewie.py | 30 ## pull out request lag -- queue to start to done 31 def lag(): function 184 if __name__ == '__main__': lag()
|