Home
last modified time | relevance | path

Searched refs:corr (Results 1 – 25 of 42) 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()
/external/libopus/silk/float/
Dlevinsondurbin_FLP.c37 …const silk_float corr[], /* I input auto-correlations [order + 1] … in silk_levinsondurbin_FLP() argument
44 min_nrg = 1e-12f * corr[ 0 ] + 1e-9f; in silk_levinsondurbin_FLP()
45 nrg = corr[ 0 ]; in silk_levinsondurbin_FLP()
47 A[ 0 ] = corr[ 1 ] / nrg; in silk_levinsondurbin_FLP()
48 nrg -= A[ 0 ] * corr[ 1 ]; in silk_levinsondurbin_FLP()
53 t = corr[ m + 1 ]; in silk_levinsondurbin_FLP()
55 t -= A[ i ] * corr[ m - i ]; in silk_levinsondurbin_FLP()
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/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/speex/libspeex/
Dltp_bfin.h66 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int n… in pitch_xcorr() argument
68 corr += nb_pitch - 1; in pitch_xcorr()
106 : : "m" (_x), "m" (_y), "m" (corr), "m" (len), "m" (nb_pitch) in pitch_xcorr()
163 VARDECL(spx_word32_t *corr); in open_loop_nbest_pitch()
168 ALLOC(corr, end-start+1, spx_word32_t); in open_loop_nbest_pitch()
210 pitch_xcorr(sw, sw-end, corr, len, end-start+1, stack); in open_loop_nbest_pitch()
219 normalize16(corr, corr16, 180, end-start+1); in open_loop_nbest_pitch()
295 g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6)); in open_loop_nbest_pitch()
Dltp_arm4.h88 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int n… in pitch_xcorr() argument
181 corr[nb_pitch-1-i]=sum1; in pitch_xcorr()
182 corr[nb_pitch-2-i]=sum2; in pitch_xcorr()
183 corr[nb_pitch-3-i]=sum3; in pitch_xcorr()
184 corr[nb_pitch-4-i]=sum4; in pitch_xcorr()
Dltp.c79 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int n…
134 corr[nb_pitch-1-i]=sum1;
135 corr[nb_pitch-2-i]=sum2;
136 corr[nb_pitch-3-i]=sum3;
137 corr[nb_pitch-4-i]=sum4;
142 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int n… in pitch_xcorr() argument
148 corr[nb_pitch-1-i]=inner_prod(_x, _y+i, len); in pitch_xcorr()
179 VARDECL(spx_word32_t *corr); in open_loop_nbest_pitch()
190 ALLOC(corr, end-start+1, spx_word32_t); in open_loop_nbest_pitch()
191 energy = corr; in open_loop_nbest_pitch()
[all …]
Dltp_sse.h57 void pitch_xcorr(const float *_x, const float *_y, float *corr, int len, int nb_pitch, char *stack) in pitch_xcorr() argument
89 _mm_store_ss(corr+nb_pitch-1-(i<<2)-offset, sum); in pitch_xcorr()
/external/opencv/cv/src/
Dcvtemplmatch.cpp60 CvMat cstub, *corr = (CvMat*)_corr; in icvCrossCorr() local
68 CV_CALL( corr = cvGetMat( corr, &cstub )); in icvCrossCorr()
80 if( !CV_ARE_DEPTHS_EQ( img, corr ) && CV_MAT_DEPTH( corr->type ) != CV_32F && in icvCrossCorr()
81 CV_MAT_DEPTH( corr->type ) != CV_64F ) in icvCrossCorr()
85 if( (!CV_ARE_CNS_EQ( img, corr ) || CV_MAT_CN(templ->type) > 1) && in icvCrossCorr()
86 (CV_MAT_CN( corr->type ) > 1 || !CV_ARE_CNS_EQ( img, templ)) ) in icvCrossCorr()
95 corr_depth = CV_MAT_DEPTH(corr->type); in icvCrossCorr()
96 corr_cn = CV_MAT_CN(corr->type); in icvCrossCorr()
107 if( corr->rows > img->rows + templ->rows - 1 || in icvCrossCorr()
108 corr->cols > img->cols + templ->cols - 1 ) in icvCrossCorr()
[all …]
/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/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/opencv/cvaux/src/
Denmin.cpp185 int* corr,
209 if( corr[i] == alpha || corr[i] == beta ) {
246 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
267 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
301 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
312 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
897 int* corr,
912 makeGraph( &graph, leftLine, rightLine, alpha, beta, corr, width, storage );
954 if( corr[ coord ] != alpha ) {
955 corr[ coord ] = alpha; //added
[all …]
Dcvmorphcontours.cpp541 CvSeq* corr, in icvBlendContours() argument
585 for( ; corr; corr = corr->h_next ) in icvBlendContours()
588 cvStartReadSeq( corr, &reader01, 0 ); in icvBlendContours()
590 for(j=0; j < corr->total; j++) in icvBlendContours()
626 CvSeq** corr, in icvCalcContoursCorrespondence() argument
776 *corr = cvCreateSeq(0, in icvCalcContoursCorrespondence()
781 corr01 = *corr; in icvCalcContoursCorrespondence()
/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/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 */
/external/libopus/silk/fixed/
Dwarped_autocorrelation_FIX.c45 …opus_int32 *corr, /* O Result [order + 1] … in silk_warped_autocorrelation_FIX() argument
86 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QC[ i ], lsh ) ); in silk_warped_autocorrelation_FIX()
90 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QC[ i ], -lsh ) ); in silk_warped_autocorrelation_FIX()
/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/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
150 corr[ i ] = (opus_int32)silk_CHECK_FIT32( __builtin_mips_shilo( temp64, -lsh ) ); in silk_warped_autocorrelation_FIX()
157 corr[ i ] = (opus_int32)silk_CHECK_FIT32( __builtin_mips_shilo( temp64, -lsh ) ); in silk_warped_autocorrelation_FIX()

12