Home
last modified time | relevance | path

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

12

/frameworks/rs/java/tests/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/rs/java/tests/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/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/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/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/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/av/media/libstagefright/codecs/amrnb/enc/src/
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()
Dlevinson.cpp656 register 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 …]
/frameworks/rs/java/tests/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/rs/cpu_ref/
DrsCpuIntrinsics_x86.c762 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendSrcOver_K() local
792 t2 = _mm_unpacklo_epi8(out1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
793 t2 = _mm_mullo_epi16(t2, _mm_sub_epi16(all1s, ina)); in rsdIntrinsicBlendSrcOver_K()
794 t2 = _mm_srai_epi16(t2, 8); in rsdIntrinsicBlendSrcOver_K()
795 t2 = _mm_add_epi16(t2, ins); in rsdIntrinsicBlendSrcOver_K()
806 t2 = _mm_packus_epi16(t2, t3); in rsdIntrinsicBlendSrcOver_K()
808 _mm_storeu_si128((__m128i *)dst + 1, t2); in rsdIntrinsicBlendSrcOver_K()
818 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendDstOver_K() local
849 t2 = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
850 t2 = _mm_mullo_epi16(t2, _mm_sub_epi16(all1s, outa)); in rsdIntrinsicBlendDstOver_K()
[all …]
/frameworks/rs/java/tests/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;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DomxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s90 t2 RN 12 label
196 MVN t2, p_1
197 UHSUB8 t1, t1, t2
198 USUB8 t2, filt, m01
204 UHADD8 t2, q_0, p_1
206 UHSUB8 t2, t2, t3
209 EOR t2, t2, m01, LSL #7
210 SEL Q_0, t2, q_0
254 USUB8 t2, q_1, q_0
258 SSUB8 t1, t1, t2
DarmVCM4P10_DeblockingLuma_unsafe_s.s98 t2 RN 7 label
132 MUL tC0, t2, m01
134 USUB8 t2, q_1, q_0
135 SSUB8 t1, t1, t2
137 USUB8 t2, p_0, q_0
138 AND t2, t2, m01
139 SHSUB8 t1, t1, t2
141 SSUB8 t1, t1, t2
254 USUB8 t2, p_0, q_0
255 SSUB8 t5, t9, t2
[all …]
DomxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.s114 t2 RN 12 label
278 MVN t2, p_1
279 UHSUB8 t1, t1, t2
280 USUB8 t2, filt, m01
286 UHADD8 t2, q_0, p_1
288 UHSUB8 t2, t2, t3
291 EOR t2, t2, m01, LSL #7
292 SEL Q_0, t2, q_0
335 USUB8 t2, q_1, q_0
339 SSUB8 t1, t1, t2
DomxVCM4P10_FilterDeblockingLuma_HorEdge_I_s.s116 t2 RN 14 label
220 USUB8 t2, q_0, q_2
221 SEL t2, t2, dq2q0
222 USUB8 t2, t2, beta
DomxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.s142 t2 RN 14 label
317 USUB8 t2, q_0, q_2
318 SEL t2, t2, dq2q0
319 USUB8 t2, t2, beta
/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/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/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java108 long t2 =0; in getCurrentPosition() local
119 t2=SystemClock.uptimeMillis(); in getCurrentPosition()
126 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition()
133 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition()
167 long t2 =0; in setLooping() local
181 t2=SystemClock.uptimeMillis(); in setLooping()
187 Log.v(TAG, "looping position " + currentPosition + "duration = " + (t2-t1)); in setLooping()
195 if ((currentPosition < ((t2-t1-5000)*1.2)) && currentPosition > 0) in setLooping()
206 long t2=0; in pause() local
216 t2=SystemClock.uptimeMillis(); in pause()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java90 Thread t2 = new aThread(); in topMethod() local
91 t2.start(); in topMethod()
96 t2.join(); in topMethod()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java342 Throwable t2 = t; in createSession()
343 while (t2.getCause() != null) { in createSession()
344 t2 = t.getCause(); in createSession()
347 ERROR_UNKNOWN.createResult(t2.getMessage(), t)); in createSession()
370 Throwable t2 = t; in renderDrawable()
371 while (t2.getCause() != null) { in renderDrawable()
372 t2 = t.getCause(); in renderDrawable()
374 return ERROR_UNKNOWN.createResult(t2.getMessage(), t); in renderDrawable()
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c136 int t1, t2; in main() local
257 t2 = clock(); in main()
258 total += t2 - t1; in main()
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java91 } catch (Throwable t2) { in uncaughtException()
93 Clog_e(TAG, "Error reporting crash", t2); in uncaughtException()
349 } catch (Throwable t2) { in wtf()
350 Slog.e(TAG, "Error reporting WTF", t2); in wtf()

12