/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
set_sign.cpp | 368 Word16 val, cor, k_cn, k_dn, max, max_of_all; 398 cor = pv_round (L_shl (L_mac (L_mult (k_cn, cn[i]), k_dn, val), 10)); 400 if (cor >= 0) 407 cor = negate (cor); 412 en[i] = cor; 422 cor = en[j]; 423 val = sub (cor, max); 427 max = cor; 499 Word16 cor; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
c2t64fx.c | 66 Word32 s, cor; local 151 cor = 0x00010000L; /* for rounding */ 154 cor += ((*ptr_h1) * (*ptr_h1) << 1); 156 *p1-- = (extract_h(cor) >> 1); 157 cor += ((*ptr_h1) * (*ptr_h1) << 1); 159 *p0-- = (extract_h(cor) >> 1); 173 cor = 0x00008000L; /* for rounding */ 179 cor += ((*ptr_h1) * (*ptr_h2))<<1; 182 *p1 = extract_h(cor); 183 cor += ((*ptr_h1) * (*ptr_h2))<<1 [all...] |
c4t64fx.c | 140 Word32 s, cor, L_tmp, L_index; local 386 cor = 0x00008000L; /* for rounding */ 389 cor += vo_L_mult((*ptr_h1), (*ptr_h1)); 391 *p3-- = extract_h(cor); 392 cor += vo_L_mult((*ptr_h1), (*ptr_h1)); 394 *p2-- = extract_h(cor); 395 cor += vo_L_mult((*ptr_h1), (*ptr_h1)); 397 *p1-- = extract_h(cor); 398 cor += vo_L_mult((*ptr_h1), (*ptr_h1)); 400 *p0-- = extract_h(cor); [all...] |
/external/iproute2/tc/ |
q_netem.c | 174 struct tc_netem_corr cor; local 184 memset(&cor, 0, sizeof(cor)); 215 if (get_percent(&cor.delay_corr, *argv)) { 243 if (get_percent(&cor.loss_corr, *argv)) { 373 if (get_percent(&cor.dup_corr, *argv)) { 450 addattr_l(n, 1024, TCA_NETEM_CORR, &cor, sizeof(cor)) < 0) 498 const struct tc_netem_corr *cor = NULL; local 523 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor)) [all...] |