/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | levinson.c | 121 Word32 t0, t1, t2; /* temporary variable */ in Levinson() local 132 t0 = Div_32(t2, Rh[0], Rl[0]); /* R[1]/R[0] in Q31 */ in Levinson() 134 t0 = -t0; /* -R[1]/R[0] */ in Levinson() 136 Kh = t0 >> 16; in Levinson() 137 Kl = (t0 & 0xffff)>>1; in Levinson() 139 t0 = (t0 >> 4); /* A[1] in Q27 */ in Levinson() 141 Ah[1] = t0 >> 16; in Levinson() 142 Al[1] = (t0 & 0xffff)>>1; in Levinson() 145 t0 = Mpy_32(Kh, Kl, Kh, Kl); /* K*K in Q31 */ in Levinson() 146 t0 = L_abs(t0); /* Some case <0 !! */ in Levinson() [all …]
|
D | az_isp.c | 71 Word32 t0; in Az_isp() local 89 t0 = a[i] << 15; in Az_isp() 90 f1[i] = vo_round(t0 + (a[M - i] << 15)); /* =(a[i]+a[M-i])/2 */ in Az_isp() 91 f2[i] = vo_round(t0 - (a[M - i] << 15)); /* =(a[i]-a[M-i])/2 */ in Az_isp() 155 t0 = x * y; in Az_isp() 156 t0 = (t0 >> (19 - exp)); in Az_isp() 157 y = vo_extract_l(t0); /* y= (xhigh-xlow)/(yhigh-ylow) in Q11 */ in Az_isp() 160 t0 = ylow * y; /* result in Q26 */ in Az_isp() 161 t0 = (t0 >> 10); /* result in Q15 */ in Az_isp() 162 xint = vo_sub(xlow, vo_extract_l(t0)); /* xint = xlow - ylow*y */ in Az_isp() [all …]
|
D | isp_az.c | 49 Word32 t0; in Isp_Az() local 94 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az() 95 f1[i] = vo_L_add(f1[i], t0); in Isp_Az() 101 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az() 102 f2[i] = vo_L_sub(f2[i], t0); in Isp_Az() 117 t0 = vo_L_add(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 118 tmax |= L_abs(t0); in Isp_Az() 119 a[i] = (Word16)(vo_L_shr_r(t0, 12)); /* from Q23 to Q12 and * 0.5 */ in Isp_Az() 123 t0 = vo_L_sub(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() 124 tmax |= L_abs(t0); in Isp_Az() [all …]
|
D | pitch_f4.c | 81 Word16 max, t0, step, temp; in Pitch_fr4() local 100 t0 = t0_min; in Pitch_fr4() 106 t0 = i; in Pitch_fr4() 110 if ((i_subfr == 0) && (t0 >= t0_fr1)) in Pitch_fr4() 113 return (t0); in Pitch_fr4() 123 if ((t0_fr2 == PIT_MIN)||((i_subfr == 0) && (t0 >= t0_fr2))) in Pitch_fr4() 128 if(t0 == t0_min) in Pitch_fr4() 132 max = Interpol_4(&corr[t0], fraction); in Pitch_fr4() 136 temp = Interpol_4(&corr[t0], i); in Pitch_fr4() 147 t0 -= 1; in Pitch_fr4() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | levinson.cpp | 654 Word32 t0; /* temporary variable */ in Levinson() local 671 t0 = Div_32(t2, *Rh, *Rl, pOverflow); /* R[1]/R[0] */ in Levinson() 675 t0 = L_negate(t0); /* -R[1]/R[0] */ in Levinson() 679 Kh = (Word16)(t0 >> 16); in Levinson() 680 Kl = (Word16)((t0 >> 1) - ((Word32)(Kh) << 15)); in Levinson() 682 *rc = pv_round(t0, pOverflow); in Levinson() 684 t0 = t0 >> 4; in Levinson() 687 *(Ah + 1) = (Word16)(t0 >> 16); in Levinson() 689 *(Al + 1) = (Word16)((t0 >> 1) - ((Word32)(*(Ah + 1)) << 15)); in Levinson() 692 t0 = Mpy_32(Kh, Kl, Kh, Kl, pOverflow); /* K*K */ in Levinson() [all …]
|
D | hp_max.cpp | 249 Word32 max, t0, t1; in hp_max() local 255 t0 = 0L; in hp_max() 260 t0 = L_shl(corr[-i], 1, pOverflow); in hp_max() 261 L_temp = L_sub(t0, corr[-i-1], pOverflow); in hp_max() 262 t0 = L_sub(L_temp, corr[-i+1], pOverflow); in hp_max() 263 t0 = L_abs(t0); in hp_max() 265 if (t0 >= max) in hp_max() 267 max = t0; in hp_max() 274 t0 = 0L; in hp_max() 277 t0 = L_mac(t0, *p, *p1, pOverflow); in hp_max() [all …]
|
D | pitch_ol.cpp | 326 Word32 t0; in Lag_max() local 354 t0 = 0; in Lag_max() 361 t0 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p), t0); in Lag_max() 363 t0 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p), t0); in Lag_max() 365 t0 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p), t0); in Lag_max() 367 t0 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p), t0); in Lag_max() 371 t0 <<= 1; in Lag_max() 379 *r0 = t0; in Lag_max() 382 vad_tone_detection(vadSt, max, t0, pOverflow); in Lag_max() 386 t0 = Inv_sqrt(t0, pOverflow); in Lag_max() [all …]
|
D | p_ol_wgh.cpp | 591 Word32 t0; in Lag_max() local 608 t0 = corr[-i]; in Lag_max() 612 t0 = Mpy_32_16(t0_h, t0_l, *ww, pOverflow); in Lag_max() 617 L_Extract(t0, &t0_h, &t0_l, pOverflow); in Lag_max() 618 t0 = Mpy_32_16(t0_h, t0_l, *we, pOverflow); in Lag_max() 623 if (t0 >= max) in Lag_max() 625 max = t0; in Lag_max() 631 t0 = 0; in Lag_max() 636 t0 = L_mac(t0, *p, *p1, pOverflow); in Lag_max() 644 vadSt->L_Rmax = L_add(vadSt->L_Rmax, t0, pOverflow); in Lag_max() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | isp_az.cpp | 144 int32 t0; in Isp_Az() local 189 t0 = f1[i]; in Isp_Az() 191 t0 = fxp_mul32_by_16b(t0, isp[m - 1]) << 1; in Isp_Az() 193 f1[i] += t0; in Isp_Az() 211 t0 = add_int32(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 213 t1 = t0 - (t0 < 0); in Isp_Az() 218 a[i] = (int16)((t0 >> 12) + ((t0 >> 11) & 1)); in Isp_Az() 223 t0 = sub_int32(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() 225 t1 = t0 - (t0 < 0); in Isp_Az() 231 a[j--] = (int16)((t0 >> 12) + ((t0 >> 11) & 1)); in Isp_Az() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | az_lsp.cpp | 252 Word32 t0; in Chebps() local 262 t0 = ((Word32) x << 10) + ((Word32) * (p_f++) << 14); in Chebps() 266 b1_h = (Word16)(t0 >> 16); in Chebps() 267 b1_l = (Word16)((t0 >> 1) - (b1_h << 15)); in Chebps() 273 t0 = ((Word32) b1_h * x); in Chebps() 274 t0 += ((Word32) b1_l * x) >> 15; in Chebps() 275 t0 <<= 2; in Chebps() 278 t0 -= L_temp; in Chebps() 281 t0 += (Word32) * (p_f++) << 14; in Chebps() 286 b1_h = (Word16)(t0 >> 16); in Chebps() [all …]
|
D | lsp_az.cpp | 262 Word32 t0; in Get_lsp_pol() local 280 t0 = ((Word32)hi * *lsp); in Get_lsp_pol() 281 t0 += ((Word32)lo * *lsp) >> 15; in Get_lsp_pol() 284 *(f--) -= t0 << 2; /* *f -= t0 */ in Get_lsp_pol() 519 Word32 t0; in Lsp_Az() local 544 t0 = *(p_f1) + *(p_f2); /* f1[i] + f2[i] */ in Lsp_Az() 547 t0 = t0 + ((Word32) 1 << 12); in Lsp_Az() 550 *(p_a++) = (Word16)(t0 >> 13); in Lsp_Az()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | ex_ctrl.cpp | 162 Word32 t0; in Ex_ctrl() local 194 t0 = L_mult(avgEnergy, excEnergy, pOverflow); in Ex_ctrl() 195 t0 = L_shr(t0, sub(20, exp, pOverflow), pOverflow); in Ex_ctrl() 197 if (t0 > 32767) in Ex_ctrl() 199 t0 = 32767; /* saturate */ in Ex_ctrl() 201 scaleFactor = extract_l(t0); in Ex_ctrl() 212 t0 = L_mult(scaleFactor, excitation[i], pOverflow); in Ex_ctrl() 213 t0 = L_shr(t0, 11, pOverflow); in Ex_ctrl() 214 excitation[i] = extract_l(t0); in Ex_ctrl()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | CachedPathIteratorFactory.java | 128 private static void quadCurveSegment(float[] coords, float t0, float t1) { in quadCurveSegment() argument 130 float mt = t0 + (t1 - t0) / 2; in quadCurveSegment() 135 float u0 = 1 - t0; in quadCurveSegment() 139 coords[0] = coords[0] * u0 * u0 + coords[2] * 2 * t0 * u0 + coords[4] * t0 * t0; in quadCurveSegment() 140 coords[1] = coords[1] * u0 * u0 + coords[3] * 2 * t0 * u0 + coords[5] * t0 * t0; in quadCurveSegment() 151 private static void cubicCurveSegment(float[] coords, float t0, float t1) { in cubicCurveSegment() argument 153 float u0 = 1 - t0; in cubicCurveSegment() 158 float qxa = coords[0] * u0 * u0 + coords[2] * 2 * t0 * u0 + coords[4] * t0 * t0; in cubicCurveSegment() 160 float qxc = coords[2] * u0 * u0 + coords[4] * 2 * t0 * u0 + coords[6] * t0 * t0; in cubicCurveSegment() 163 float qya = coords[1] * u0 * u0 + coords[3] * 2 * t0 * u0 + coords[5] * t0 * t0; in cubicCurveSegment() [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptC_reduce_general_inputs.java.expect | 160 Type t0, t1; 170 t0 = ain1.getType(); 172 if ((t0.getCount() != t1.getCount()) || 173 (t0.getX() != t1.getX()) || 174 (t0.getY() != t1.getY()) || 175 (t0.getZ() != t1.getZ()) || 176 (t0.hasFaces() != t1.hasFaces()) || 177 (t0.hasMipmaps() != t1.hasMipmaps())) { 224 Type t0, t1; 234 t0 = ain1.getType(); [all …]
|
/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
D | ScriptC_reflection3264_divergent.java.expect | 282 Type t0, t1; // Verify dimensions 283 t0 = ain.getType(); 285 if ((t0.getCount() != t1.getCount()) || 286 (t0.getX() != t1.getX()) || 287 (t0.getY() != t1.getY()) || 288 (t0.getZ() != t1.getZ()) || 289 (t0.hasFaces() != t1.hasFaces()) || 290 (t0.hasMipmaps() != t1.hasMipmaps())) { 325 Type t0, t1; // Verify dimensions 326 t0 = ain.getType(); [all …]
|
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/ |
D | ScriptC_reflection3264_divergent.java.expect | 279 Type t0, t1; // Verify dimensions 280 t0 = ain.getType(); 282 if ((t0.getCount() != t1.getCount()) || 283 (t0.getX() != t1.getX()) || 284 (t0.getY() != t1.getY()) || 285 (t0.getZ() != t1.getZ()) || 286 (t0.hasFaces() != t1.hasFaces()) || 287 (t0.hasMipmaps() != t1.hasMipmaps())) { 322 Type t0, t1; // Verify dimensions 323 t0 = ain.getType(); [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_x86.cpp | 763 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendSrcOver_K() local 777 t0 = _mm_unpacklo_epi8(out0, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K() 778 t0 = _mm_mullo_epi16(t0, _mm_sub_epi16(all1s, ina)); in rsdIntrinsicBlendSrcOver_K() 779 t0 = _mm_srli_epi16(t0, 8); in rsdIntrinsicBlendSrcOver_K() 780 t0 = _mm_add_epi16(t0, ins); in rsdIntrinsicBlendSrcOver_K() 806 t0 = _mm_packus_epi16(t0, t1); in rsdIntrinsicBlendSrcOver_K() 808 _mm_storeu_si128((__m128i *)dst, t0); in rsdIntrinsicBlendSrcOver_K() 819 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendDstOver_K() local 834 t0 = _mm_unpacklo_epi8(in0, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K() 835 t0 = _mm_mullo_epi16(t0, _mm_sub_epi16(all1s, outa)); in rsdIntrinsicBlendDstOver_K() [all …]
|
/frameworks/ml/nn/tools/systrace_parser/ |
D | contract-between-code-and-parser.txt | 35 …uncP(...) { t0: t_m_w:B|T1|[NN_LR_PP]funcP … 45 …uncA1(...) { t0: t_m_w:B|T1|[NN_LA_PP]funcE1 … 68 …uncC1(...) { t0: t_m_w:B|T1|[NN_LC_PTR]funcC1 … 82 ... funcR2(...) { t0: t_m_w:B|T1|[NN_LR_PE]funcR2 … 86 … Add (t3-t0) to total time spent… 97 …uncR3(...) { t0: t_m_w:B|T1|[NN_LR_PE]funcR3 … 114 …uncR5(...) { t0: t_m_w:B|T1|[NN_LR_PC]funcR5 … 136 …time code t0: t_m_w:B|T1|[NN_LI_PC]prepareModel … 181 …time code t0: t_m_w:B|T1|[NN_LI_PC]prepareModel … 210 ... funcR5(...) { t0: t_m_w:B|T1|[NN_LR_PP]funcR5 … [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | CXADemangle.tcc | 809 const char* t0 = parse_number(first+2, last); in parse_function_param() local 810 if (t0 != last && *t0 == 'p') in parse_function_param() 812 ++t0; in parse_function_param() 813 const char* t = parse_cv_qualifiers(t0, last, cv); in parse_function_param() 2967 const char* t0 = first+2; in parse_unnamed_type_name() local 2968 if (t0 == last) in parse_unnamed_type_name() 2973 if (std::isdigit(*t0)) in parse_unnamed_type_name() 2975 const char* t1 = t0 + 1; in parse_unnamed_type_name() 2978 db.names.back().first.append(t0, t1); in parse_unnamed_type_name() 2979 t0 = t1; in parse_unnamed_type_name() [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_internal/ |
D | add_internal.mod.py | 27 t0 = Internal("t0", ("TENSOR_FLOAT32", [2])) variable 44 model.Operation("ADD", i2, t0, act).To(t1) 46 model.Operation("ADD", i0, i1, act).To(t0)
|
/frameworks/ml/nn/tools/test_generator/tests/P_internal/ |
D | add_internal.mod.py | 27 t0 = Internal("t0", ("TENSOR_FLOAT32", [2])) variable 44 model.Operation("ADD", i2, t0, act).To(t1) 46 model.Operation("ADD", i0, i1, act).To(t0)
|
D | stdout.txt.expect | 28 auto t0 = model->addOperand(&type0); 48 model->addOperation(ANEURALNETWORKS_ADD, {i0, i1, act}, {t0}); 49 model->addOperation(ANEURALNETWORKS_ADD, {i2, t0, act}, {t1});
|
/frameworks/ml/nn/tools/systrace_parser/parser/ |
D | aggregate.py | 70 t0 = 0.0 82 t0 += (ends[i] - begins[i]) 85 t0 += tracker_map[pid].get_stat(tag, app_phase, special_case_lr_pe) 87 times[app_phase][phase][layer] = zero_to_nan_if_missing(t0, phase, layer) 88 t += t0
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Control.cpp | 468 LVM_FLOAT t0; in LVPSA_BPSinglePrecCoefs() local 499 t0 = T0 ; in LVPSA_BPSinglePrecCoefs() 506 factor = (factor * t0) ; /* Calculate t0^n */ in LVPSA_BPSinglePrecCoefs() 586 LVM_FLOAT t0; in LVPSA_BPDoublePrecCoefs() local 617 t0 = T0; in LVPSA_BPDoublePrecCoefs() 624 factor = factor * t0; /* Calculate t0^n */ in LVPSA_BPDoublePrecCoefs()
|
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/ |
D | ScriptC_reduce_general_examples_explicit.java.expect | 302 Type t0, t1; 312 t0 = ain1.getType(); 314 if ((t0.getCount() != t1.getCount()) || 315 (t0.getX() != t1.getX()) || 316 (t0.getY() != t1.getY()) || 317 (t0.getZ() != t1.getZ()) || 318 (t0.hasFaces() != t1.hasFaces()) || 319 (t0.hasMipmaps() != t1.hasMipmaps())) {
|