Home
last modified time | relevance | path

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

123

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dmandelbrot.rs31 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.rs31 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.rs31 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/aacenc/src/
Dbit_cnt.c46 Word32 t0,t1,t2,t3,i; in count1_2_3_4_5_6_7_8_9_10_11() local
62 t2= values[i+2]; in count1_2_3_4_5_6_7_8_9_10_11()
67 bc1_2 = bc1_2 + EXPAND(huff_ltab1_2[t0+1][t1+1][t2+1][t3+1]); in count1_2_3_4_5_6_7_8_9_10_11()
71 bc5_6 = bc5_6 + EXPAND(huff_ltab5_6[t2+4][t3+4]); in count1_2_3_4_5_6_7_8_9_10_11()
75 t2=ABS(t2); in count1_2_3_4_5_6_7_8_9_10_11()
79 bc3_4 = bc3_4 + EXPAND(huff_ltab3_4[t0][t1][t2][t3]); in count1_2_3_4_5_6_7_8_9_10_11()
82 bc7_8 = bc7_8 + EXPAND(huff_ltab7_8[t2][t3]); in count1_2_3_4_5_6_7_8_9_10_11()
85 bc9_10 = bc9_10 + EXPAND(huff_ltab9_10[t2][t3]); in count1_2_3_4_5_6_7_8_9_10_11()
88 bc11 = bc11 + huff_ltab11[t2][t3]; in count1_2_3_4_5_6_7_8_9_10_11()
91 sc = sc + (t0>0) + (t1>0) + (t2>0) + (t3>0); in count1_2_3_4_5_6_7_8_9_10_11()
[all …]
/frameworks/native/opengl/libagl/arch-mips/
Dfixed_asm.S37 li $t2,0x8e
38 subu $t1,$t2,$t1 /* t1=127+15-e */
40 sll $t2,$a0,8 /* mantissa<<8 */
42 or $t2,$t2,$t3 /* add the missing 1 */
44 srl $v0,$t2,$t1
49 subu $t2,$zero,$v0
50 movn $v0,$t2,$t0 /* if negative? */
/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/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/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/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
Dmandelbrot.rs28 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/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_intra_prediction.c1390 u8 t1, t2; in Get4x4NeighbourPels() local
1408 t2 = left[y + 1]; in Get4x4NeighbourPels()
1410 l[2] = t2; in Get4x4NeighbourPels()
1412 t2 = left[y + 3]; in Get4x4NeighbourPels()
1414 l[4] = t2; in Get4x4NeighbourPels()
1419 t2 = data[y * 16 + x - 1 + 16]; in Get4x4NeighbourPels()
1421 l[2] = t2; in Get4x4NeighbourPels()
1423 t2 = data[y * 16 + x - 1 + 48]; in Get4x4NeighbourPels()
1425 l[4] = t2; in Get4x4NeighbourPels()
1432 t2 = above[x ]; in Get4x4NeighbourPels()
[all …]
Dh264bsd_deblocking.c2215 u32 t1, t2; in GetLumaEdgeThresholds() local
2218 t2 = bs[i][1]; in GetLumaEdgeThresholds()
2221 threshold[i][1] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
2222 t2 = bs[i][3]; in GetLumaEdgeThresholds()
2225 threshold[i][3] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
2226 t2 = bs[i][5]; in GetLumaEdgeThresholds()
2229 threshold[i][5] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
2230 t2 = bs[i][7]; in GetLumaEdgeThresholds()
2233 threshold[i][7] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
2234 t2 = bs[i][9]; in GetLumaEdgeThresholds()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DomxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s104 t2 RN 12 label
210 MVN t2, p_1
211 UHSUB8 t1, t1, t2
212 USUB8 t2, filt, m01
218 UHADD8 t2, q_0, p_1
220 UHSUB8 t2, t2, t3
223 EOR t2, t2, m01, LSL #7
224 SEL Q_0, t2, q_0
268 USUB8 t2, q_1, q_0
272 SSUB8 t1, t1, t2
DarmVCM4P10_DeblockingLuma_unsafe_s.s112 t2 RN 7 label
146 MUL tC0, t2, m01
148 USUB8 t2, q_1, q_0
149 SSUB8 t1, t1, t2
151 USUB8 t2, p_0, q_0
152 AND t2, t2, m01
153 SHSUB8 t1, t1, t2
155 SSUB8 t1, t1, t2
268 USUB8 t2, p_0, q_0
269 SSUB8 t5, t9, t2
[all …]
DomxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.s128 t2 RN 12 label
292 MVN t2, p_1
293 UHSUB8 t1, t1, t2
294 USUB8 t2, filt, m01
300 UHADD8 t2, q_0, p_1
302 UHSUB8 t2, t2, t3
305 EOR t2, t2, m01, LSL #7
306 SEL Q_0, t2, q_0
349 USUB8 t2, q_1, q_0
353 SSUB8 t1, t1, t2
/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/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/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java302 Class<?> t2 = o2.getType(); in parseStyleable()
303 if (t1.isArray() && !t2.isArray()) { in parseStyleable()
305 } else if (t2.isArray() && !t1.isArray()) { in parseStyleable()
398 Throwable t2 = t; in createSession()
399 while (t2.getCause() != null) { in createSession()
400 t2 = t.getCause(); in createSession()
403 ERROR_UNKNOWN.createResult(t2.getMessage(), t)); in createSession()
426 Throwable t2 = t; in renderDrawable()
427 while (t2.getCause() != null) { in renderDrawable()
428 t2 = t.getCause(); in renderDrawable()
[all …]
/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.java57 private final TestServiceType t2 = new TestServiceType("t2", "value2"); field in RegisteredServicesCacheTest
78 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesHappyPath()
90 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesReplaceUid()
96 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, SYSTEM_IMAGE_UID)); in testGetAllServicesReplaceUid()
112 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesServiceRemoved()
128 cache.addServiceForQuerying(U1, r2, newServiceInfo(t2, u1uid)); in testGetAllServicesMultiUser()
146 cache.addServiceForQuerying(U1, r2, newServiceInfo(t2, u1uid)); in testOnRemove()
180 cache.addServiceForQuerying(0, r2, newServiceInfo(t2, 2)); in testMigration()
/frameworks/native/opengl/libagl/
Dmatrix.h80 int32_t t1,t2,t3; in vsquare3()
95 : [res]"=&r"(res),[t1]"=&r"(t1),[t2]"=&r"(t2),[t3]"=&r"(t3) in vsquare3()
166 int32_t t1,t2; in mla3a()
177 : [res]"=&r"(res),[t1]"=&r"(t1),[t2]"=&r"(t2) in mla3a()
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java118 } catch (Throwable t2) { in uncaughtException()
119 if (t2 instanceof DeadObjectException) { in uncaughtException()
123 Clog_e(TAG, "Error reporting crash", t2); in uncaughtException()
339 } catch (Throwable t2) { in wtf()
340 if (t2 instanceof DeadObjectException) { in wtf()
343 Slog.e(TAG, "Error reporting WTF", t2); in wtf()

123