/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 */ 58 opus_int start_lag, /* I start lag */ 69 opus_int *pitch_out, /* O Pitch lag values [nb_subfr] */ 70 opus_int16 *lagIndex, /* O Lag Index */ 73 opus_int prevLag, /* I Last lag of previous frame; set to zero is unvoiced */ 74 const silk_float search_thres1, /* I First stage threshold for lag candidates 0 - 1 */ 75 const silk_float search_thres2, /* I Final threshold for lag candidates 0 - 1 */ 98 opus_int CBimax, CBimax_new, lag, start_lag, end_lag, lag_new; local 121 /* Set up frame lengths max / min lag for the sampling frequency */ 211 /* Apply short-lag bias * [all...] |
/external/libopus/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 */ 58 opus_int start_lag, /* I start lag */ 69 opus_int *pitch_out, /* O Pitch lag values [nb_subfr] */ 70 opus_int16 *lagIndex, /* O Lag Index */ 73 opus_int prevLag, /* I Last lag of previous frame; set to zero is unvoiced */ 74 const silk_float search_thres1, /* I First stage threshold for lag candidates 0 - 1 */ 75 const silk_float search_thres2, /* I Final threshold for lag candidates 0 - 1 */ 98 opus_int CBimax, CBimax_new, lag, start_lag, end_lag, lag_new; local 121 /* Set up frame lengths max / min lag for the sampling frequency */ 211 /* Apply short-lag bias * [all...] |
/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...] |
/external/libopus/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...] |
/external/chromium_org/third_party/speex/libspeex/ |
lpc.h | 42 spx_word16_t *ac, /* out: [0...lag-1] ac values */ 43 int lag, int n);
|
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/webrtc/modules/audio_coding/codecs/ilbc/ |
comp_corr.h | 26 * of last subframe at given lag. 33 int16_t lag, /* (i) pitch lag */
|
comp_corr.c | 23 * of last subframe at given lag. 30 int16_t lag, /* (i) pitch lag */ 37 w16ptr=&buffer[bLen-sRange-lag];
|
enhancer_interface.c | 33 int WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */ 39 int lag=20, tlag=20; local 176 lag = lagmax[ind] + 10; 178 /* Store the estimated lag in the non-downsampled domain */ 180 (int16_t)WEBRTC_SPL_MUL_16_16(lag, 8); 182 /* Store the estimated lag for backward PLC */ 185 tlag = WEBRTC_SPL_MUL_16_16(lag, 2); 189 tlag = WEBRTC_SPL_MUL_16_16(lag, 2); 193 lag = WEBRTC_SPL_MUL_16_16(lag, 2) [all...] |
get_cd_vec.c | 35 int16_t lag; local 59 /* Calculate lag */ 63 lag=WEBRTC_SPL_RSHIFT_W16(k, 1); 65 WebRtcIlbcfix_CreateAugmentedVec(lag, mem+lMem, cbvec); 105 /* Calculate lag index */ 106 lag = (cbveclen<<1)-20+index-base_size-lMem-1; 108 WebRtcIlbcfix_CreateAugmentedVec(lag, tempbuff2+SUBL+5, cbvec);
|
decode.c | 190 int16_t lag; local 192 /* Find last lag (since the enhancer is not called to give this info) */ 193 lag = 20; 195 lag = (int16_t)WebRtcIlbcfix_XcorrCoef( 197 &decresidual[iLBCdec_inst->blockl-60-lag], 199 80, lag, -1); 201 lag = (int16_t)WebRtcIlbcfix_XcorrCoef( 203 &decresidual[iLBCdec_inst->blockl-ENH_BLOCKL-lag], 205 100, lag, -1); 208 /* Store lag (it is needed if next packet is lost) * [all...] |
do_plc.c | 36 int16_t inlag, /* (i) pitch lag */ 44 int16_t j, lag, tmp1, tmp2, randlag; local 83 /* Search around the previous lag +/-3 to find the 85 lag = inlag - 3; 91 iLBCdec_inst->prevResidual, lag, iLBCdec_inst->blockl, corrLen, scale3); 103 this lag is better or not. To avoid the division, 128 /* New lag is better => record lag, measure and domain */ 129 lag = j; 137 /* Calculate the periodicity for the lag with the maximum correlation [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...] |
/external/libopus/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 );
|
/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...] |
/external/chromium_org/third_party/opus/src/celt/ |
celt_lpc.h | 52 const opus_val16 *window, int overlap, int lag, int n, int arch);
|
/external/libopus/celt/ |
celt_lpc.h | 52 const opus_val16 *window, int overlap, int lag, int n, int arch);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
filter_functions.c | 95 int lag, n; local 99 for (lag = 0; lag <= order; lag++) 102 x_lag = &x[lag]; 104 for (n = 1; n < N - lag; n++) { 109 r[lag] = sum;
|