Home
last modified time | relevance | path

Searched refs:cor (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codecs/amrwb/enc/src/
Dc4t64fx.c144 Word32 s, cor, L_tmp, L_index; in ACELP_4t64_fx() local
390 cor = 0x00008000L; /* for rounding */ in ACELP_4t64_fx()
393 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
395 *p3-- = extract_h(cor); in ACELP_4t64_fx()
396 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
398 *p2-- = extract_h(cor); in ACELP_4t64_fx()
399 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
401 *p1-- = extract_h(cor); in ACELP_4t64_fx()
402 cor = L_add(cor, vo_L_mult((*ptr_h1), (*ptr_h1))); in ACELP_4t64_fx()
404 *p0-- = extract_h(cor); in ACELP_4t64_fx()
[all …]
Dc2t64fx.c66 Word32 s, cor; in ACELP_2t64_fx() local
154 cor = 0x00010000L; /* for rounding */ in ACELP_2t64_fx()
157 cor += ((*ptr_h1) * (*ptr_h1) << 1); in ACELP_2t64_fx()
159 *p1-- = (extract_h(cor) >> 1); in ACELP_2t64_fx()
160 cor += ((*ptr_h1) * (*ptr_h1) << 1); in ACELP_2t64_fx()
162 *p0-- = (extract_h(cor) >> 1); in ACELP_2t64_fx()
176 cor = 0x00008000L; /* for rounding */ in ACELP_2t64_fx()
182 cor += ((*ptr_h1) * (*ptr_h2))<<1; in ACELP_2t64_fx()
185 *p1 = extract_h(cor); in ACELP_2t64_fx()
186 cor += ((*ptr_h1) * (*ptr_h2))<<1; in ACELP_2t64_fx()
[all …]
/frameworks/av/media/codecs/amrnb/enc/src/
Dset_sign.cpp499 Word16 cor; in set_sign12k2() local
546 cor = pv_round(L_temp, pOverflow); in set_sign12k2()
548 if (cor >= 0) in set_sign12k2()
555 cor = negate(cor); in set_sign12k2()
561 *(p_en--) = cor; in set_sign12k2()
571 cor = en[j]; in set_sign12k2()
572 if (cor > max) in set_sign12k2()
574 max = cor; in set_sign12k2()