/external/libopus/silk/fixed/ |
D | corrMatrix_FIX.c | 49 opus_int lag, i; in silk_corrVector_FIX() local 58 for( lag = 0; lag < order; lag++ ) { in silk_corrVector_FIX() 63 Xt[ lag ] = inner_prod; /* X[:,lag]'*t */ in silk_corrVector_FIX() 68 for( lag = 0; lag < order; lag++ ) { in silk_corrVector_FIX() 69 Xt[ lag ] = silk_inner_prod_aligned( ptr1, ptr2, L, arch ); /* X[:,lag]'*t */ in silk_corrVector_FIX() 86 opus_int i, j, lag; in silk_corrMatrix_FIX() local 116 for( lag = 1; lag < order; lag++ ) { in silk_corrMatrix_FIX() 123 matrix_ptr( XX, lag, 0, order ) = energy; in silk_corrMatrix_FIX() 124 matrix_ptr( XX, 0, lag, order ) = energy; in silk_corrMatrix_FIX() 125 for( j = 1; j < ( order - lag ); j++ ) { in silk_corrMatrix_FIX() [all …]
|
D | pitch_analysis_core_FIX.c | 110 opus_int CBimax, CBimax_new, CBimax_old, lag, start_lag, end_lag, lag_new; in silk_pitch_analysis_core() local 362 lag = -1; /* To check if lag with strong enough correlation has been found */ in silk_pitch_analysis_core() 438 lag = d; in silk_pitch_analysis_core() 443 if( lag == -1 ) { in silk_pitch_analysis_core() 462 silk_assert( lag == silk_SAT16( lag ) ); in silk_pitch_analysis_core() 464 lag = silk_RSHIFT( silk_SMULBB( lag, 3 ), 1 ); in silk_pitch_analysis_core() 466 lag = silk_LSHIFT( lag, 1 ); in silk_pitch_analysis_core() 468 lag = silk_SMULBB( lag, 3 ); in silk_pitch_analysis_core() 471 lag = silk_LIMIT_int( lag, min_lag, max_lag ); in silk_pitch_analysis_core() 472 start_lag = silk_max_int( lag - 2, min_lag ); in silk_pitch_analysis_core() [all …]
|
/external/libopus/silk/float/ |
D | corrMatrix_FLP.c | 47 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()
|
D | pitch_analysis_core_FLP.c | 98 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 …]
|
/external/webrtc/modules/audio_coding/codecs/ilbc/ |
D | enhancer_interface.c | 39 size_t lag=20, tlag=20; in WebRtcIlbcfix_EnhancerInterface() local 174 lag = lagmax[ind] + 10; in WebRtcIlbcfix_EnhancerInterface() 177 enh_period[ENH_NBLOCKS_TOT - new_blocks + iblock] = lag * 8; in WebRtcIlbcfix_EnhancerInterface() 182 tlag = lag * 2; in WebRtcIlbcfix_EnhancerInterface() 186 tlag = lag * 2; in WebRtcIlbcfix_EnhancerInterface() 190 lag *= 2; in WebRtcIlbcfix_EnhancerInterface() 215 lag=WebRtcSpl_MaxIndexW32(corr32, 3); in WebRtcIlbcfix_EnhancerInterface() 216 lag+=tlag-1; in WebRtcIlbcfix_EnhancerInterface() 221 if (lag>plc_blockl) { in WebRtcIlbcfix_EnhancerInterface() 222 WEBRTC_SPL_MEMCPY_W16(plc_pred, &in[lag-plc_blockl], plc_blockl); in WebRtcIlbcfix_EnhancerInterface() [all …]
|
D | decode.c | 200 size_t lag; in WebRtcIlbcfix_DecodeImpl() local 203 lag = 20; in WebRtcIlbcfix_DecodeImpl() 205 lag = WebRtcIlbcfix_XcorrCoef( in WebRtcIlbcfix_DecodeImpl() 207 &decresidual[iLBCdec_inst->blockl-60-lag], in WebRtcIlbcfix_DecodeImpl() 209 80, lag, -1); in WebRtcIlbcfix_DecodeImpl() 211 lag = WebRtcIlbcfix_XcorrCoef( in WebRtcIlbcfix_DecodeImpl() 213 &decresidual[iLBCdec_inst->blockl-ENH_BLOCKL-lag], in WebRtcIlbcfix_DecodeImpl() 215 100, lag, -1); in WebRtcIlbcfix_DecodeImpl() 219 (*iLBCdec_inst).last_lag = lag; in WebRtcIlbcfix_DecodeImpl()
|
D | get_cd_vec.c | 37 size_t lag; in WebRtcIlbcfix_GetCbVec() local 65 lag = k / 2; in WebRtcIlbcfix_GetCbVec() 67 WebRtcIlbcfix_CreateAugmentedVec(lag, mem+lMem, cbvec); in WebRtcIlbcfix_GetCbVec() 119 lag = (cbveclen<<1)-20+index-base_size-lMem-1; in WebRtcIlbcfix_GetCbVec() 121 WebRtcIlbcfix_CreateAugmentedVec(lag, tempbuff2+SUBL+5, cbvec); in WebRtcIlbcfix_GetCbVec()
|
D | do_plc.c | 45 size_t j, lag, randlag; in WebRtcIlbcfix_DoThePlc() local 88 lag = inlag - 3; in WebRtcIlbcfix_DoThePlc() 94 … iLBCdec_inst->prevResidual, lag, iLBCdec_inst->blockl, corrLen, scale3); in WebRtcIlbcfix_DoThePlc() 135 lag = j; in WebRtcIlbcfix_DoThePlc() 184 lag = iLBCdec_inst->prevLag; in WebRtcIlbcfix_DoThePlc() 229 use_lag = lag; in WebRtcIlbcfix_DoThePlc() 230 if (lag<80) { in WebRtcIlbcfix_DoThePlc() 231 use_lag = 2*lag; in WebRtcIlbcfix_DoThePlc() 289 iLBCdec_inst->prevLag = lag; in WebRtcIlbcfix_DoThePlc()
|
D | comp_corr.c | 30 size_t lag, /* (i) pitch lag */ in WebRtcIlbcfix_CompCorr() argument 37 w16ptr=&buffer[bLen-sRange-lag]; in WebRtcIlbcfix_CompCorr()
|
/external/flac/src/libFLAC/include/private/ |
D | lpc.h | 71 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL… 75 …ocorrelation_asm_ia32(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… 76 …sm_ia32_sse_lag_4_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… 77 …sm_ia32_sse_lag_8_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… 78 …m_ia32_sse_lag_12_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… 79 …m_ia32_sse_lag_16_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… 84 …_intrin_sse_lag_4_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… 85 …_intrin_sse_lag_8_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… 86 …intrin_sse_lag_12_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… 87 …intrin_sse_lag_16_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]… [all …]
|
/external/flac/src/libFLAC/ |
D | lpc_intrin_sse.c | 57 …_intrin_sse_lag_4_new(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]) in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4_new() argument 63 (void) lag; in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4_new() 64 FLAC__ASSERT(lag <= 4); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4_new() 65 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4_new() 93 …_intrin_sse_lag_8_new(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]) in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8_new() argument 99 (void) lag; in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8_new() 100 FLAC__ASSERT(lag <= 8); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8_new() 101 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8_new() 137 …intrin_sse_lag_12_new(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]) in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new() argument 143 (void) lag; in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new() [all …]
|
D | lpc_intrin_vsx.c | 50 …rin_power8_vsx_lag_16(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]) in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() argument 88 (void) lag; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 89 FLAC__ASSERT(lag <= 16); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 90 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 185 …rin_power8_vsx_lag_12(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]) in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12() argument 219 (void) lag; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12() 220 FLAC__ASSERT(lag <= 12); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12() 221 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12() 304 …trin_power8_vsx_lag_8(const FLAC__real data[], uint32_t data_len, uint32_t lag, FLAC__real autoc[]) in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_8() argument 334 (void) lag; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_8() [all …]
|
/external/webrtc/modules/audio_processing/agc2/rnn_vad/ |
D | pitch_search_internal.cc | 28 size_t GetInvertedLag(size_t lag) { in GetInvertedLag() argument 29 RTC_DCHECK_LE(lag, kMaxPitch24kHz); in GetInvertedLag() 30 return kMaxPitch24kHz - lag; in GetInvertedLag() 52 int GetPitchPseudoInterpolationOffset(size_t lag, in GetPitchPseudoInterpolationOffset() argument 72 size_t lag, in PitchPseudoInterpolationLagPitchBuf() argument 76 if (lag > 0 && lag < kMaxPitch24kHz) { in PitchPseudoInterpolationLagPitchBuf() 78 lag, in PitchPseudoInterpolationLagPitchBuf() 79 ComputeAutoCorrelationCoeff(pitch_buf, GetInvertedLag(lag - 1), in PitchPseudoInterpolationLagPitchBuf() 81 ComputeAutoCorrelationCoeff(pitch_buf, GetInvertedLag(lag), in PitchPseudoInterpolationLagPitchBuf() 83 ComputeAutoCorrelationCoeff(pitch_buf, GetInvertedLag(lag + 1), in PitchPseudoInterpolationLagPitchBuf() [all …]
|
D | lp_residual.cc | 37 for (size_t lag = 0; lag < max_lag; ++lag) { in ComputeCrossCorrelation() local 38 x_corr[lag] = in ComputeCrossCorrelation() 39 std::inner_product(x.begin(), x.end() - lag, y.begin() + lag, 0.f); in ComputeCrossCorrelation()
|
/external/libopus/silk/ |
D | NSQ.c | 62 opus_int lag, /* I Pitch lag */ 95 opus_int k, lag, start_idx, LSF_interpolation_flag; in silk_NSQ_c() local 108 lag = NSQ->lagPrev; in silk_NSQ_c() 140 lag = pitchL[ k ]; in silk_NSQ_c() 145 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_c() 159 …AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[ k ], Gains_Q16[ k ], Lambda_Q1… in silk_NSQ_c() 193 opus_int lag, /* I Pitch lag */ in silk_noise_shape_quantizer() argument 216 shp_lag_ptr = &NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - lag + HARM_SHAPE_FIR_TAPS / 2 ]; in silk_noise_shape_quantizer() 217 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer() 258 celt_assert( lag > 0 || signalType != TYPE_VOICED ); in silk_noise_shape_quantizer() [all …]
|
D | decode_pitch.c | 46 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()
|
D | NSQ_del_dec.c | 99 opus_int lag, /* I Pitch lag */ 135 opus_int i, k, lag, start_idx, LSF_interpolation_flag, Winner_ind, subfr; in silk_NSQ_del_dec_c() local 151 lag = NSQ->lagPrev; in silk_NSQ_del_dec_c() 181 if( lag > 0 ) { in silk_NSQ_del_dec_c() 182 decisionDelay = silk_min_int( decisionDelay, lag - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec_c() 214 lag = pitchL[ k ]; in silk_NSQ_del_dec_c() 252 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec_c() 267 …delayedGain_Q10, A_Q12, B_Q14, AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[… in silk_NSQ_del_dec_c() 330 opus_int lag, /* I Pitch lag */ in silk_noise_shape_quantizer_del_dec() argument 367 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 …]
|
D | decode_core.c | 46 opus_int i, k, lag = 0, start_idx, sLTP_buf_idx, NLSF_interpolation_flag, signalType; in silk_decode_core() local 138 lag = psDecCtrl->pitchL[ k ]; in silk_decode_core() 143 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_decode_core() 158 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { in silk_decode_core() 164 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { in silk_decode_core() 174 pred_lag_ptr = &sLTP_Q15[ sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_decode_core()
|
/external/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | filter_functions.c | 95 size_t lag, n; in WebRtcIsac_AutoCorr() local 99 for (lag = 0; lag <= order; lag++) in WebRtcIsac_AutoCorr() 102 x_lag = &x[lag]; in WebRtcIsac_AutoCorr() 104 for (n = 1; n < N - lag; n++) { in WebRtcIsac_AutoCorr() 109 r[lag] = sum; in WebRtcIsac_AutoCorr()
|
/external/aac/libAACenc/src/ |
D | aacenc_tns.cpp | 556 const INT lag, in FDKaacEnc_CalcAutoCorrValue() argument 563 if (lag == 0) { in FDKaacEnc_CalcAutoCorrValue() 568 for (i = startLine; i < (stopLine - lag); i++) { in FDKaacEnc_CalcAutoCorrValue() 569 result += (fMult(spectrum[i], spectrum[i + lag]) >> scale); in FDKaacEnc_CalcAutoCorrValue() 625 int i, idx0, idx1, idx2, idx3, idx4, lag; in FDKaacEnc_MergedAutoCorrelation() local 686 for (lag = 1; lag <= maxOrder; lag++) { in FDKaacEnc_MergedAutoCorrelation() 690 FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx0, idx1, lag, nsc1); in FDKaacEnc_MergedAutoCorrelation() 691 _rxx1[lag] = in FDKaacEnc_MergedAutoCorrelation() 692 fMult(scaleValue(fMult(x1, fac1), sc_fac1), acfWindow[LOFILT][lag]); in FDKaacEnc_MergedAutoCorrelation() 695 for (lag = 1; lag <= maxOrder; lag++) { in FDKaacEnc_MergedAutoCorrelation() [all …]
|
/external/webrtc/modules/audio_processing/aec3/ |
D | matched_filter.h | 78 LagEstimate(float accuracy, bool reliable, size_t lag, bool updated) in LagEstimate() 79 : accuracy(accuracy), reliable(reliable), lag(lag), updated(updated) {} in LagEstimate() 83 size_t lag = 0; member
|
/external/libopus/silk/x86/ |
D | NSQ_sse4_1.c | 63 opus_int lag, /* I Pitch lag */ 91 opus_int k, lag, start_idx, LSF_interpolation_flag; in silk_NSQ_sse4_1() local 109 lag = NSQ->lagPrev; in silk_NSQ_sse4_1() 196 lag = pitchL[ k ]; in silk_NSQ_sse4_1() 201 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_sse4_1() 217 … AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[ k ], Gains_Q16[ k ], in silk_NSQ_sse4_1() 223 …AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[ k ], Gains_Q16[ k ], Lambda_Q1… in silk_NSQ_sse4_1() 254 opus_int lag, /* I Pitch lag */ in silk_noise_shape_quantizer_10_16_sse4_1() argument 282 shp_lag_ptr = &NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - lag + HARM_SHAPE_FIR_TAPS / 2 ]; in silk_noise_shape_quantizer_10_16_sse4_1() 283 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer_10_16_sse4_1() [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | pr3154.ll | 5 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/llvm/test/CodeGen/X86/ |
D | pr3154.ll | 5 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/libaom/libaom/test/ |
D | best_encode.sh | 39 --lag-in-frames=25 \ 68 --lag-in-frames=25 \ 89 --lag-in-frames=25 \
|