Home
last modified time | relevance | path

Searched refs:lag (Results 1 – 25 of 143) sorted by relevance

123456

/external/libopus/silk/fixed/
DcorrMatrix_FIX.c48 opus_int lag, i; in silk_corrVector_FIX() local
57 for( lag = 0; lag < order; lag++ ) { in silk_corrVector_FIX()
62 Xt[ lag ] = inner_prod; /* X[:,lag]'*t */ in silk_corrVector_FIX()
67 for( lag = 0; lag < order; lag++ ) { in silk_corrVector_FIX()
68 Xt[ lag ] = silk_inner_prod_aligned( ptr1, ptr2, L ); /* X[:,lag]'*t */ in silk_corrVector_FIX()
84 opus_int i, j, lag, rshifts_local, head_room_rshifts; in silk_corrMatrix_FIX() local
121 for( lag = 1; lag < order; lag++ ) { in silk_corrMatrix_FIX()
128 matrix_ptr( XX, lag, 0, order ) = energy; in silk_corrMatrix_FIX()
129 matrix_ptr( XX, 0, lag, order ) = energy; in silk_corrMatrix_FIX()
130 for( j = 1; j < ( order - lag ); j++ ) { in silk_corrMatrix_FIX()
[all …]
Dpitch_analysis_core_FIX.c108 opus_int CBimax, CBimax_new, CBimax_old, lag, start_lag, end_lag, lag_new; in silk_pitch_analysis_core() local
368 lag = -1; /* To check if lag with strong enough correlation has been found */ in silk_pitch_analysis_core()
444 lag = d; in silk_pitch_analysis_core()
449 if( lag == -1 ) { in silk_pitch_analysis_core()
486 silk_assert( lag == silk_SAT16( lag ) ); in silk_pitch_analysis_core()
488 lag = silk_RSHIFT( silk_SMULBB( lag, 3 ), 1 ); in silk_pitch_analysis_core()
490 lag = silk_LSHIFT( lag, 1 ); in silk_pitch_analysis_core()
492 lag = silk_SMULBB( lag, 3 ); in silk_pitch_analysis_core()
495 lag = silk_LIMIT_int( lag, min_lag, max_lag ); in silk_pitch_analysis_core()
496 start_lag = silk_max_int( lag - 2, min_lag ); in silk_pitch_analysis_core()
[all …]
Dprefilter_FIX.c44 …opus_int lag, /* I Lag for harmonic shaping …
98 opus_int j, k, lag; in silk_prefilter_FIX() local
113 lag = P->lagPrev; in silk_prefilter_FIX()
119 lag = psEncCtrl->pitchL[ k ]; in silk_prefilter_FIX()
148 …silk_prefilt_FIX( P, x_filt_Q12, pxw_Q3, HarmShapeFIRPacked_Q12, Tilt_Q14, LF_shp_Q14, lag, psEnc-… in silk_prefilter_FIX()
166 …opus_int lag, /* I Lag for harmonic shaping … in silk_prefilt_FIX() argument
182 if( lag > 0 ) { in silk_prefilt_FIX()
185 idx = lag + LTP_shp_buf_idx; in silk_prefilt_FIX()
/external/libopus/silk/float/
DcorrMatrix_FLP.c47 opus_int lag; in silk_corrVector_FLP() local
51 for( lag = 0; lag < Order; lag++ ) { in silk_corrVector_FLP()
53 Xt[ lag ] = (silk_float)silk_inner_product_FLP( ptr1, t, L ); in silk_corrVector_FLP()
66 opus_int j, lag; in silk_corrMatrix_FLP() local
80 for( lag = 1; lag < Order; lag++ ) { in silk_corrMatrix_FLP()
83 matrix_ptr( XX, lag, 0, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP()
84 matrix_ptr( XX, 0, lag, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP()
86 for( j = 1; j < ( Order - lag ); j++ ) { in silk_corrMatrix_FLP()
88 matrix_ptr( XX, lag + j, j, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP()
89 matrix_ptr( XX, j, lag + j, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP()
Dpitch_analysis_core_FLP.c98 opus_int CBimax, CBimax_new, lag, start_lag, end_lag, lag_new; in silk_pitch_analysis_core_FLP() local
312 lag = -1; /* To check if lag with strong enough correlation has been found */ in silk_pitch_analysis_core_FLP()
376 lag = d; in silk_pitch_analysis_core_FLP()
381 if( lag == -1 ) { in silk_pitch_analysis_core_FLP()
398 silk_assert( lag == silk_SAT16( lag ) ); in silk_pitch_analysis_core_FLP()
400 lag = silk_RSHIFT_ROUND( silk_SMULBB( lag, 3 ), 1 ); in silk_pitch_analysis_core_FLP()
402 lag = silk_LSHIFT( lag, 1 ); in silk_pitch_analysis_core_FLP()
405 lag = silk_LIMIT_int( lag, min_lag, max_lag ); in silk_pitch_analysis_core_FLP()
406 start_lag = silk_max_int( lag - 2, min_lag ); in silk_pitch_analysis_core_FLP()
407 end_lag = silk_min_int( lag + 2, max_lag ); in silk_pitch_analysis_core_FLP()
[all …]
Dprefilter_FLP.c46 opus_int lag, /* I */
102 opus_int j, k, lag; in silk_prefilter_FLP() local
114 lag = P->lagPrev; in silk_prefilter_FLP()
118 lag = psEncCtrl->pitchL[ k ]; in silk_prefilter_FLP()
145 …silk_prefilt_FLP( P, pxw, pxw, HarmShapeFIR, Tilt, LF_MA_shp, LF_AR_shp, lag, psEnc->sCmn.subfr_le… in silk_prefilter_FLP()
164 opus_int lag, /* I */ in silk_prefilt_FLP() argument
181 if( lag > 0 ) { in silk_prefilt_FLP()
183 idx = lag + LTP_shp_buf_idx; in silk_prefilt_FLP()
/external/flac/libFLAC/include/private/
Dlpc.h71 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FL…
75 …ocorrelation_asm_ia32(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
76 …sm_ia32_sse_lag_4_old(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
77 …sm_ia32_sse_lag_8_old(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
78 …m_ia32_sse_lag_12_old(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
79 …m_ia32_sse_lag_16_old(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
84 …_intrin_sse_lag_4_old(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
85 …_intrin_sse_lag_8_old(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
86 …intrin_sse_lag_12_old(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
87 …intrin_sse_lag_16_old(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]…
[all …]
/external/speex/libspeex/
Dlpc.c131 int lag, in _spx_autocorr() argument
157 for (i=0;i<lag;i++) in _spx_autocorr()
184 int lag, in _spx_autocorr() argument
190 while (lag--) in _spx_autocorr()
192 for (i = lag, d = 0; i < n; i++) in _spx_autocorr()
193 d += x[i] * x[i-lag]; in _spx_autocorr()
194 ac[lag] = d; in _spx_autocorr()
Dlpc_bfin.h40 int lag, in _spx_autocorr() argument
50 ac32top = ac32+lag-1; in _spx_autocorr()
53 lag_1 = lag-1; in _spx_autocorr()
71 xs = x+lag-1; in _spx_autocorr()
119 for (i=0;i<lag;i++) in _spx_autocorr()
/external/libopus/silk/
DNSQ.c59 opus_int lag, /* I Pitch lag */
89 opus_int k, lag, start_idx, LSF_interpolation_flag; in silk_NSQ() local
102 lag = NSQ->lagPrev; in silk_NSQ()
135 lag = pitchL[ k ]; in silk_NSQ()
140 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ()
154 …AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[ k ], Gains_Q16[ k ], Lambda_Q1… in silk_NSQ()
185 opus_int lag, /* I Pitch lag */ in silk_noise_shape_quantizer() argument
204 shp_lag_ptr = &NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - lag + HARM_SHAPE_FIR_TAPS / 2 ]; in silk_noise_shape_quantizer()
205 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer()
277 silk_assert( lag > 0 || signalType != TYPE_VOICED ); in silk_noise_shape_quantizer()
[all …]
Ddecode_pitch.c46 opus_int lag, k, min_lag, max_lag, cbk_size; in silk_decode_pitch() local
71 lag = min_lag + lagIndex; in silk_decode_pitch()
74 pitch_lags[ k ] = lag + matrix_ptr( Lag_CB_ptr, k, contourIndex, cbk_size ); in silk_decode_pitch()
DNSQ_del_dec.c92 opus_int lag, /* I Pitch lag */
127 opus_int i, k, lag, start_idx, LSF_interpolation_flag, Winner_ind, subfr; in silk_NSQ_del_dec() local
143 lag = NSQ->lagPrev; in silk_NSQ_del_dec()
172 if( lag > 0 ) { in silk_NSQ_del_dec()
173 decisionDelay = silk_min_int( decisionDelay, lag - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec()
206 lag = pitchL[ k ]; in silk_NSQ_del_dec()
243 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec()
258 …delayedGain_Q10, A_Q12, B_Q14, AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[… in silk_NSQ_del_dec()
318 opus_int lag, /* I Pitch lag */ in silk_noise_shape_quantizer_del_dec() argument
350 shp_lag_ptr = &NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - lag + HARM_SHAPE_FIR_TAPS / 2 ]; in silk_noise_shape_quantizer_del_dec()
[all …]
Ddecode_core.c45 opus_int i, k, lag = 0, start_idx, sLTP_buf_idx, NLSF_interpolation_flag, signalType; in silk_decode_core() local
137 lag = psDecCtrl->pitchL[ k ]; in silk_decode_core()
142 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_decode_core()
157 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { in silk_decode_core()
163 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { in silk_decode_core()
173 pred_lag_ptr = &sLTP_Q15[ sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_decode_core()
DPLC.c175 opus_int lag, idx, sLTP_buf_idx, shift1, shift2; in silk_PLC_conceal() local
267 lag = silk_RSHIFT_ROUND( psPLC->pitchL_Q8, 8 ); in silk_PLC_conceal()
271 idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_PLC_conceal()
286 pred_lag_ptr = &sLTP_Q14[ sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_PLC_conceal()
315 lag = silk_RSHIFT_ROUND( psPLC->pitchL_Q8, 8 ); in silk_PLC_conceal()
361 psDecCtrl->pitchL[ i ] = lag; in silk_PLC_conceal()
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dfilter_functions.c94 int lag, n; in WebRtcIsac_AutoCorr() local
98 for (lag = 0; lag <= order; lag++) in WebRtcIsac_AutoCorr()
101 x_lag = &x[lag]; in WebRtcIsac_AutoCorr()
103 for (n = 1; n < N - lag; n++) { in WebRtcIsac_AutoCorr()
108 r[lag] = sum; in WebRtcIsac_AutoCorr()
Dpitch_filter.c109 double lag; member
219 parameters->lag_offset = WebRtcIsac_lrint(parameters->lag + PITCH_FILTDELAY + in Update()
222 fraction = parameters->lag_offset - (parameters->lag + PITCH_FILTDELAY); in Update()
318 filter_parameters.lag = old_lag; in FilterFrame()
329 filter_parameters.lag += lag_delta; in FilterFrame()
/external/llvm/test/CodeGen/X86/
Dpr3154.ll5 define void @ff_flac_compute_autocorr_sse2(i32* %data, i32 %len, i32 %lag, double* %autoc) nounwind…
9 %1 = add i32 %0, %lag ; <i32> [#uses=1]
11 %3 = getelementptr double, double* %2, i32 %lag ; <double*> [#uses=2]
18 %.sum = add i32 %lag, 1 ; <i32> [#uses=1]
48 %18 = icmp sgt i32 %lag, 0 ; <i1> [#uses=2]
53 %19 = sub i32 %j4.042, %lag ; <i32> [#uses=1]
57 %exitcond = icmp eq i32 %indvar.next45, %lag ; <i1> [#uses=1]
67 %23 = add i32 %lag, -2 ; <i32> [#uses=1]
98 %34 = icmp slt i32 %.pre-phi, %lag ; <i1> [#uses=1]
/external/aac/libAACenc/src/
Daacenc_tns.cpp546 const INT lag, in FDKaacEnc_CalcAutoCorrValue() argument
553 if (lag==0) { in FDKaacEnc_CalcAutoCorrValue()
559 for (i=startLine; i<(stopLine-lag); i++) { in FDKaacEnc_CalcAutoCorrValue()
560 result += (fMult(spectrum[i], spectrum[i+lag])>>scale); in FDKaacEnc_CalcAutoCorrValue()
626 int i, idx0, idx1, idx2, idx3, idx4, lag; in FDKaacEnc_MergedAutoCorrelation() local
683 for (lag = 1; lag <= maxOrder; lag++) { in FDKaacEnc_MergedAutoCorrelation()
685 if ((3 * lag) <= maxOrder + 3) { in FDKaacEnc_MergedAutoCorrelation()
686 FIXP_DBL x1 = FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx0, idx1, lag, nsc1); in FDKaacEnc_MergedAutoCorrelation()
687 _rxx1[lag] = fMult(scaleValue(fMult(x1,fac1),sc_fac1), acfWindow[LOFILT][3*lag]); in FDKaacEnc_MergedAutoCorrelation()
717 for (lag = 1; lag <= maxOrder; lag++) { in FDKaacEnc_MergedAutoCorrelation()
[all …]
/external/icu/icu4c/source/data/zone/
Dlag.txt6 // * Source File: <path>/common/main/lag.xml
9 lag{
/external/icu/icu4c/source/data/unit/
Dlag.txt6 // * Source File: <path>/common/main/lag.xml
9 lag{
/external/jemalloc/test/src/
DSFMT.c643 int lag; in init_by_array() local
655 lag = 11; in init_by_array()
657 lag = 7; in init_by_array()
659 lag = 5; in init_by_array()
661 lag = 3; in init_by_array()
663 mid = (size - lag) / 2; in init_by_array()
675 psfmt32[idxof(mid + lag)] += r; in init_by_array()
684 psfmt32[idxof((i + mid + lag) % N32)] += r; in init_by_array()
693 psfmt32[idxof((i + mid + lag) % N32)] += r; in init_by_array()
702 psfmt32[idxof((i + mid + lag) % N32)] ^= r; in init_by_array()
/external/icu/icu4c/source/data/lang/
Dlag.txt6 // * Source File: <path>/common/main/lag.xml
9 lag{
34 lag{"Kɨlaangi"}
/external/libopus/celt/
Dcelt_lpc.c228 int lag, in _celt_autocorr() argument
235 int fastN=n-lag; in _celt_autocorr()
279 celt_pitch_xcorr(xptr, xptr, ac, fastN, lag+1, arch); in _celt_autocorr()
280 for (k=0;k<=lag;k++) in _celt_autocorr()
293 for (i=0;i<=lag;i++) in _celt_autocorr()
301 for (i=0;i<=lag;i++) in _celt_autocorr()
Dpitch.c300 int lag; in pitch_search() local
316 lag = len+max_pitch; in pitch_search()
319 ALLOC(y_lp4, lag>>2, opus_val16); in pitch_search()
325 for (j=0;j<lag>>2;j++) in pitch_search()
330 ymax = celt_maxabs16(y_lp4, lag>>2); in pitch_search()
336 for (j=0;j<lag>>2;j++) in pitch_search()
/external/flac/libFLAC/ia32/
Dlpc_asm.nasm51 …e_autocorrelation_asm(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[])
55 ; const unsigned limit = data_len - lag;
57 ; FLAC__ASSERT(lag > 0);
58 ; FLAC__ASSERT(lag <= data_len);
60 ; for(coeff = 0; coeff < lag; coeff++)
64 ; for(coeff = 0; coeff < lag; coeff++)
77 ;[esp + 24] == lag
81 ;ASSERT(lag > 0)
82 ;ASSERT(lag <= 33)
83 ;ASSERT(lag <= data_len)
[all …]

123456