/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | pitch_estimator.c | 146 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 …]
|
D | filter_functions.c | 131 double corr[PITCH_WLPCORDER+1], rc[PITCH_WLPCORDER+1]; in WebRtcIsac_WeightingFilter() local 167 WebRtcIsac_AutoCorr(corr, ext, PITCH_WLPCWINLEN, PITCH_WLPCORDER); in WebRtcIsac_WeightingFilter() 168 corr[0]=1.01*corr[0]+1.0; /* White noise correction */ in WebRtcIsac_WeightingFilter() 169 WebRtcIsac_LevDurb(apol, rc, corr, PITCH_WLPCORDER); in WebRtcIsac_WeightingFilter()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | pitch_estimator.c | 145 double corr, corr_max; in WebRtcIsac_InitializePitch() local 208 corr = corrvec1[ind1++] + corrvec2[ind2++]; in WebRtcIsac_InitializePitch() 209 CorrSurfPtr1[k] = corr; in WebRtcIsac_InitializePitch() 210 if (corr > corr_max) { in WebRtcIsac_InitializePitch() 211 corr_max = corr; /* update maximum */ in WebRtcIsac_InitializePitch() 223 corr = adj * (corrvec1[ind1] + corrvec2[ind2]); in WebRtcIsac_InitializePitch() 224 CorrSurfPtr1[k] = corr; in WebRtcIsac_InitializePitch() 225 if (corr > corr_max) { in WebRtcIsac_InitializePitch() 226 corr_max = corr; /* update maximum */ in WebRtcIsac_InitializePitch() 229 corr = adj * (corrvec1[ind2++] + corrvec2[ind1++]); in WebRtcIsac_InitializePitch() [all …]
|
D | filter_functions.c | 130 double corr[PITCH_WLPCORDER+1], rc[PITCH_WLPCORDER+1]; in WebRtcIsac_WeightingFilter() local 166 WebRtcIsac_AutoCorr(corr, ext, PITCH_WLPCWINLEN, PITCH_WLPCORDER); in WebRtcIsac_WeightingFilter() 167 corr[0]=1.01*corr[0]+1.0; /* White noise correction */ in WebRtcIsac_WeightingFilter() 168 WebRtcIsac_LevDurb(apol, rc, corr, PITCH_WLPCORDER); in WebRtcIsac_WeightingFilter()
|
/external/chromium_org/third_party/opus/src/silk/float/ |
D | levinsondurbin_FLP.c | 37 …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()
|
D | warped_autocorrelation_FLP.c | 36 …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/libopus/silk/float/ |
D | levinsondurbin_FLP.c | 37 …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()
|
D | warped_autocorrelation_FLP.c | 36 …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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | lpc_masking_model_unittest.cc | 26 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()
|
D | pitch_estimator.c | 169 int32_t corr; in WebRtcIsacfix_InitialPitch() local 356 corr=cv2q[k]; in WebRtcIsacfix_InitialPitch() 357 if (corr>corr_max32) { // Disregard small peaks in WebRtcIsacfix_InitialPitch() 358 if ((corr>=cv2q[k-1]) && (corr>cv2q[k+1])) { // Peak? in WebRtcIsacfix_InitialPitch() 359 peakvq[peaks_indq] = corr; in WebRtcIsacfix_InitialPitch()
|
/external/speex/libspeex/ |
D | ltp_bfin.h | 66 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()
|
D | ltp_arm4.h | 88 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()
|
D | ltp.c | 79 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 …]
|
D | ltp_sse.h | 57 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/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
D | isacfix_unittest.cc | 28 int32_t corr[kIntOrder + 1] = {11443647, -27495, 0, in CalculateResidualEnergyTester() local 35 kInt32QDomain, kIntShift, a, corr, &q_shift_residual); in CalculateResidualEnergyTester() 43 corr[i] = i; in CalculateResidualEnergyTester() 46 kInt32QDomain, kIntShift, a, corr, &q_shift_residual); in CalculateResidualEnergyTester() 55 kInt32QDomain, kIntShift, a, corr, &q_shift_residual); in CalculateResidualEnergyTester()
|
/external/opencv/cv/src/ |
D | cvtemplmatch.cpp | 60 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/libopus/silk/ |
D | stereo_find_predictor.c | 45 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/chromium_org/third_party/opus/src/silk/ |
D | stereo_find_predictor.c | 45 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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
D | comp_corr.c | 27 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()
|
D | my_corr.c | 26 int32_t *corr, /* (o) correlation of seq1 and seq2 */ in WebRtcIlbcfix_MyCorr() argument 48 WebRtcSpl_CrossCorrelation(corr, (int16_t*)seq2, seq1, dim2, loops, scale, 1); in WebRtcIlbcfix_MyCorr()
|
/external/opencv/cvaux/src/ |
D | enmin.cpp | 185 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 …]
|
/external/chromium_org/third_party/speex/libspeex/ |
D | ltp.c | 79 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 …]
|
/external/libopus/silk/fixed/ |
D | warped_autocorrelation_FIX.c | 39 …opus_int32 *corr, /* O Result [order + 1] … in silk_warped_autocorrelation_FIX() argument 80 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QC[ i ], lsh ) ); in silk_warped_autocorrelation_FIX() 84 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QC[ i ], -lsh ) ); in silk_warped_autocorrelation_FIX()
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
D | warped_autocorrelation_FIX.c | 39 …opus_int32 *corr, /* O Result [order + 1] … in silk_warped_autocorrelation_FIX() argument 80 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QC[ i ], lsh ) ); in silk_warped_autocorrelation_FIX() 84 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QC[ i ], -lsh ) ); in silk_warped_autocorrelation_FIX()
|
/external/llvm/test/CodeGen/ARM/ |
D | 2012-09-25-InlineAsmScalarToVectorConv2.ll | 6 define hidden void @f(i32* %corr, i32 %order) nounwind ssp { 7 …tail call void asm sideeffect "vst1.s32 { ${1:q}, ${2:q} }, [$0]", "r,{q0},{q1}"(i32* %corr, <2 x …
|