Searched defs:t0 (Results 1 - 25 of 26) sorted by relevance

12

/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/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...]
H A Dvad1.cpp1939 t0 -- Word32 -- autocorrelation maxima
2001 Word32 t0, /* i : autocorrelation maxima */
2008 if (t0 > TONE_THR * t1)
2013 if ((temp > 0) && (L_msu(t0, temp, TONE_THR, pOverflow) > 0))
1999 vad_tone_detection( vadState1 *st, Word32 t0, Word32 t1, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
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 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 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...]
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...]
/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/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_CalcCoef.c54 /* t0 = 2 * Pi * Fc / Fs */
58 /* b2 = -0.5 * (2Q - D * t0) / (2Q + D * t0) */
59 /* b1 = (0.5 - b2) * (1 - coserr(t0)) */
69 /* the cosine of t0 is always close to 1.0. Instead of calculating the cosine */
111 LVM_INT16 t0; local
138 * CosErr += coef(n) * t0^n For n = 0 to 4
141 t0 = (LVM_INT16)(T0 >> 16);
148 factor = (factor * t0) >> 15; /* Calculate t0
242 LVM_INT16 t0; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
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 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 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/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Control.c448 /* t0 = 2 * Pi * Fc / Fs */
450 /* b2 = -0.5 * (2Q - t0) / (2Q + t0) */
451 /* b1 = (0.5 - b2) * cos(t0) */
486 LVM_INT16 t0; local
516 * Cos += coef(n) * t0^n For n = 0 to 6
519 t0 = (LVM_INT16)(T0 >> 16);
526 factor = (factor * t0) >> 15; /* Calculate t0^n */
531 B1 = ((0x40000000 - B2) >> 16) * (COS_T0 >> 16); /* B1 = (0.5 - b2) * cos(t0) */
609 LVM_INT16 t0; local
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbit_cnt.c46 Word32 t0,t1,t2,t3,i; local
60 t0= values[i+0];
67 bc1_2 = bc1_2 + EXPAND(huff_ltab1_2[t0+1][t1+1][t2+1][t3+1]);
70 bc5_6 = bc5_6 + EXPAND(huff_ltab5_6[t0+4][t1+4]);
73 t0=ABS(t0);
79 bc3_4 = bc3_4 + EXPAND(huff_ltab3_4[t0][t1][t2][t3]);
81 bc7_8 = bc7_8 + EXPAND(huff_ltab7_8[t0][t1]);
84 bc9_10 = bc9_10 + EXPAND(huff_ltab9_10[t0][t1]);
87 bc11 = bc11 + huff_ltab11[t0][t
122 Word32 t0,t1,t2,t3, i; local
197 Word32 t0,t1,i; local
253 Word32 t0,t1, i; local
302 Word32 t0,t1,i; local
349 Word32 t0,t1,i; local
390 Word32 t0,t1,t00,t01,i; local
498 Word32 i, t0, t1, t2, t3, t00, t01; local
[all...]
H A Dtransform.c114 int t0, t1, t2, t3; local
145 t0 = (r0 + r2) >> 1;
150 buf[ 0] = r4 + t0;
152 buf[ 8] = r4 - t0;
164 t0 = MULHIGH(SQRT1_2, r0 - i0);
169 buf[ 6] = r6 - t0;
171 buf[14] = r6 + t0;
192 int t0, t1; local
212 t0 = xptr[0];
216 r2 = MULHIGH(cosx, t0)
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_DeblockingLuma_unsafe_s.s110 t0 RN 3 label
215 USUB8 t0, Q1a, max
217 USUB8 t0, Q1a, min
222 USUB8 t0, apflg, m01
224 USUB8 t0, aqflg, m01
331 SADD8 t0, t4, a
332 SHADD8 t9, t0, t9
337 SHADD8 t0, t0, a
339 SHADD8 a, t0, m0
[all...]
H A DomxVCM4P10_FilterDeblockingLuma_HorEdge_I_s.s128 t0 RN 3 label
H A DomxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.s154 t0 RN 3 label
511 MOV t0, tunpk9, LSR #16
514 STRH t0,[pQ0a, #2] ;//Stores [r0q0 r0q1]
517 MOV t0, tunpk3, LSR #16
520 STRH t0,[pQ0a, #2] ;//Stores [r1q0 r1q1]
/frameworks/base/tools/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/base/core/jni/android/graphics/
H A DPath.cpp323 float t0, const SkPoint &p0, float t1, const SkPoint &p1,
325 midT = (t1 + t0) / 2;
322 subdividePoints(const SkPoint* points, bezierCalculation bezierFunction, float t0, const SkPoint &p0, float t1, const SkPoint &p1, float& midT, SkPoint &midPoint, float errorSquared) argument
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp695 int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2)
707 int32_t texelArea = abs( gglMulx(s1-s0, t2-t0, shift) -
708 gglMulx(s2-s0, t1-t0, shift) )*w*h;
727 int32_t t0 = v0->texture[i].T; local
735 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2);
749 t0 *= height;
754 itt[7] = -lerp.iteratorsScale(itt+3, t0, t1, t2);
784 int32_t t0 = v0->texture[i].T; local
792 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2);
806 t0 *
694 compute_lod(ogles_context_t* c, int i, int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2) argument
[all...]
H A Dtexture.cpp728 int32_t t0 = (Vcr+Hcr) - gglMulx(dtdy, y); // t0 = (Vcr+Hcr) - y*dtdy local
732 texcoords[3] = t0;
805 const GLint t0 = (Vcr + Hcr) - y; local
809 if ((uint32_t(s0+x+w) > tw) || (uint32_t(t0+y+h) > th)) {
818 c->rasterizer.procs.texCoord2i(c, s0, t0);
/frameworks/av/media/libstagefright/
H A DUtils.cpp1693 bool operator <(const HLSTime &t0, const HLSTime &t1) { argument
1697 return t0.mSeq < t1.mSeq
1698 || (t0.mSeq == t1.mSeq && t0.mTimeUs < t1.mTimeUs);

Completed in 2765 milliseconds

12