Searched defs:corr (Results 1 - 25 of 32) sorted by relevance

12

/external/webrtc/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, size_t lag, size_t bLen, size_t sRange, int16_t scale ) argument
H A Dmy_corr.c26 int32_t* corr, /* (o) correlation of seq1 and seq2 */
50 WebRtcSpl_CrossCorrelation(corr, seq2, seq1, dim2, loops, scale, 1);
25 WebRtcIlbcfix_MyCorr( int32_t* corr, const int16_t* seq1, size_t dim1, const int16_t* seq2, size_t dim2 ) argument
/external/fec/
H A Ddotprod_port.c48 long corr; local
51 corr = 0;
53 corr += (long)a[i] * dp->coeffs[i];
55 return corr;
/external/libopus/silk/fixed/
H A Dwarped_autocorrelation_FIX.c41 opus_int32 *corr, /* O Result [order + 1] */
82 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QC[ i ], lsh ) );
86 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QC[ i ], -lsh ) );
40 silk_warped_autocorrelation_FIX_c( 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/float/
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/
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/webrtc/webrtc/common_audio/signal_processing/
H A Dcross_correlation.c24 int32_t corr = 0; local
26 corr += (seq1[j] * seq2[j]) >> right_shifts;
28 *cross_correlation++ = corr;
/external/webrtc/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);
H A Dpitch_estimator.c162 int32_t corr; local
243 /* Make zeropadded corr vectors */
348 corr=cv2q[k];
349 if (corr>corr_max32) { // Disregard small peaks
350 if ((corr>=cv2q[k-1]) && (corr>cv2q[k+1])) { // Peak?
351 peakvq[peaks_indq] = corr;
H A Ddecode_plc.c272 int32_t nHP, pHP, wNoisyHP, wPriodicHP, corr, minCorr, maxCoeff; local
322 corr = 0;
325 corr = WebRtcSpl_AddSatW32(corr, WEBRTC_SPL_ABS_W32(
331 if( corr < minCorr )
333 minCorr = corr;
/external/speex/libspeex/
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);
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 Dfilters.c598 spx_word32_t corr[4][7]; local
603 corr[0][i] = inner_prod(exc, exc-pitch-3+i, len);
618 tmp += MULT16_32_Q15(shift_filt[i][k],corr[0][j+k-3]);
619 corr[i+1][j] = tmp;
623 maxcorr = corr[0][0];
628 if (corr[i][j] > maxcorr)
630 maxcorr = corr[i][j];
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...]
/external/harfbuzz_ng/test/api/
H A Dtest-ot-math.c337 hb_position_t corr; local
341 &corr);
342 return corr;
/external/libopus/silk/fixed/arm/
H A Dwarped_autocorrelation_FIX_neon_intr.c61 opus_int32 *corr, /* O Result [order + 1] */
70 silk_warped_autocorrelation_FIX_c( corr, scale, input, warping_Q16, length, order );
236 vst1q_s32( corr + order - i - 3, corr_s32x4 );
240 corr[ order - i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QCT[ i ], lsh ) );
244 corr[ order - i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QCT[ i ], -lsh ) );
256 silk_assert( !memcmp( corr_c, corr, sizeof( corr_c[ 0 ] ) * ( order + 1 ) ) );
60 silk_warped_autocorrelation_FIX_neon( 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/mips/
H A Dwarped_autocorrelation_FIX_mipsr1.h46 opus_int32 *corr, /* O Result [order + 1] */
151 corr[ i ] = (opus_int32)silk_CHECK_FIT32( __builtin_mips_shilo( temp64, -lsh ) );
158 corr[ i ] = (opus_int32)silk_CHECK_FIT32( __builtin_mips_shilo( temp64, -lsh ) );
45 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, int arch ) argument
/external/webrtc/webrtc/modules/audio_processing/vad/
H A Dvad_audio_proc.cc121 void VadAudioProc::SubframeCorrelation(double* corr, argument
131 WebRtcIsac_AutoCorr(corr, windowed_audio,
141 double corr[kLpcOrder + 1]; local
145 SubframeCorrelation(corr, kLpcOrder + 1, i);
146 corr[0] *= 1.0001;
149 corr[k] *= kCorrWeight[k];
151 WebRtcIsac_LevDurb(&lpc[offset_lpc], reflec_coeff, corr, kLpcOrder);
/external/libjpeg-turbo/
H A Djcdctmgr.c416 UDCTELEM recip, corr; local
423 corr = divisors[i + DCTSIZE2 * 1];
428 product = (UDCTELEM2)(temp + corr) * recip;
433 product = (UDCTELEM2)(temp + corr) * recip;
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dfilter_functions.c137 double corr[PITCH_WLPCORDER+1], rc[PITCH_WLPCORDER+1]; local
173 WebRtcIsac_AutoCorr(corr, ext, PITCH_WLPCWINLEN, PITCH_WLPCORDER);
174 corr[0]=1.01*corr[0]+1.0; /* White noise correction */
175 WebRtcIsac_LevDurb(apol, rc, corr, PITCH_WLPCORDER);
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 Dencode.c663 double corr[SUBFRAMES << 1][UB_LPC_ORDER + 1]; local
713 &lpcVecs[UB_LPC_ORDER], corr, varscale, isac16kHz);
727 (SUBFRAMES << 1), lpcGains, corr, varscale);
857 double corr[UB_LPC_GAIN_DIM][UB_LPC_ORDER + 1]; local
908 lpcVecs, corr, varscale, isac12kHz);
915 WebRtcIsac_GetLpcGain(s2nr, percepFilterParams, SUBFRAMES, lpcGains, corr,
/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/opencv/cvaux/src/
H A Dcvmorphcontours.cpp534 * Correspondence between points of contours specify by corr
541 CvSeq* corr,
585 for( ; corr; corr = corr->h_next )
588 cvStartReadSeq( corr, &reader01, 0 );
590 for(j=0; j < corr->total; j++)
626 CvSeq** corr,
776 *corr = cvCreateSeq(0,
781 corr01 = *corr;
539 icvBlendContours(CvSeq* contour1, CvSeq* contour2, CvSeq* corr, double param, CvMemStorage* storage) argument
624 icvCalcContoursCorrespondence(CvSeq* contour1, CvSeq* contour2, CvSeq** corr, CvMemStorage* storage) argument
[all...]

Completed in 625 milliseconds

12