Searched refs:corr (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dcomp_corr.c27 int32_t *corr, /* (o) cross correlation */
40 (*corr)=WebRtcSpl_DotProductWithScale(&buffer[bLen-sRange], w16ptr, sRange, scale);
46 *corr = 0;
26 WebRtcIlbcfix_CompCorr( int32_t *corr, int32_t *ener, int16_t *buffer, int16_t lag, int16_t bLen, int16_t sRange, int16_t scale ) argument
H A Dmy_corr.h29 int32_t *corr, /* (o) correlation of seq1 and seq2 */
H A Dcomp_corr.h30 int32_t *corr, /* (o) cross correlation */
H A Dmy_corr.c26 int32_t *corr, /* (o) correlation of seq1 and seq2 */
48 WebRtcSpl_CrossCorrelation(corr, (int16_t*)seq2, seq1, dim2, loops, scale, 1);
25 WebRtcIlbcfix_MyCorr( int32_t *corr, int16_t *seq1, int16_t dim1, const int16_t *seq2, int16_t dim2 ) argument
/external/chromium_org/third_party/opus/src/silk/float/
H A Dlevinsondurbin_FLP.c37 const silk_float corr[], /* I input auto-correlations [order + 1] */
44 min_nrg = 1e-12f * corr[ 0 ] + 1e-9f;
45 nrg = corr[ 0 ];
47 A[ 0 ] = corr[ 1 ] / nrg;
48 nrg -= A[ 0 ] * corr[ 1 ];
53 t = corr[ m + 1 ];
55 t -= A[ i ] * corr[ m - i ];
35 silk_levinsondurbin_FLP( silk_float A[], const silk_float corr[], const opus_int order ) argument
H A Dwarped_autocorrelation_FLP.c36 silk_float *corr, /* O Result [order + 1] */
71 corr[ i ] = ( silk_float )C[ i ];
35 silk_warped_autocorrelation_FLP( silk_float *corr, const silk_float *input, const silk_float warping, const opus_int length, const opus_int order ) argument
/external/libopus/silk/float/
H A Dlevinsondurbin_FLP.c37 const silk_float corr[], /* I input auto-correlations [order + 1] */
44 min_nrg = 1e-12f * corr[ 0 ] + 1e-9f;
45 nrg = corr[ 0 ];
47 A[ 0 ] = corr[ 1 ] / nrg;
48 nrg -= A[ 0 ] * corr[ 1 ];
53 t = corr[ m + 1 ];
55 t -= A[ i ] * corr[ m - i ];
35 silk_levinsondurbin_FLP( silk_float A[], const silk_float corr[], const opus_int order ) argument
H A Dwarped_autocorrelation_FLP.c36 silk_float *corr, /* O Result [order + 1] */
71 corr[ i ] = ( silk_float )C[ i ];
35 silk_warped_autocorrelation_FLP( silk_float *corr, const silk_float *input, const silk_float warping, const opus_int length, const opus_int order ) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dlpc_masking_model_unittest.cc26 int32_t corr[kIntOrder + 1] = {11443647, -27495, 0, local
33 kInt32QDomain, kIntShift, a, corr, &q_shift_residual);
41 corr[i] = i;
44 kInt32QDomain, kIntShift, a, corr, &q_shift_residual);
53 kInt32QDomain, kIntShift, a, corr, &q_shift_residual);
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/
H A Disacfix_unittest.cc28 int32_t corr[kIntOrder + 1] = {11443647, -27495, 0, local
35 kInt32QDomain, kIntShift, a, corr, &q_shift_residual);
43 corr[i] = i;
46 kInt32QDomain, kIntShift, a, corr, &q_shift_residual);
55 kInt32QDomain, kIntShift, a, corr, &q_shift_residual);
/external/chromium_org/third_party/opus/src/silk/
H A Dstereo_find_predictor.c45 opus_int32 nrgx, nrgy, corr, pred_Q13, pred2_Q10; local
55 corr = silk_inner_prod_aligned_scale( x, y, scale, length );
56 pred_Q13 = silk_DIV32_varQ( corr, nrgx, 13 );
68 /* Residual energy = nrgy - 2 * pred * corr + pred^2 * nrgx */
69 nrgy = silk_SUB_LSHIFT32( nrgy, silk_SMULWB( corr, pred_Q13 ), 3 + 1 );
/external/libopus/silk/
H A Dstereo_find_predictor.c45 opus_int32 nrgx, nrgy, corr, pred_Q13, pred2_Q10; local
55 corr = silk_inner_prod_aligned_scale( x, y, scale, length );
56 pred_Q13 = silk_DIV32_varQ( corr, nrgx, 13 );
68 /* Residual energy = nrgy - 2 * pred * corr + pred^2 * nrgx */
69 nrgy = silk_SUB_LSHIFT32( nrgy, silk_SMULWB( corr, pred_Q13 ), 3 + 1 );
/external/speex/libspeex/
H A Dltp_arm4.h88 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack) argument
94 //corr[nb_pitch-1-i]=inner_prod(x, _y+i, len);
181 corr[nb_pitch-1-i]=sum1;
182 corr[nb_pitch-2-i]=sum2;
183 corr[nb_pitch-3-i]=sum3;
184 corr[nb_pitch-4-i]=sum4;
H A Dltp_bfin.h66 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack) argument
68 corr += nb_pitch - 1;
106 : : "m" (_x), "m" (_y), "m" (corr), "m" (len), "m" (nb_pitch)
163 VARDECL(spx_word32_t *corr);
168 ALLOC(corr, end-start+1, spx_word32_t);
210 pitch_xcorr(sw, sw-end, corr, len, end-start+1, stack);
219 normalize16(corr, corr16, 180, end-start+1);
295 g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6));
296 /* FIXME: g = max(g,corr/energy) */
H A Dltp_sse.h57 void pitch_xcorr(const float *_x, const float *_y, float *corr, int len, int nb_pitch, char *stack) argument
89 _mm_store_ss(corr+nb_pitch-1-(i<<2)-offset, sum);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dpitch_estimator.c146 double corr, corr_max; local
209 corr = corrvec1[ind1++] + corrvec2[ind2++];
210 CorrSurfPtr1[k] = corr;
211 if (corr > corr_max) {
212 corr_max = corr; /* update maximum */
224 corr = adj * (corrvec1[ind1] + corrvec2[ind2]);
225 CorrSurfPtr1[k] = corr;
226 if (corr > corr_max) {
227 corr_max = corr; /* update maximum */
230 corr
[all...]
H A Dlpc_analysis.h46 double corr[][UB_LPC_ORDER + 1],
H A Dfilter_functions.c131 double corr[PITCH_WLPCORDER+1], rc[PITCH_WLPCORDER+1]; local
167 WebRtcIsac_AutoCorr(corr, ext, PITCH_WLPCWINLEN, PITCH_WLPCORDER);
168 corr[0]=1.01*corr[0]+1.0; /* White noise correction */
169 WebRtcIsac_LevDurb(apol, rc, corr, PITCH_WLPCORDER);
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dpitch_estimator.c145 double corr, corr_max; local
208 corr = corrvec1[ind1++] + corrvec2[ind2++];
209 CorrSurfPtr1[k] = corr;
210 if (corr > corr_max) {
211 corr_max = corr; /* update maximum */
223 corr = adj * (corrvec1[ind1] + corrvec2[ind2]);
224 CorrSurfPtr1[k] = corr;
225 if (corr > corr_max) {
226 corr_max = corr; /* update maximum */
229 corr
[all...]
H A Dlpc_analysis.h46 double corr[][UB_LPC_ORDER + 1],
H A Dfilter_functions.c130 double corr[PITCH_WLPCORDER+1], rc[PITCH_WLPCORDER+1]; local
166 WebRtcIsac_AutoCorr(corr, ext, PITCH_WLPCWINLEN, PITCH_WLPCORDER);
167 corr[0]=1.01*corr[0]+1.0; /* White noise correction */
168 WebRtcIsac_LevDurb(apol, rc, corr, PITCH_WLPCORDER);
/external/chromium_org/third_party/opus/src/silk/fixed/
H A Dwarped_autocorrelation_FIX.c39 opus_int32 *corr, /* O Result [order + 1] */
80 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QC[ i ], lsh ) );
84 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QC[ i ], -lsh ) );
38 silk_warped_autocorrelation_FIX( opus_int32 *corr, opus_int *scale, const opus_int16 *input, const opus_int warping_Q16, const opus_int length, const opus_int order ) argument
/external/libopus/silk/fixed/
H A Dwarped_autocorrelation_FIX.c39 opus_int32 *corr, /* O Result [order + 1] */
80 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QC[ i ], lsh ) );
84 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QC[ i ], -lsh ) );
38 silk_warped_autocorrelation_FIX( opus_int32 *corr, opus_int *scale, const opus_int16 *input, const opus_int warping_Q16, const opus_int length, const opus_int order ) argument
/external/opencv/cv/src/
H A Dcvtemplmatch.cpp60 CvMat cstub, *corr = (CvMat*)_corr; local
68 CV_CALL( corr = cvGetMat( corr, &cstub ));
80 if( !CV_ARE_DEPTHS_EQ( img, corr ) && CV_MAT_DEPTH( corr->type ) != CV_32F &&
81 CV_MAT_DEPTH( corr->type ) != CV_64F )
85 if( (!CV_ARE_CNS_EQ( img, corr ) || CV_MAT_CN(templ->type) > 1) &&
86 (CV_MAT_CN( corr->type ) > 1 || !CV_ARE_CNS_EQ( img, templ)) )
95 corr_depth = CV_MAT_DEPTH(corr->type);
96 corr_cn = CV_MAT_CN(corr
[all...]
/external/chromium_org/third_party/speex/libspeex/
H A Dltp.c79 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack)
85 /*corr[nb_pitch-1-i]=inner_prod(x, _y+i, len);*/
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 nb_pitch, char *stack) argument
148 corr[nb_pitch-1-i]=inner_prod(_x, _y+i, len);
179 VARDECL(spx_word32_t *corr);
190 ALLOC(corr, en
374 spx_word32_t corr[3]; local
[all...]

Completed in 373 milliseconds

123