/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | ex_ctrl.cpp | 162 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 D | lsp_az.cpp | 200 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 D | az_lsp.cpp | 176 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 250 Word32 t0; local [all...] |
H A D | vad1.cpp | 1939 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 D | hp_max.cpp | 138 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 D | levinson.cpp | 482 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 register Word32 t0; /* temporary variable */ local [all...] |
H A D | p_ol_wgh.cpp | 45 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 D | pitch_ol.cpp | 205 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 D | isp_az.cpp | 144 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 D | LVEQNB_CalcCoef.c | 54 /* 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 D | isp_az.c | 49 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 D | levinson.c | 121 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 D | az_isp.c | 71 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 D | pitch_f4.c | 81 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 D | LVPSA_Control.c | 448 /* 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 D | bit_cnt.c | 46 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 D | transform.c | 114 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 D | armVCM4P10_DeblockingLuma_unsafe_s.s | 96 t0 RN 3 label 201 USUB8 t0, Q1a, max 203 USUB8 t0, Q1a, min 208 USUB8 t0, apflg, m01 210 USUB8 t0, aqflg, m01 317 SADD8 t0, t4, a 318 SHADD8 t9, t0, t9 323 SHADD8 t0, t0, a 325 SHADD8 a, t0, m0 [all...] |
H A D | omxVCM4P10_FilterDeblockingLuma_HorEdge_I_s.s | 114 t0 RN 3 label
|
H A D | omxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.s | 140 t0 RN 3 label 497 MOV t0, tunpk9, LSR #16 500 STRH t0,[pQ0a, #2] ;//Stores [r0q0 r0q1] 503 MOV t0, tunpk3, LSR #16 506 STRH t0,[pQ0a, #2] ;//Stores [r1q0 r1q1]
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 331 float t0, const SkPoint &p0, float t1, const SkPoint &p1, 333 midT = (t1 + t0) / 2; 330 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 D | primitives.cpp | 695 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 D | texture.cpp | 728 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/rs/cpu_ref/ |
H A D | rsCpuIntrinsics_x86.c | 762 __m128i t0, t1, t2, t3; local 776 t0 = _mm_unpacklo_epi8(out0, _mm_setzero_si128()); 777 t0 = _mm_mullo_epi16(t0, _mm_sub_epi16(all1s, ina)); 778 t0 = _mm_srai_epi16(t0, 8); 779 t0 = _mm_add_epi16(t0, ins); 805 t0 = _mm_packus_epi16(t0, t 818 __m128i t0, t1, t2, t3; local 875 __m128i t0, t1, t2, t3; local 925 __m128i t0, t1, t2, t3; local 975 __m128i t0, t1, t2, t3; local 1027 __m128i t0, t1, t2, t3; local 1080 __m128i t0, t1, t2, t3; local 1151 __m128i t0, t1, t2, t3; local 1241 __m128i t0, t1, t2, t3; local [all...] |