Searched refs:t0 (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dlevinson.c121 Word32 t0, t1, t2; /* temporary variable */ local
132 t0 = Div_32(t2, Rh[0], Rl[0]); /* R[1]/R[0] in Q31 */
134 t0 = -t0; /* -R[1]/R[0] */
136 Kh = t0 >> 16;
137 Kl = (t0 & 0xffff)>>1;
139 t0 = (t0 >> 4); /* A[1] in Q27 */
141 Ah[1] = t0 >> 16;
142 Al[1] = (t0
[all...]
H A Daz_isp.c71 Word32 t0; local
89 t0 = a[i] << 15;
90 f1[i] = vo_round(t0 + (a[M - i] << 15)); /* =(a[i]+a[M-i])/2 */
91 f2[i] = vo_round(t0 - (a[M - i] << 15)); /* =(a[i]-a[M-i])/2 */
155 t0 = x * y;
156 t0 = (t0 >> (19 - exp));
157 y = vo_extract_l(t0); /* y= (xhigh-xlow)/(yhigh-ylow) in Q11 */
160 t0 = ylow * y; /* result in Q26 */
161 t0
218 Word32 t0; local
[all...]
H A Disp_az.c49 Word32 t0; local
94 t0 = Mpy_32_16(hi, lo, isp[m - 1]);
95 f1[i] = vo_L_add(f1[i], t0);
101 t0 = Mpy_32_16(hi, lo, isp[m - 1]);
102 f2[i] = vo_L_sub(f2[i], t0);
117 t0 = vo_L_add(f1[i], f2[i]); /* f1[i] + f2[i] */
118 tmax |= L_abs(t0);
119 a[i] = (Word16)(vo_L_shr_r(t0, 12)); /* from Q23 to Q12 and * 0.5 */
123 t0 = vo_L_sub(f1[i], f2[i]); /* f1[i] - f2[i] */
124 tmax |= L_abs(t0);
189 Word32 i, j, t0; local
220 Word32 i, j, t0; local
[all...]
H A Dpitch_f4.c81 Word16 max, t0, step, temp; local
100 t0 = t0_min;
106 t0 = i;
109 /* If first subframe and t0 >= t0_fr1, do not search fractionnal pitch */
110 if ((i_subfr == 0) && (t0 >= t0_fr1))
113 return (t0);
117 * Test the fractions around t0 and choose the one which maximizes *
123 if ((t0_fr2 == PIT_MIN)||((i_subfr == 0) && (t0 >= t0_fr2)))
128 if(t0 == t0_min)
132 max = Interpol_4(&corr[t0], fractio
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_az.cpp144 int32 t0; local
189 t0 = f1[i];
191 t0 = fxp_mul32_by_16b(t0, isp[m - 1]) << 1;
193 f1[i] += t0;
211 t0 = add_int32(f1[i], f2[i]); /* f1[i] + f2[i] */
212 /* compute t1 = abs(t0) */
213 t1 = t0 - (t0 < 0);
218 a[i] = (int16)((t0 >> 1
337 int32 t0; local
374 int32 t0; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dlevinson.cpp482 Word32 t0, t1, t2; // temporary variable
488 t0 = Div_32 (t2, Rh[0], Rl[0]); // R[1]/R[0]
490 t0 = L_negate (t0); // -R[1]/R[0]
491 L_Extract (t0, &Kh, &Kl); // K in DPF
493 rc[0] = pv_round (t0);
495 t0 = L_shr (t0, 4); // A[1] in
496 L_Extract (t0, &Ah[1], &Al[1]); // A[1] in DPF
500 t0
654 Word32 t0; /* temporary variable */ local
[all...]
H A Dhp_max.cpp138 Word32 max, t0, t1;
143 t0 = 0L;
151 t0 = L_sub (L_sub(L_shl(corr[-i], 1), corr[-i-1]), corr[-i+1]);
152 t0 = L_abs (t0);
154 if (L_sub (t0, max) >= 0)
156 max = t0;
163 t0 = 0L;
166 t0 = L_mac (t0, *
249 Word32 max, t0, t1; local
[all...]
H A Dpitch_ol.cpp205 Word32 max, t0;
223 t0 = 0;
227 t0 = L_mac (t0, *p, *p);
235 *r0 = t0;
238 vad_tone_detection (vadSt, max, t0);
242 t0 = Inv_sqrt (t0);
246 t0 = L_shl (t0,
326 Word32 t0; local
961 Word32 t0; local
[all...]
H A Dp_ol_wgh.cpp45 Description: t0 was not being declared as Word32.
482 Word32 max, t0;
496 t0 = corr[-i];
500 t0 = Mpy_32_16 (t0_h, t0_l, *ww);
504 L_Extract (t0, &t0_h, &t0_l);
505 t0 = Mpy_32_16 (t0_h, t0_l, *we);
509 if (L_sub (t0, max) >= 0)
511 max = t0;
518 t0 = 0;
523 t0
591 Word32 t0; local
878 Word32 t0; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dex_ctrl.cpp162 Word32 t0; local
194 t0 = L_mult(avgEnergy, excEnergy, pOverflow);
195 t0 = L_shr(t0, sub(20, exp, pOverflow), pOverflow);
196 /* const=30 for t0 in Q0, 20 for Q10 */
197 if (t0 > 32767)
199 t0 = 32767; /* saturate */
201 scaleFactor = extract_l(t0);
212 t0 = L_mult(scaleFactor, excitation[i], pOverflow);
213 t0
[all...]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptC_reduce_general_inputs.java.expect160 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
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp_az.cpp200 Word32 t0;
216 t0 = Mpy_32_16 (hi, lo, *lsp); // t0 = f[-1] * lsp
217 t0 = L_shl (t0, 1);
219 *f = L_sub (*f, t0); // *f -= t0
262 Word32 t0; local
280 t0 = ((Word32)hi * *lsp);
281 t0
519 Word32 t0; local
[all...]
H A Daz_lsp.cpp176 Word32 t0;
186 t0 = L_mult (x, 512); // 2*x
187 t0 = L_mac (t0, f[1], 8192); // + f[1]
188 L_Extract (t0, &b1_h, &b1_l); // b1 = 2*x + f[1]
192 t0 = Mpy_32_16 (b1_h, b1_l, x); // t0 = 2.0*x*b1
193 t0 = L_shl (t0, 1);
194 t0
252 Word32 t0; local
[all...]
/frameworks/compile/slang/tests/P_reflection3264_divergent/
H A DScriptC_reflection3264_divergent.java.expect282 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
[all...]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
H A DScriptC_reflection3264_divergent.java.expect279 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
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DCachedPathIteratorFactory.java128 private static void quadCurveSegment(float[] coords, float t0, float t1) { argument
130 float mt = t0 + (t1 - t0) / 2;
135 float u0 = 1 - t0;
138 // coords at t0
139 coords[0] = coords[0] * u0 * u0 + coords[2] * 2 * t0 * u0 + coords[4] * t0 * t0;
140 coords[1] = coords[1] * u0 * u0 + coords[3] * 2 * t0 * u0 + coords[5] * t0 * t
151 cubicCurveSegment(float[] coords, float t0, float t1) argument
[all...]
/frameworks/native/opengl/libagl/arch-mips/
H A Dfixed_asm.S34 srl $t0,$a0,31 /* t0 <- sign bit */
50 movn $v0,$t2,$t0 /* if negative? */
59 movz $v0,$t1,$t0 /* positive, maximum value */
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
H A DSortedListActivity.java82 public int compare(Item t0, Item t1) {
83 if (t0.mIsDone != t1.mIsDone) {
84 return t0.mIsDone ? 1 : -1;
86 int txtComp = t0.mText.compareTo(t1.mText);
90 if (t0.id < t1.id) {
92 } else if (t0.id > t1.id) {
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
H A DSortedListActivity.java82 public int compare(Item t0, Item t1) {
83 if (t0.mIsDone != t1.mIsDone) {
84 return t0.mIsDone ? 1 : -1;
86 int txtComp = t0.mText.compareTo(t1.mText);
90 if (t0.id < t1.id) {
92 } else if (t0.id > t1.id) {
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_x86.cpp763 __m128i t0, t1, t2, t3; local
777 t0 = _mm_unpacklo_epi8(out0, _mm_setzero_si128());
778 t0 = _mm_mullo_epi16(t0, _mm_sub_epi16(all1s, ina));
779 t0 = _mm_srli_epi16(t0, 8);
780 t0 = _mm_add_epi16(t0, ins);
806 t0 = _mm_packus_epi16(t0, t
819 __m128i t0, t1, t2, t3; local
876 __m128i t0, t1, t2, t3; local
926 __m128i t0, t1, t2, t3; local
976 __m128i t0, t1, t2, t3; local
1028 __m128i t0, t1, t2, t3; local
1081 __m128i t0, t1, t2, t3; local
1152 __m128i t0, t1, t2, t3; local
1242 __m128i t0, t1, t2, t3; local
[all...]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
H A DScriptC_reduce_general_examples_explicit.java.expect302 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())) {
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_CalcCoef.c56 /* t0 = 2 * Pi * Fc / Fs */
60 /* b2 = -0.5 * (2Q - D * t0) / (2Q + D * t0) */
61 /* b1 = (0.5 - b2) * (1 - coserr(t0)) */
71 /* the cosine of t0 is always close to 1.0. Instead of calculating the cosine */
114 LVM_INT16 t0; local
141 * CosErr += coef(n) * t0^n For n = 0 to 4
144 t0 = (LVM_INT16)(T0 >> 16);
151 factor = (factor * t0) >> 15; /* Calculate t0
305 LVM_INT16 t0; local
[all...]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Control.c510 /* t0 = 2 * Pi * Fc / Fs */
512 /* b2 = -0.5 * (2Q - t0) / (2Q + t0) */
513 /* b1 = (0.5 - b2) * cos(t0) */
549 LVM_FLOAT t0; local
578 * Cos += coef(n) * t0^n For n = 0 to 6
581 t0 = T0 ;
588 factor = (factor * t0) ; /* Calculate t0^n */
593 B1 = ((LVM_FLOAT)0.5 - B2) * (COS_T0); /* B1 = (0.5 - b2) * cos(t0) */
629 LVM_INT16 t0; local
753 LVM_FLOAT t0; local
836 LVM_INT16 t0; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dvad1.h163 Word32 t0, /* i : autocorrelation maxima */
/frameworks/compile/slang/tests/P_reduce_general_examples/
H A DScriptC_reduce_general_examples.java.expect307 Type t0, t1;
317 t0 = ain1.getType();
319 if ((t0.getCount() != t1.getCount()) ||
320 (t0.getX() != t1.getX()) ||
321 (t0.getY() != t1.getY()) ||
322 (t0.getZ() != t1.getZ()) ||
323 (t0.hasFaces() != t1.hasFaces()) ||
324 (t0.hasMipmaps() != t1.hasMipmaps())) {

Completed in 1700 milliseconds

12