Home
last modified time | relevance | path

Searched refs:corr (Results 1 – 25 of 43) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c146 double corr, corr_max; in WebRtcIsac_InitializePitch() local
209 corr = corrvec1[ind1++] + corrvec2[ind2++]; in WebRtcIsac_InitializePitch()
210 CorrSurfPtr1[k] = corr; in WebRtcIsac_InitializePitch()
211 if (corr > corr_max) { in WebRtcIsac_InitializePitch()
212 corr_max = corr; /* update maximum */ in WebRtcIsac_InitializePitch()
224 corr = adj * (corrvec1[ind1] + corrvec2[ind2]); in WebRtcIsac_InitializePitch()
225 CorrSurfPtr1[k] = corr; in WebRtcIsac_InitializePitch()
226 if (corr > corr_max) { in WebRtcIsac_InitializePitch()
227 corr_max = corr; /* update maximum */ in WebRtcIsac_InitializePitch()
230 corr = adj * (corrvec1[ind2++] + corrvec2[ind1++]); in WebRtcIsac_InitializePitch()
[all …]
Dfilter_functions.c137 double corr[PITCH_WLPCORDER+1], rc[PITCH_WLPCORDER+1]; in WebRtcIsac_WeightingFilter() local
173 WebRtcIsac_AutoCorr(corr, ext, PITCH_WLPCWINLEN, PITCH_WLPCORDER); in WebRtcIsac_WeightingFilter()
174 corr[0]=1.01*corr[0]+1.0; /* White noise correction */ in WebRtcIsac_WeightingFilter()
175 WebRtcIsac_LevDurb(apol, rc, corr, PITCH_WLPCORDER); in WebRtcIsac_WeightingFilter()
Dlpc_analysis.h46 double corr[][UB_LPC_ORDER + 1],
/external/libopus/silk/fixed/arm/
Dwarped_autocorrelation_FIX_arm.h37 …opus_int32 *corr, /* O Result [order + 1] …
47 # define silk_warped_autocorrelation_FIX(corr, scale, input, warping_Q16, length, order, arch) \ argument
48 …((void)(arch), PRESUME_NEON(silk_warped_autocorrelation_FIX)(corr, scale, input, warping_Q16, leng…
57 # define silk_warped_autocorrelation_FIX(corr, scale, input, warping_Q16, length, order, arch) \ argument
58 …((*SILK_WARPED_AUTOCORRELATION_FIX_IMPL[(arch)&OPUS_ARCHMASK])(corr, scale, input, warping_Q16, le…
61 # define silk_warped_autocorrelation_FIX(corr, scale, input, warping_Q16, length, order, arch) \ argument
62 …((void)(arch), silk_warped_autocorrelation_FIX_neon(corr, scale, input, warping_Q16, length, order…
Dwarped_autocorrelation_FIX_neon_intr.c61 …opus_int32 *corr, /* O Result [order + 1] … in silk_warped_autocorrelation_FIX_neon() argument
70 silk_warped_autocorrelation_FIX_c( corr, scale, input, warping_Q16, length, order ); in silk_warped_autocorrelation_FIX_neon()
236 vst1q_s32( corr + order - i - 3, corr_s32x4 ); in silk_warped_autocorrelation_FIX_neon()
240corr[ order - i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QCT[ i ], lsh ) ); in silk_warped_autocorrelation_FIX_neon()
244corr[ order - i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QCT[ i ], -lsh ) ); in silk_warped_autocorrelation_FIX_neon()
256 silk_assert( !memcmp( corr_c, corr, sizeof( corr_c[ 0 ] ) * ( order + 1 ) ) ); in silk_warped_autocorrelation_FIX_neon()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dlpc_masking_model_unittest.cc26 int32_t corr[kIntOrder + 1] = {11443647, -27495, 0, in CalculateResidualEnergyTester() local
33 kInt32QDomain, kIntShift, a, corr, &q_shift_residual); in CalculateResidualEnergyTester()
41 corr[i] = i; in CalculateResidualEnergyTester()
44 kInt32QDomain, kIntShift, a, corr, &q_shift_residual); in CalculateResidualEnergyTester()
53 kInt32QDomain, kIntShift, a, corr, &q_shift_residual); in CalculateResidualEnergyTester()
Dpitch_estimator.c162 int32_t corr; in WebRtcIsacfix_InitialPitch() local
348 corr=cv2q[k]; in WebRtcIsacfix_InitialPitch()
349 if (corr>corr_max32) { // Disregard small peaks in WebRtcIsacfix_InitialPitch()
350 if ((corr>=cv2q[k-1]) && (corr>cv2q[k+1])) { // Peak? in WebRtcIsacfix_InitialPitch()
351 peakvq[peaks_indq] = corr; in WebRtcIsacfix_InitialPitch()
Ddecode_plc.c272 int32_t nHP, pHP, wNoisyHP, wPriodicHP, corr, minCorr, maxCoeff; in WebRtcIsacfix_DecodePlcImpl() local
322 corr = 0; in WebRtcIsacfix_DecodePlcImpl()
325 corr = WebRtcSpl_AddSatW32(corr, WEBRTC_SPL_ABS_W32( in WebRtcIsacfix_DecodePlcImpl()
331 if( corr < minCorr ) in WebRtcIsacfix_DecodePlcImpl()
333 minCorr = corr; in WebRtcIsacfix_DecodePlcImpl()
/external/fec/
Ddotprod_port.c48 long corr; in dotprod_port() local
51 corr = 0; in dotprod_port()
53 corr += (long)a[i] * dp->coeffs[i]; in dotprod_port()
55 return corr; in dotprod_port()
/external/webrtc/webrtc/modules/audio_processing/vad/
Dvad_audio_proc.cc121 void VadAudioProc::SubframeCorrelation(double* corr, in SubframeCorrelation() argument
131 WebRtcIsac_AutoCorr(corr, windowed_audio, in SubframeCorrelation()
141 double corr[kLpcOrder + 1]; in GetLpcPolynomials() local
145 SubframeCorrelation(corr, kLpcOrder + 1, i); in GetLpcPolynomials()
146 corr[0] *= 1.0001; in GetLpcPolynomials()
149 corr[k] *= kCorrWeight[k]; in GetLpcPolynomials()
151 WebRtcIsac_LevDurb(&lpc[offset_lpc], reflec_coeff, corr, kLpcOrder); in GetLpcPolynomials()
/external/libopus/silk/
Dstereo_find_predictor.c45 opus_int32 nrgx, nrgy, corr, pred_Q13, pred2_Q10; in silk_stereo_find_predictor() local
55 corr = silk_inner_prod_aligned_scale( x, y, scale, length ); in silk_stereo_find_predictor()
56 pred_Q13 = silk_DIV32_varQ( corr, nrgx, 13 ); in silk_stereo_find_predictor()
69 nrgy = silk_SUB_LSHIFT32( nrgy, silk_SMULWB( corr, pred_Q13 ), 3 + 1 ); in silk_stereo_find_predictor()
/external/webrtc/webrtc/common_audio/signal_processing/
Dcross_correlation.c24 int32_t corr = 0; in WebRtcSpl_CrossCorrelationC() local
26 corr += (seq1[j] * seq2[j]) >> right_shifts; in WebRtcSpl_CrossCorrelationC()
28 *cross_correlation++ = corr; in WebRtcSpl_CrossCorrelationC()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dcomp_corr.c27 int32_t *corr, /* (o) cross correlation */ in WebRtcIlbcfix_CompCorr() argument
40 (*corr)=WebRtcSpl_DotProductWithScale(&buffer[bLen-sRange], w16ptr, sRange, scale); in WebRtcIlbcfix_CompCorr()
46 *corr = 0; in WebRtcIlbcfix_CompCorr()
Dmy_corr.c26 int32_t* corr, /* (o) correlation of seq1 and seq2 */ in WebRtcIlbcfix_MyCorr() argument
50 WebRtcSpl_CrossCorrelation(corr, seq2, seq1, dim2, loops, scale, 1); in WebRtcIlbcfix_MyCorr()
Dmy_corr.h29 int32_t* corr, /* (o) correlation of seq1 and seq2 */
Dcomp_corr.h30 int32_t *corr, /* (o) cross correlation */
/external/libopus/silk/fixed/
Dwarped_autocorrelation_FIX.c41 …opus_int32 *corr, /* O Result [order + 1] … in silk_warped_autocorrelation_FIX_c() argument
82 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QC[ i ], lsh ) ); in silk_warped_autocorrelation_FIX_c()
86 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QC[ i ], -lsh ) ); in silk_warped_autocorrelation_FIX_c()
Dmain_FIX.h112 …opus_int32 *corr, /* O Result [order + 1] …
121 #define silk_warped_autocorrelation_FIX(corr, scale, input, warping_Q16, length, order, arch) \ argument
122 … ((void)(arch), silk_warped_autocorrelation_FIX_c(corr, scale, input, warping_Q16, length, order))
/external/llvm/test/CodeGen/ARM/
D2012-09-25-InlineAsmScalarToVectorConv2.ll7 define hidden void @f(i32* %corr, i32 %order) nounwind ssp {
8 …tail call void asm sideeffect "vst1.s32 { ${1:q}, ${2:q} }, [$0]", "r,{q0},{q1}"(i32* %corr, <2 x …
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
D2012-09-25-InlineAsmScalarToVectorConv2.ll7 define hidden void @f(i32* %corr, i32 %order) nounwind ssp {
8 …tail call void asm sideeffect "vst1.s32 { ${1:q}, ${2:q} }, [$0]", "r,{q0},{q1}"(i32* %corr, <2 x …
/external/libopus/silk/float/
Dwarped_autocorrelation_FLP.c36 …silk_float *corr, /* O Result [order + 1] … in silk_warped_autocorrelation_FLP() argument
71 corr[ i ] = ( silk_float )C[ i ]; in silk_warped_autocorrelation_FLP()
/external/speex/libspeexdsp/
Decho_diagnostic.m21 corr = real(ifft(fft(rec).*conj(fft(play)))); variable
24 [a,b] = max(corr);
65 bb = corr(1:tail_length);
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
DPearsonsCorrelation.java195 double corr = correlation(matrix.getColumn(i), matrix.getColumn(j)); in computeCorrelationMatrix() local
196 outMatrix.setEntry(i, j, corr); in computeCorrelationMatrix()
197 outMatrix.setEntry(j, i, corr); in computeCorrelationMatrix()
/external/libopus/silk/fixed/mips/
Dwarped_autocorrelation_FIX_mipsr1.h46 …opus_int32 *corr, /* O Result [order + 1] … in silk_warped_autocorrelation_FIX() argument
151 corr[ i ] = (opus_int32)silk_CHECK_FIT32( __builtin_mips_shilo( temp64, -lsh ) ); in silk_warped_autocorrelation_FIX()
158 corr[ i ] = (opus_int32)silk_CHECK_FIT32( __builtin_mips_shilo( temp64, -lsh ) ); in silk_warped_autocorrelation_FIX()
/external/libjpeg-turbo/
Djcdctmgr.c416 UDCTELEM recip, corr; in quantize() local
423 corr = divisors[i + DCTSIZE2 * 1]; in quantize()
428 product = (UDCTELEM2)(temp + corr) * recip; in quantize()
433 product = (UDCTELEM2)(temp + corr) * recip; in quantize()

12