/external/chromium_org/third_party/opus/src/silk/float/ |
levinsondurbin_FLP.c | 37 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 ];
|
warped_autocorrelation_FLP.c | 36 silk_float *corr, /* O Result [order + 1] */ 71 corr[ i ] = ( silk_float )C[ i ];
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
calc_cor.cpp | 109 corr = pointer to array of correlations corresponding to the selected 113 corr = pointer to array of correlations corresponding to the selected 155 Word32 corr[]) // o : correlation of selected lag 171 corr[-i] = t0; 205 Word32 corr[]) /* o : correlation of selected lag */ 232 corr = corr - lag_max ; 259 *(corr++) = t1 << 1; 260 *(corr++) = t2 << 1; 261 *(corr++) = t3 << 1 [all...] |
calc_cor.h | 80 Word32 corr[] /* o : correlation of selected lag */
|
hp_max.h | 101 Word32 corr[], /* i : correlation vector. */
|
hp_max.cpp | 83 corr[] = correlation vector (Word16) 111 corr[t] = <scal_sig[n],scal_sig[n-t]>, t=lag_min,...,lag_max 129 Word32 corr[], // i : correlation vector 151 t0 = L_sub (L_sub(L_shl(corr[-i], 1), corr[-i-1]), corr[-i+1]); 238 Word32 corr[], /* i : correlation vector. */ 260 t0 = L_shl(corr[-i], 1, pOverflow); 261 L_temp = L_sub(t0, corr[-i-1], pOverflow); 262 t0 = L_sub(L_temp, corr[-i+1], pOverflow) [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...] |
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...] |
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...] |
/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);
|
/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/speex/libspeex/ |
ltp_arm4.h | 88 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack) 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;
|
ltp_bfin.h | 66 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack) 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) */
|
ltp_sse.h | 57 void pitch_xcorr(const float *_x, const float *_y, float *corr, int len, int nb_pitch, char *stack) 89 _mm_store_ss(corr+nb_pitch-1-(i<<2)-offset, sum);
|
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...] |
ltp.h | 52 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
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...] |
lpc_analysis.h | 46 double corr[][UB_LPC_ORDER + 1],
|
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);
|
/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/chromium_org/third_party/opus/src/silk/fixed/ |
warped_autocorrelation_FIX.c | 39 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 ) );
|
/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...] |
/external/opencv/cvaux/src/ |
enmin.cpp | 173 // corr - pointer to array of correspondences ( each element 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 ], [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
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;
|