/external/chromium_org/third_party/opus/src/silk/ |
stereo_find_predictor.c | 45 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/src/modules/audio_coding/codecs/isac/fix/test/ |
isacfix_unittest.cc | 28 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);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
p_ol_wgh.cpp | 414 corr = pointer to buffer of correlation values (Word32) 468 Word32 corr[], // i : correlation vector. 496 t0 = corr[-i]; 499 L_Extract (corr[-i], &t0_h, &t0_l); 573 Word32 corr[], /* i : correlation vector. */ 608 t0 = corr[-i]; 611 L_Extract(corr[-i], &t0_h, &t0_l, pOverflow); 739 Word32 corr[PIT_MAX+1], *corr_ptr; 787 corr_ptr = &corr[pit_max]; 882 Word32 corr[PIT_MAX+1], *corr_ptr local [all...] |
pitch_ol.cpp | 92 corr = pointer to buffer of correlation values (Word32) 124 corr = pointer to buffer of correlation values (Word32) 176 Word32 corr[], // i : correlation vector. 191 Word32 corr[], // i : correlation vector. 214 if (L_sub (corr[-i], max) >= 0) 216 max = corr[-i]; 294 Word32 corr[], /* i : correlation vector. */ 310 Word32 corr[], /* i : correlation vector. */ 335 Word32 *p_corr = &corr[-lag_max]; 343 /* address offset, i.e., corr[-i] == *(corr - i) * 973 Word32 corr[PIT_MAX+1]; local [all...] |
pitch_fr.cpp | 188 corr[k] = <x[], y_k[]>/sqrt(y_k[],y_k[]) 451 corr[] = pointer to normalized correlation of type Word16 498 Word16 corr[], // i : normalized correlation 510 max = Interpol_3or6 (&corr[*lag], *frac, flag3); // function result 513 corr_int = Interpol_3or6 (&corr[*lag], i, flag3); 570 Word16 corr[], /* i : normalized correlation */ 583 max = Interpol_3or6(&corr[*lag], *frac, flag3, pOverflow); 588 corr_int = Interpol_3or6(&corr[*lag], i, flag3, pOverflow); 1388 Word16 *corr; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
pitch_f4.c | 80 Word16 *corr; local 87 corr = &corr_v[-t_min]; 90 Norm_corr_asm(exc, xn, h, L_subfr, t_min, t_max, corr); 92 Norm_Corr(exc, xn, h, L_subfr, t_min, t_max, corr); 97 max = corr[t0_min]; 101 if (corr[i] >= max) 103 max = corr[i]; 130 max = Interpol_4(&corr[t0], fraction); 134 temp = Interpol_4(&corr[t0], i); 171 Word32 corr, exp_corr, norm, exp, scale local [all...] |
c4t64fx.c | 110 Word16 dn[], /* (i) corr. between target and h[] */ 112 Word16 cor_x[], /* (i) corr. of pulse 1 with fixed pulses */ 113 Word16 cor_y[], /* (i) corr. of pulse 2 with fixed pulses */ 114 Word16 rrixiy[][MSIZE] /* (i) corr. of pulse 1 with pulse 2 */ 836 Word32 i, j, pos, corr; local 865 corr = vo_round(L_sum1); 866 *cor_x++ = vo_mult(corr, sign[pos]) + (*p0++); 867 corr = vo_round(L_sum2); 868 *cor_y++ = vo_mult(corr, sign[pos-3]) + (*p3++); 889 corr = vo_round(L_sum1) 908 Word32 i, j, pos, corr; local [all...] |
/external/speex/libspeex/ |
ltp.c | 79 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) 148 corr[nb_pitch-1-i]=inner_prod(_x, _y+i, len); 179 VARDECL(spx_word32_t *corr); 190 ALLOC(corr, end-start+1, spx_word32_t) 374 spx_word32_t corr[3]; local [all...] |
filters.c | 598 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];
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
filter_functions.c | 130 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);
|
encode.c | 660 double corr[SUBFRAMES << 1][UB_LPC_ORDER + 1]; local 710 &lpcVecs[UB_LPC_ORDER], corr, varscale, isac16kHz); 724 (SUBFRAMES << 1), lpcGains, corr, varscale); 852 double corr[UB_LPC_GAIN_DIM][UB_LPC_ORDER + 1]; local [all...] |
pitch_estimator.c | 145 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 = adj * (corrvec1[ind2++] + corrvec2[ind1++]) [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
decode_plc.c | 274 WebRtc_Word32 nHP, pHP, wNoisyHP, wPriodicHP, corr, minCorr, maxCoeff; local 325 corr = 0; 328 corr = WEBRTC_SPL_ADD_SAT_W32( corr, WEBRTC_SPL_ABS_W32( 334 if( corr < minCorr ) 336 minCorr = corr;
|
pitch_estimator.c | 279 WebRtc_Word32 corr; local 358 /* Make zeropadded corr vectors */ 461 corr=cv2q[k]; 462 if (corr>corr_max32) { // Disregard small peaks 463 if ((corr>=cv2q[k-1]) && (corr>cv2q[k+1])) { // Peak? 464 peakvq[peaks_indq] = corr;
|
/external/opencv/cv/src/ |
cvtemplmatch.cpp | 60 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->type) [all...] |
/bionic/libc/tzcode/ |
localtime.c | 1470 register int_fast64_t corr; local [all...] |
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
localtime.c | 1443 register long corr; local [all...] |
zic.c | 416 static long corr[TZ_MAX_LEAPS]; variable [all...] |
/external/chromium_org/third_party/opus/src/src/ |
opus_encoder.c | 882 opus_val16 corr; local 940 corr = SHR32(frac_div32(mem->XY,EPSILON+MULT16_16(sqrt_xx,sqrt_yy)),16); 943 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff); 950 corr=Q15ONE; 953 /*printf("%f %f %f %f %f ", corr/(float)Q15ONE, ldiff/(float)Q15ONE, width/(float)Q15ONE, mem->smoothed_width/(float)Q15ONE, mem->max_follower/(float)Q15ONE);*/ [all...] |
/external/icu4c/tools/tzcode/ |
localtime.c | 1443 register long corr; local [all...] |
zic.c | 416 static long corr[TZ_MAX_LEAPS]; variable [all...] |
/external/zxing/core/ |
core.jar | |