Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dresidu_asm_opt.s25 @y[] --- r2
72 MOV r0, r2
78 LDR r2, [r1], #-4 @r2 --- x[1], x[0]
80 SMULTB r3, r5, r2 @i1(0) --- r3 = x[0] * a0
81 SMULTT r4, r5, r2 @i2(0) --- r4 = x[1] * a0
85 SMLABB r4, r5, r2, r4 @i2(1) --- r4 += x[0] * a1
86 SMLABT r11, r5, r2, r11 @i3(1) --- r11 += x[1] * a0
89 SMLATB r11, r6, r2, r11 @i3(2) --- r11 += x[0] * a2
90 SMLATT r12, r6, r2, r12 @i4(2) --- r12 += x[1] * a2
91 SMLABB r12, r6, r2, r12 @i4(3) --- r12 += x[0] * a3
[all …]
Dcor_h_vec_opt.s27 @r2 ---- track
41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track]
44 @r0 --- h[], r1 --- vec[], r2 --- pos
49 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
51 RSB r11, r2, #62 @j=62-pos
71 ADD r9, r3, r2, LSL #1 @address of sign[pos]
90 ADD r2, r2, #4
94 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
96 RSB r11, r2, #62 @j=62-pos
118 ADD r9, r3, r2, LSL #1 @address of sign[pos]
[all …]
Dpred_lt4_1_opt.s29 @ r2 --- frac
41 RSB r2, r2, #0 @frac = -frac
43 CMP r2, #0
44 ADDLT r2, r2, #4 @frac += UP_SAMP
47 RSB r4, r2, #3 @k = 3 - frac
63 MOV r2, r8 @ptr = ptr2
64 LDR r3, [r2], #4 @h[0], h[1]
78 LDR r3, [r2], #4 @h[2], h[3]
89 LDR r3, [r2], #4 @h[4], h[5]
100 LDR r3, [r2], #4 @h[6], h[7]
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
Dpvmp3_polyphase_filter_window_gcc.s47 stmfd sp!,{r0-r2,r4-r11,lr}
50 adr r2,PolyPh_filter_coeff
51 ldr r1,[r2]
52 add r1,r2
53 ldr r2,[sp,#0xc]
55 sub r2,r2,#1
57 str r2,[sp]
66 add r2,r4,r10
67 add r3,r0,r2,lsl #2
68 sub r2,r4,r10
[all …]
Dpvmp3_dct_16_gcc.s53 sub r2,r1,r3
54 smull lr,r2,r12,r2
56 str r2,[sp,#0x14]
57 ldr r2,[r0,#0x1c]
60 sub r3,r2,r12
66 add r3,r2,r12
67 sub r2,r1,r3
70 smull lr,r2,r12,r2
149 sub r3,r2,r12
151 add r2,r2,r12
[all …]
Dpvmp3_mdct_18_gcc.s45 mov r7,r2
46 adr r2,constdata$1
48 add r3,r2,#0x24
82 ldr lr,[r2],#4
98 ldr r2,[r5,#0x40]
132 sub r1,r1,r2
136 sub r1,r1,r2
142 ldr r2,[r1,#0x28]
144 add r0,r0,r2
149 mov r0,r2
[all …]
Dpvmp3_dct_9_gcc.s44 ldr r2, [r0, #0x20]
47 add r1,r2,r3
48 sub lr,r2,r3
51 add r2,r3,r12
62 add r8,r9,r2
67 rsb r2,r9,r2,asr #1
70 rsb r7,r2,#0
91 smlal r9,r2,r11,r9
95 smlal r12,r2,r9,r1
115 smlal r1,r2,r12,r1
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dblock.cpp24 int r0, r1, r2, r3, j; in trans() local
35 r2 = cur[2] - predBlock[2]; in trans()
40 r1 += r2; //ptr[1] + ptr[2]; in trans()
41 r2 = r1 - (r2 << 1); //ptr[1] - ptr[2]; in trans()
45 ptr[1] = (r3 << 1) + r2; in trans()
46 ptr[3] = r3 - (r2 << 1); in trans()
61 r2 = ptr[16] - ptr[32]; in trans()
65 ptr[16] = (r3 << 1) + r2; in trans()
66 ptr[48] = r3 - (r2 << 1); in trans()
85 int r0, r1, r2, r3, j, k, idx; in dct_luma() local
[all …]
Dmotion_comp.cpp276 int32 r0, r1, r2, r3, r4, r5; in eHorzInterp1MC() local
296 r2 = p_ref[3]; in eHorzInterp1MC()
297 r1 |= (r2 << 16); /* 0,d,0,b */ in eHorzInterp1MC()
300 r2 = *(p_ref += 4); /* move pointer to e */ in eHorzInterp1MC()
302 r2 |= (r3 << 16); /* 0,g,0,e */ in eHorzInterp1MC()
309 r6 = r2 + r3; /* g+h, e+f */ in eHorzInterp1MC()
314 r5 = r1 + r2; /* d+g, b+e */ in eHorzInterp1MC()
328 r5 = r6 | (r2 >> 16);/* 0,i,0,g */ in eHorzInterp1MC()
332 r1 += r2; /* f+g, d+e */ in eHorzInterp1MC()
335 r0 |= (r2 << 16); /* 0,e,0,c */ /* r0 has changed */ in eHorzInterp1MC()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
DR4R8First_v5.s36 ldrd r2, [r11, #8]
40 add r8, r0, r2
43 sub r0, r0, r2
46 add r2, r4, r6
52 add r6, r8, r2
55 sub r8, r8, r2
58 add r2, r0, r5
65 strd r2, [r11, #8]
91 ldrd r2, [r14, #8]
95 add r8, r0, r2 @ r0 = buf[0] + buf[2]@
[all …]
DAutoCorrelation_v5.s36 mov r2, r2, lsl #16
38 mov r4, r2, asr #16
44 mov r2, #0
49 ldr r6, [r5, r2]
50 add r2, r2, #4
52 ldr r1, [r5, r2]
59 add r2, r2, #4
63 ldr r1, [r5, r2]
71 add r2, r2, #4
78 ldrsh r6, [r5, r2]
[all …]
DRadix4FFT_v5.s37 mov r9, r2, lsl #3 @ step = 2*bgn@
41 str r2, [sp, #8]
47 mov r11, r2 @ j = bgn
58 ldrd r10, [r14, #0] @ r2 = xptr[0]@ r3 = xptr[1]@
64 smlawb r2, r11, r8, r4 @ r2 = L_mpy_wx(cosx, t0) + L_mpy_wx(sinx, t1)@
73 sub r0, r10, r2 @ r0 = t0 - r2@
76 add r2, r10, r2 @ r2 = t0 + r2@
79 str r2, [sp, #24]
97 smulwt r2, r10, r8 @ L_mpy_wx(cosx, t0)
100 smlawb r6, r11, r8, r2 @ r4 = L_mpy_wx(cosx, t0) + L_mpy_wx(sinx, t1)@
[all …]
/frameworks/native/opengl/libagl/
Dfixed_asm.S37 mov r2, #0x8E /* 127 + 15 */
38 sub r1, r2, r1, lsr #24 /* compute shift */
39 mov r2, r0, lsl #8 /* mantissa<<8 */
40 orr r2, r2, #0x80000000 /* add the missing 1 */
41 mov r0, r2, lsr r1 /* scale to 16.16 */
52 mov r2, #0x8E /* 127 + 15 */
53 subs r1, r2, r1, lsr #24 /* compute shift */
55 mov r2, r0, lsl #8 /* mantissa<<8 */
56 orr r2, r2, #0x80000000 /* add the missing 1 */
58 movs r0, r2, lsr r1 /* scale to 16.16 */
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/
DomxVCM4P10_InterpolateLuma_s.S68 ADD r12,r2,r3,LSL #1
69 VST1.32 {d9[0]},[r2],r3
71 VST1.32 {d10[0]},[r2]
82 ADD r12,r2,r3,LSL #1
83 VST1.32 {d22[0]},[r2],r3
85 VST1.32 {d24[0]},[r2]
92 ADD r12,r2,r3,LSL #1
93 VST1.32 {d22[0]},[r2],r3
95 VST1.32 {d24[0]},[r2]
106 ADD r12,r2,r3,LSL #1
[all …]
DarmVCM4P10_Average_4x_Align_unsafe_s.S33 LDR r12,[r2,#0]
35 LDR lr,[r2,r3]
42 STR r5,[r2],r3
44 STR r4,[r2],r3
46 LDR r12,[r2,#0]
48 LDR lr,[r2,r3]
54 STR r5,[r2],r3
56 STR r4,[r2],r3
67 LDR r12,[r2,#0]
68 LDR lr,[r2,r3]
[all …]
DarmVCM4P10_InterpolateLuma_Copy_unsafe_s.S43 STR r4,[r2],r3
45 STR r5,[r2],r3
47 STR r8,[r2],r3
48 STR r9,[r2],r3
57 STR r4,[r2],r3
62 STR r8,[r2],r3
67 STR r4,[r2],r3
70 STR r8,[r2],r3
79 STR r4,[r2],r3
82 STR r8,[r2],r3
[all …]
DarmVCM4P10_UnpackBlock4x4_s.S32 LDR r2,[r0,#0]
36 LDRB r3,[r2],#1
43 LDRNESB r5,[r2,#1]
44 LDRNEB r4,[r2],#2
46 LDREQSB r4,[r2],#1
49 LDREQB r3,[r2],#1
52 STR r2,[r0,#0]
DarmVCM4P10_Interpolate_Chroma_s.S96 VST1.64 {d8},[r2],r3
98 VST1.64 {d9},[r2],r3
99 VST1.64 {d20},[r2],r3
100 VST1.64 {d21},[r2],r3
122 VST1.32 {d8[0]},[r2],r3
123 VST1.32 {d9[0]},[r2],r3
145 VST1.16 {d8[0]},[r2],r3
146 VST1.16 {d9[0]},[r2],r3
158 VST1.64 {d0},[r2],r3
159 VST1.64 {d1},[r2],r3
[all …]
DomxVCM4P10_TransformDequantChromaDCFromPair_s.S56 ldrsb r9, [r5, r2]
57 ldrsb r2, [r6, r2]
60 lsl r2, r2, r9
63 vdup.16 d1, r2
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Didct.cpp131 int32 r0, r1, r2, r3, r4, r5, r6, r7, r8; /* butterfly nodes */ in idct_intra() local
151 r2 = blk[B_SIZE * 6 + i]; in idct_intra()
158 if (!(r1 | r2 | r3 | r4 | r5 | r6 | r7)) in idct_intra()
195 r1 = W6 * (r3 + r2); in idct_intra()
196 r2 = (r1 - (W2 + W6) * r2); in idct_intra()
207 r3 = r0 + r2; in idct_intra()
208 r0 -= r2; in idct_intra()
209 r2 = (181 * (r4 + r5) + 128) >> 8; /* rounding */ in idct_intra()
219 tmpBLK32[(1<<3) + i] = (r3 + r2) >> 8; in idct_intra()
224 tmpBLK32[(6<<3) + i] = (r3 - r2) >> 8; in idct_intra()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_YuvToRGB.S98 subs r2, #16
120 subs r2, #16
127 2: adds r2, #16
140 tst r2, #8
150 1: tst r2, #4
159 1: tst r2, #2
168 1: tst r2, #1
201 1: tst r2, #8
205 1: tst r2, #4
208 1: tst r2, #2
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
Dcor_h_vec_neon.s28 @r2 ---- track
41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track]
44 @r0 --- h[], r1 --- vec[], r2 --- pos
50 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
52 RSB r11, r2, #62 @j=62-pos
72 ADD r9, r3, r2, LSL #1 @address of sign[pos]
91 ADD r2, r2, #4
95 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
97 RSB r11, r2, #62 @j=62-pos
119 ADD r9, r3, r2, LSL #1 @address of sign[pos]
[all …]
Dpred_lt4_1_neon.s26 @ r2 --- frac
38 RSB r2, r2, #0 @ frac = - frac
40 CMP r2, #0
41 ADDLT r2, r2, #4 @ frac += UP_SAMP
47 RSB r2, r2, #3 @ k = UP_SAMP - 1 - frac
49 ADD r11, r11, r2, LSL #6 @ get inter4_2[k][]
/frameworks/base/core/tests/coretests/src/android/net/
DRouteInfoTest.java123 RouteInfo r2 = new RouteInfo(Prefix("2001:db8:ace::/48"), Address("2001:db8::1"), "wlan0"); in testEquals() local
124 assertAreEqual(r1, r2); in testEquals()
135 r2 = new RouteInfo(Prefix("192.0.2.0/25"), Address("192.0.2.1"), "wlan0"); in testEquals()
136 assertAreEqual(r1, r2); in testEquals()
147 r2 = new RouteInfo(Prefix("192.0.2.0/25"), Address("192.0.2.1"), null); in testEquals()
149 assertAreEqual(r1, r2); in testEquals()
242 RouteInfo r2 = null; in passThroughParcel() local
246 r2 = RouteInfo.CREATOR.createFromParcel(p); in passThroughParcel()
250 assertNotNull(r2); in passThroughParcel()
251 return r2; in passThroughParcel()
[all …]
/frameworks/native/libs/gui/tests/
DGLTest.cpp216 ::testing::AssertionResult GLTest::assertRectEq(const Rect &r1, const Rect &r2, in assertRectEq() argument
220 if (abs(r1.left - r2.left) > tolerance) { in assertRectEq()
221 msg += String8::format("left(%d isn't %d)", r1.left, r2.left); in assertRectEq()
223 if (abs(r1.top - r2.top) > tolerance) { in assertRectEq()
227 msg += String8::format("top(%d isn't %d)", r1.top, r2.top); in assertRectEq()
229 if (abs(r1.right - r2.right) > tolerance) { in assertRectEq()
233 msg += String8::format("right(%d isn't %d)", r1.right, r2.right); in assertRectEq()
235 if (abs(r1.bottom - r2.bottom) > tolerance) { in assertRectEq()
239 msg += String8::format("bottom(%d isn't %d)", r1.bottom, r2.bottom); in assertRectEq()
244 r2.left, r2.top, r2.right, r2.bottom); in assertRectEq()

1234