Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dlevinson.c121 Word32 t0, t1, t2; /* temporary variable */ in Levinson() local
131 t2 = L_abs(t1); /* abs R[1] */ in Levinson()
132 t0 = Div_32(t2, Rh[0], Rl[0]); /* R[1]/R[0] in Q31 */ in Levinson()
177 t2 = Div_32(t1, alp_h, alp_l); /* abs(t0)/Alpha */ in Levinson()
179 t2 = -t2; /* K =-t0/Alpha */ in Levinson()
180 t2 = (t2 << alp_exp); /* denormalize; compare to Alpha */ in Levinson()
182 Kh = t2 >> 16; in Levinson()
183 Kl = (t2 & 0xffff)>>1; in Levinson()
210 t2 = (t2 >> 4); /* t2 = K in Q31 ->convert to Q27 */ in Levinson()
212 VO_L_Extract(t2, &Anh[i], &Anl[i]); /* An[i] in Q27 */ in Levinson()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBounceInterpolator.java34 float t2 = t - 6f / 11f; in getInterpolation() local
35 return SCALE_FACTOR * t2 * t2 + 3f / 4f; in getInterpolation()
37 float t2 = t - 9f / 11f; in getInterpolation() local
38 return SCALE_FACTOR * t2 * t2 + 15f / 16f; in getInterpolation()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dmandelbrot.rscript31 float2 t2 = t * t;
33 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) {
34 float xtemp = t2.x - t2.y + p.x;
38 t2 = t * t;
63 double2 t2 = t * t;
65 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) {
66 double xtemp = t2.x - t2.y + p.x;
70 t2 = t * t;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dmandelbrot.rscript31 float2 t2 = t * t;
33 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) {
34 float xtemp = t2.x - t2.y + p.x;
38 t2 = t * t;
63 double2 t2 = t * t;
65 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) {
66 double xtemp = t2.x - t2.y + p.x;
70 t2 = t * t;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dmandelbrot.rscript31 float2 t2 = t * t;
33 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) {
34 float xtemp = t2.x - t2.y + p.x;
38 t2 = t * t;
63 double2 t2 = t * t;
65 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) {
66 double xtemp = t2.x - t2.y + p.x;
70 t2 = t * t;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dlevinson.cpp656 Word32 t2; /* temporary variable */ in Levinson() local
670 t2 = L_abs(t1); /* abs R[1] - required by Div_32 */ in Levinson()
671 t0 = Div_32(t2, *Rh, *Rl, pOverflow); /* R[1]/R[0] */ in Levinson()
739 t2 = Div_32(t1, alp_h, alp_l, pOverflow); /* abs(t0)/Alpha */ in Levinson()
743 t2 = L_negate(t2); /* K =-t0/Alpha */ in Levinson()
746 t2 = L_shl(t2, alp_exp, pOverflow); /* denormalize; compare to Alpha */ in Levinson()
747 Kh = (Word16)(t2 >> 16); in Levinson()
748 Kl = (Word16)((t2 >> 1) - ((Word32)(Kh) << 15)); in Levinson()
752 *(rc + i - 1) = (Word16)((t2 + 0x00008000L) >> 16); in Levinson()
782 *(p_Anh) = (Word16)(t2 >> 20); in Levinson()
[all …]
Dcalc_cor.cpp228 Word32 t2; in comp_corr() local
238 t2 = 0; in comp_corr()
249 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); in comp_corr()
254 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); in comp_corr()
260 *(corr++) = t2 << 1; in comp_corr()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp763 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendSrcOver_K() local
793 t2 = _mm_unpacklo_epi8(out1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
794 t2 = _mm_mullo_epi16(t2, _mm_sub_epi16(all1s, ina)); in rsdIntrinsicBlendSrcOver_K()
795 t2 = _mm_srli_epi16(t2, 8); in rsdIntrinsicBlendSrcOver_K()
796 t2 = _mm_add_epi16(t2, ins); in rsdIntrinsicBlendSrcOver_K()
807 t2 = _mm_packus_epi16(t2, t3); in rsdIntrinsicBlendSrcOver_K()
809 _mm_storeu_si128((__m128i *)dst + 1, t2); in rsdIntrinsicBlendSrcOver_K()
819 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendDstOver_K() local
850 t2 = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
851 t2 = _mm_mullo_epi16(t2, _mm_sub_epi16(all1s, outa)); in rsdIntrinsicBlendDstOver_K()
[all …]
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
Dmandelbrot.rscript28 float2 t2 = t * t;
30 while((t2.x + t2.y < 4.f) && (iteration < gMaxIteration)) {
31 float xtemp = t2.x - t2.y + p.x;
35 t2 = t * t;
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt47 "funcA1); t2: t_m_w:E|T1
48 … t3: t_m_w:E|T1 Add (t2-t1) to total time sp…
70 ... t2: t_m_w:E|T1
71 … t3: t_m_w:E|T1 Add (t2-t1) to total time sp…
74 … (t3-t2 treated as negligible - only the
82 … t0: t_m_w:B|T1|[NN_LR_PE]funcR2 Add (t2-t1) to total time sp…
84 …"funcR2); t2: t_m_w:E|T1 total…
99 "funcR3); t2: t_m_w:E|T1
116 …"funcR5"); t2: t_m_w:B|T1|HIDL::IDevice::getCapabilities::client "Onet…
138 … ... t2: t_m_w:B|T2|HIDL::IDevice::prepareModel_1_1::server
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dortho.h13 const T t2 = static_cast<T>(2); in OrthoMatrix() local
14 const T a = t2 / (right - left); in OrthoMatrix()
15 const T b = t2 / (top - bottom); in OrthoMatrix()
16 const T c = t2 / (zfar - znear); in OrthoMatrix()
/frameworks/av/include/media/
DInterpolator.h100 const S t2 = t * t; in findY() local
103 + (std::get<1>(memo) + std::get<2>(memo) * t) * t2; in findY()
174 const S t2 = t * t; in findY() local
185 return c0 + c1 * t + (c2 + c3 * t) * t2; in findY()
188 const S t3 = t2 * t; in findY()
189 const S h00 = 2 * t3 - 3 * t2 + 1; in findY()
190 const S h10 = t3 - 2 * t2 + t ; in findY()
191 const S h01 = -2 * t3 + 3 * t2 ; in findY()
192 const S h11 = t3 - t2 ; in findY()
/frameworks/base/cmds/statsd/tests/utils/
DMultiConditionTrigger_test.cpp36 string t1 = "t1", t2 = "t2", t3 = "t3", t4 = "t4", t5 = "t5"; in TEST() local
37 set<string> conditionNames = {t1, t2, t3, t4, t5}; in TEST()
99 string t1 = "t1", t2 = "t2"; in TEST() local
100 set<string> conditionNames = {t1, t2}; in TEST()
123 trigger.markComplete(t2); in TEST()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java256 TextView t2 = new TextView(context); in doubleText() local
257 t2.setHeight(desiredHeight); in doubleText()
258 t2.setText(text); in doubleText()
259 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
265 ll.addView(t2, lp2); in doubleText()
282 TextView t2 = (TextView) ((LinearLayout) convertView).getChildAt(1); in convertDoubleText() local
284 t2.setText(text); in convertDoubleText()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java117 long t2 = java.lang.System.currentTimeMillis(); in runBenchmarkLoop() local
118 r.totalTime += (t2 - t) / 1000.f; in runBenchmarkLoop()
119 t = t2; in runBenchmarkLoop()
124 long t2 = java.lang.System.currentTimeMillis(); in runBenchmarkLoop() local
125 r.totalTime += (t2 - t) / 1000.f; in runBenchmarkLoop()
126 t = t2; in runBenchmarkLoop()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderDeathDispatcherTest.java138 MyTarget t2 = new MyTarget(); in testRegisterAndUnregister() local
171 assertThat(d.linkToDeath(t2, r1)).isEqualTo(1); in testRegisterAndUnregister()
178 assertThat(t2.hasDeathRecipient()).isTrue(); in testRegisterAndUnregister()
186 assertThat(t2.hasDeathRecipient()).isTrue(); in testRegisterAndUnregister()
201 MyTarget t2 = new MyTarget(); in testRegisterAndKill() local
220 d.linkToDeath(t2, r1); in testRegisterAndKill()
240 t2.die(); in testRegisterAndKill()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java291 Class<?> t2 = o2.getType(); in parseStyleable()
292 if (t1.isArray() && !t2.isArray()) { in parseStyleable()
294 } else if (t2.isArray() && !t1.isArray()) { in parseStyleable()
390 Throwable t2 = t; in createSession()
391 while (t2.getCause() != null) { in createSession()
392 t2 = t2.getCause(); in createSession()
395 ERROR_UNKNOWN.createResult(t2.getMessage(), t)); in createSession()
418 Throwable t2 = t; in renderDrawable()
419 while (t2.getCause() != null) { in renderDrawable()
420 t2 = t.getCause(); in renderDrawable()
[all …]
/frameworks/ml/nn/tools/test_generator/tests/P_vts_internal/
Dadd_internal.mod.py29 t2 = Internal("t2", ("TENSOR_FLOAT32", [2])) variable
48 model.Operation("ADD", t2, i5, act).To(t3)
50 model.Operation("ADD", i3, i4, act).To(t2)
/frameworks/ml/nn/tools/test_generator/tests/P_internal/
Dadd_internal.mod.py29 t2 = Internal("t2", ("TENSOR_FLOAT32", [2])) variable
48 model.Operation("ADD", t2, i5, act).To(t3)
50 model.Operation("ADD", i3, i4, act).To(t2)
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java262 float t2 = (i - m[k].mPos) / dist; in buildMaterialProp() local
263 float t1 = 1 - t2; in buildMaterialProp()
266 int red = (int) (m[k].mRed * t1 + m[k + 1].mRed * t2); in buildMaterialProp()
267 int green = (int) (m[k].mGreen * t1 + m[k + 1].mGreen * t2); in buildMaterialProp()
268 int blue = (int) (m[k].mBlue * t1 + m[k + 1].mBlue * t2); in buildMaterialProp()
270 float diffuse = m[k].mDiffuse * t1 + m[k + 1].mDiffuse * t2; in buildMaterialProp()
271 float specular = m[k].mSpecular * t1 + m[k + 1].mSpecular * t2; in buildMaterialProp()
272 float ambient = m[k].mAmbient * t1 + m[k + 1].mAmbient * t2; in buildMaterialProp()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java60 private final TestServiceType t2 = new TestServiceType("t2", "value2"); field in RegisteredServicesCacheTest
81 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesHappyPath()
93 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesReplaceUid()
99 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, SYSTEM_IMAGE_UID)); in testGetAllServicesReplaceUid()
115 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesServiceRemoved()
131 cache.addServiceForQuerying(U1, r2, newServiceInfo(t2, u1uid)); in testGetAllServicesMultiUser()
149 cache.addServiceForQuerying(U1, r2, newServiceInfo(t2, u1uid)); in testOnRemove()
183 cache.addServiceForQuerying(0, r2, newServiceInfo(t2, 2)); in testMigration()
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java91 Thread t2 = new aThread(); in topMethod() local
92 t2.start(); in topMethod()
97 t2.join(); in topMethod()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java116 long t2 =0; in getCurrentPosition() local
127 t2=SystemClock.uptimeMillis(); in getCurrentPosition()
134 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition()
141 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition()
175 long t2 =0; in setLooping() local
189 t2=SystemClock.uptimeMillis(); in setLooping()
195 Log.v(TAG, "looping position " + currentPosition + "duration = " + (t2-t1)); in setLooping()
203 if ((currentPosition < ((t2-t1-5000)*1.2)) && currentPosition > 0) in setLooping()
214 long t2=0; in pause() local
224 t2=SystemClock.uptimeMillis(); in pause()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java160 } catch (Throwable t2) { in uncaughtException()
161 if (t2 instanceof DeadObjectException) { in uncaughtException()
165 Clog_e(TAG, "Error reporting crash", t2); in uncaughtException()
469 } catch (Throwable t2) { in wtf()
470 if (t2 instanceof DeadObjectException) { in wtf()
473 Slog.e(TAG, "Error reporting WTF", t2); in wtf()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMainActivity.java231 long t2 = result.timingsNew.get(i).second.longValue(); in onPostExecute() local
233 formatter.format(t2) + ":" + in onPostExecute()
234 String.format("%.02f", (double) t1 / t2) + "\n"); in onPostExecute()
236 sum2 += t2; in onPostExecute()

123