Searched refs:i1 (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/os/
H A DWorkSource.java189 int i1 = 0;
190 for (int i2=0; i2<N2 && i1<N1; i2++) {
191 if (uids2[i2] == uids1[i1]) {
193 if (i1 < N1) System.arraycopy(uids1, i1+1, uids1, i1, N1-i1);
195 while (i1 < N1 && uids2[i2] > uids1[i1]) {
196 i1
[all...]
/frameworks/base/libs/rs/
H A DrsUtils.h124 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { argument
125 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f));
126 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f);
127 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11));
131 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { argument
132 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff);
133 uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff);
134 uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff);
135 uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff);
H A DrsAllocation.cpp339 const uint16_t *i1 = static_cast<uint16_t *>(in.getElement(0, y*2)); local
343 *oPtr = rsBoxFilter565(i1[0], i1[1], i2[0], i2[1]);
345 i1 += 2;
357 const uint32_t *i1 = static_cast<uint32_t *>(in.getElement(0, y*2)); local
361 *oPtr = rsBoxFilter8888(i1[0], i1[1], i2[0], i2[1]);
363 i1 += 2;
375 const uint8_t *i1 = static_cast<uint8_t *>(in.getElement(0, y*2)); local
379 *oPtr = (uint8_t)(((uint32_t)i1[
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dc4_17pf.cpp171 i1 : 1, 6, 11, 16, 21, 26, 31, 36.
395 Word16 i1; local
460 * i1 loop: 8 positions. *
476 for (i1 = ipos[1]; i1 < L_CODE; i1 += STEP)
479 /* ps1 = add(ps0, dn[i1], pOverflow); */
480 ps1 = ps0 + dn[i1];
482 /* alp1 = alp0 + rr[i0][i1] + 1/2*rr[i1][i
[all...]
H A Dc3_14pf.cpp157 Pulse i0 can have 8 possible positions, pulses i1 and i2 can have
161 i1 : 1, 6, 11, 16, 21, 26, 31, 36.
382 Word16 i1; local
448 * i1 loop: 8 positions. *
464 for (i1 = ipos[1]; i1 < L_CODE; i1 += STEP)
467 /* ps1 = add(ps0, dn[i1], pOverflow); */
468 ps1 = ps0 + dn[i1];
470 /* alp1 = alp0 + rr[i0][i1]
[all...]
H A Dc2_11pf.cpp73 * The code length is 40, containing 2 nonzero pulses: i0...i1.
75 * Pulse i0 can have 2x8=16 possible positions, pulse i1 can have
80 * i1 : 0, 5, 10, 15, 20, 25, 30, 35.
179 The code length is 40, containing 2 nonzero pulses: i0...i1.
181 Pulse i0 can have 2x8=16 possible positions, pulse i1 can have
186 i1 : 0, 5, 10, 15, 20, 25, 30, 35.
412 Word16 i1; local
466 * i1 loop: 8 positions. *
480 for (i1 = ipos[1]; i1 < L_COD
[all...]
H A Dc2_9pf.cpp197 The code length is 40, containing 2 nonzero pulses: i0...i1. All pulses can
199 pulse i1 can have 8 positions. Also coded is which track pair should be used,
204 i1 : 2, 7, 12, 17, 22, 27, 32, 37.
206 i1 : 3, 8, 13, 18, 23, 28, 33, 38.
210 i1 : 3, 8, 13, 18, 23, 28, 33, 38.
212 i1 : 4, 9, 14, 19, 24, 29, 34, 39.
216 i1 : 2, 7, 12, 17, 22, 27, 32, 37.
218 i1 : 4, 9, 14, 19, 24, 29, 34, 39.
222 i1 : 3, 8, 13, 18, 23, 28, 33, 38.
224 i1
596 register Word16 i1; local
[all...]
H A Ds10_8pf.cpp76 5. Use array Index[] to store indexes i1:i9, and then use memcpy
190 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i8, i9;
212 // i1 loop: *
226 i1 = pos_max[ipos[1]];
227 ps0 = add (dn[i0], dn[i1]);
229 alp0 = L_mac (alp0, rr[i1][i1], _1_16);
230 alp0 = L_mac (alp0, rr[i0][i1], _1_8);
240 s = L_mac (s, rr[i1][i3], _1_4); // index increment = step
263 alp1 = L_mac (alp1, rr[i1][i
568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; local
[all...]
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
H A Dc2t64fx.c56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; local
237 for (i1 = 1; i1 < L_SUBFR; i1 += STEP)
239 ps2 = add1(ps1, dn[i1]);
247 pos = i1;
267 i1 = (iy >> 1); /* pos of pulse 2 (0..31) */
285 i1 += NB_POS;
288 *index = add1((i0 << 6), i1);
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A Dresidu_asm_opt.s80 SMULTB r3, r5, r2 @i1(0) --- r3 = x[0] * a0
95 SMLABT r3, r5, r2, r3 @i1(1) --- r3 += x[-1] * a1
99 SMLATB r3, r6, r2, r3 @i1(2) --- r3 += x[-2] * a2
106 SMLABT r3, r6, r2, r3 @ i1 (3)
110 SMLATB r3, r7, r2, r3 @ i1 (4)
116 SMLABT r3, r7, r2, r3 @ i1 (5)
120 SMLATB r3, r8, r2, r3 @ i1 (6)
127 SMLABT r3, r8, r2, r3 @ i1 (7)
131 SMLATB r3, r9, r2, r3 @ i1 (8)
138 SMLABT r3, r9, r2, r3 @ i1 (
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dph_disp.cpp453 Word16 i, i1;
506 i1 = 0;
511 i1 = add (i1, 1);
514 if (sub(i1, 2) > 0)
599 // inno[i1] += inno_sav[ppos] * ph_imp[i1-ppos]
670 register Word16 i, i1; local
760 i1 = 0;
765 i1
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DVideoEditorStressTest.java611 for (int i1 = 0; i1 < thumbNails.length; i1++) {
612 thumbNails[i1].recycle();
620 for (int i1 = 0; i1 < thumbNails.length; i1++) {
621 thumbNails[i1].recycle();
629 for (int i1 = 0; i1 < thumbNail
[all...]
/frameworks/base/media/libstagefright/codecs/aacenc/src/asm/ARMV7/
H A DR4R8First_v7.s41 VSUB.S32 d5, d0, d1 @ r1 = buf[0] - buf[2]@i1 = buf[1] - buf[3]@
46 VADD.S32 Q0, Q2, Q3 @ r4 = (r0 + r2)@i4 = (i0 + i2)@i6 = (i1 + r3)@r7 = (r1 + i3)
47 VSUB.S32 Q1, Q2, Q3 @ r5 = (r0 - r2)@i5 = (i0 - i2)@r6 = (r1 - i3)@i7 = (i1 - r3)@
52 VSUB.S32 d7, d10, d11 @ r1 = buf[12] - buf[14]@i1 = buf[13] - buf[15]@
59 VADD.S32 Q4, Q2, Q3 @ t0 = (r0 + r2) >> 1@t1 = (i0 + i2) >> 1@i0 = i1 + r3@r2 = r1 + i3@
60 VSUB.S32 Q5, Q2, Q3 @ t2 = (r0 - r2) >> 1@t3 = (i0 - i2) >> 1@r0 = r1 - i3@i2 = i1 - r3@
/frameworks/base/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
H A DR4R8First_v5.s99 sub r1, r1, r3 @ i1 = buf[1] - buf[3]@
114 add r3, r1, r4 @ i6 = (i1 + r3) >> 1@
117 sub r1, r1, r4 @ i7 = (i1 - r3) >> 1@
152 sub r3, r3, r5 @ i1 = buf[ 9] - buf[11]@
197 add r1, r3, r6 @ i0 = i1 + r3@
202 sub r3, r3, r6 @ i2 = i1 - r3@
/frameworks/base/core/java/android/net/
H A DSntpClient.java173 int i1 = ((b1 & 0x80) == 0x80 ? (b1 & 0x7F) + 0x80 : b1);
177 return ((long)i0 << 24) + ((long)i1 << 16) + ((long)i2 << 8) + (long)i3;
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c111 int i0, i1, i2, i3; local
121 i1 = buf[1] - buf[3];
132 i6 = (i1 + r3) >> 1;
134 i7 = (i1 - r3) >> 1;
139 i1 = buf[ 9] - buf[11];
160 i0 = i1 + r3;
162 i2 = i1 - r3;
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java321 int[] i1 = new int[]{38, 39};
323 int[] ir = mRemote.intArray(i0, i1, i2);
328 assertEquals(34, i1[0]);
329 assertEquals(0, i1[1]);
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp448 int i1 = getInt(); local
451 (char*) indent, OP_NAMES[op], f1, f2, f3, f4, f5, f6, i1, paint);
804 int i1 = getInt(); local
807 (char*) indent, OP_NAMES[op], f1, f2, f3, f4, f5, f6, i1, paint);
808 renderer.drawArc(f1, f2, f3, f4, f5, f6, i1 == 1, paint);
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c152 static u32 InnerBoundaryStrength(mbStorage_t *mb1, u32 i1, u32 i2);
156 u32 i1, u32 i2);
158 static u32 InnerBoundaryStrength2(mbStorage_t *mb1, u32 i1, u32 i2);

Completed in 375 milliseconds