Home
last modified time | relevance | path

Searched refs:i0 (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/media/tests/audiotests/
Dshared_mem_test.cpp137 for(int i0=0; i0<bufferSz; i0++) { in Generate() local
138 buffer[i0] = ComputeSine( amplitude, phi); in Generate()
175 for(int i0 = 0; i0<SIN_SZ; i0++) { in InitSine() local
182 sin1024[i0] = (short)d0; in InitSine()
/frameworks/rs/driver/runtime/
Drs_f16_math.c83 short i0, j0; in modf() local
85 GET_HALF_WORD(i0, x); in modf()
86 j0 = ((i0 >> 10) & 0x1f) - 15; // exponent of x in modf()
89 SET_HALF_WORD(*iptr, i0 & 0x8000); // *iptr = +/- 0 in modf()
94 if ((i0 & i) == 0) { // no bits set in fractional part in modf()
96 SET_HALF_WORD(x, i0 & 0x8000); in modf()
100 SET_HALF_WORD(*iptr, i0 & ~i); // zero out fractional parts in modf()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Ds10_8pf.cpp568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; in search_10and8i40() local
601 i0 = pos_max[ipos[0]]; in search_10and8i40()
602 index[0] = i0; in search_10and8i40()
621 ps0 = (Word16)((Word32) dn[i0] + dn[i1]); in search_10and8i40()
624 alp0 = (Word32) rr[i0][i0] << 12; in search_10and8i40()
630 alp0 += (Word32) rr[i0][i1] << 13; in search_10and8i40()
642 s += (Word32) * (p_temp2 + i0); in search_10and8i40()
664 alp1 += (Word32) * (p_temp2 + i0); in search_10and8i40()
708 s += (Word32) * (p_temp2 + i0); in search_10and8i40()
733 alp1 += (Word32) * (p_temp2 + i0) << 12; in search_10and8i40()
[all …]
Dc3_14pf.cpp381 Word16 i0; in search_3i40() local
438 for (i0 = ipos[0]; i0 < L_CODE; i0 += STEP) in search_3i40()
440 if (dn2[i0] >= 0) in search_3i40()
442 ps0 = dn[i0]; in search_3i40()
445 alp0 = (Word32) rr[i0][i0] << 14; in search_3i40()
478 alp1 += (Word32) rr[i0][i1] << 15; in search_3i40()
536 alp1 += (Word32) rr[i0][i2] << 13; in search_3i40()
576 *(p_codvec++) = i0; in search_3i40()
Dc4_17pf.cpp394 Word16 i0; in search_4i40() local
451 for (i0 = ipos[0]; i0 < L_CODE; i0 += STEP) in search_4i40()
453 if (dn2[i0] >= 0) in search_4i40()
455 ps0 = dn[i0]; in search_4i40()
457 alp0 = (Word32) rr[i0][i0] << 14; in search_4i40()
488 alp1 += (Word32) rr[i0][i1] << 15; in search_4i40()
546 alp1 += (Word32) rr[i0][i2] << 13; in search_4i40()
601 alp1 += (Word32) rr[i0][i3] << 13; /* idx incr = STEP */ in search_4i40()
641 *(p_codvec++) = i0; in search_4i40()
Dc2_11pf.cpp411 Word16 i0; in search_2i40() local
458 for (i0 = ipos[0]; i0 < L_CODE; i0 += STEP) in search_2i40()
460 ps0 = dn[i0]; in search_2i40()
463 alp0 = (Word32) rr[i0][i0] << 14; in search_2i40()
493 alp1 += (Word32) rr[i0][i1] << 15; in search_2i40()
530 *(p_codvec++) = i0; in search_2i40()
Dc2_9pf.cpp595 Word16 i0; in search_2i40() local
642 for (i0 = *ipos; i0 < L_CODE; i0 += STEP) in search_2i40()
644 ps0 = *(dn + i0); in search_2i40()
648 alp0 = (Word32) rr[i0][i0] << 14; in search_2i40()
684 alp1 += (Word32) rr[i0][i1] << 15; in search_2i40()
719 *(p_codvec++) = i0; in search_2i40()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dc2t64fx.c56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; in ACELP_2t64_fx() local
235 for (i0 = 0; i0 < L_SUBFR; i0 += STEP) in ACELP_2t64_fx()
237 ps1 = dn[i0]; in ACELP_2t64_fx()
256 ix = i0; in ACELP_2t64_fx()
269 i0 = (ix >> 1); /* pos of pulse 1 (0..31) */ in ACELP_2t64_fx()
278 i0 += NB_POS; in ACELP_2t64_fx()
291 *index = add1((i0 << 6), i1); in ACELP_2t64_fx()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmotion_est.cpp76 Int i0, Int j0, Int type_pred, Int fullsearch, Int *hp_guess);
771 Int i0, Int j0, Int type_pred, Int FS_en, Int *hp_guess) in MBMotionSearch() argument
809 ilow = i0 - range; in MBMotionSearch()
812 ihigh = i0 + range - 1; in MBMotionSearch()
824 ilow = i0 - range; in MBMotionSearch()
827 ihigh = i0 + range - 1; in MBMotionSearch()
838 imin = i0; in MBMotionSearch()
852 mot[mbnum][0].x = (imin - i0) << 1; in MBMotionSearch()
861 if (video->forwardRefVop->predictionType == I_VOP && j0 == 0 && i0 <= 64 && type_pred != 1) in MBMotionSearch()
871 CandidateSelection(mvx, mvy, &num_can, i0 >> 4, j0 >> 4, video, type_pred); in MBMotionSearch()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
DR4R8First_v5.s96 add r9, r1, r3 @ i0 = buf[1] + buf[3]@
108 add r7, r9, r3 @ i4 = (i0 + i2) >> 1@
111 sub r9, r9, r3 @ i5 = (i0 - i2) >> 1@
149 add r1, r3, r5 @ i0 = buf[ 9] + buf[11]@
161 add r9, r1, r5 @ t1 = (i0 + i2)
164 sub r1, r1, r5 @ t3 = (i0 - i2)
197 add r1, r3, r6 @ i0 = i1 + r3@
204 sub r4, r0, r1 @ r0 - i0
205 add r5, r0, r1 @ r0 + i0
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV7/
DR4R8First_v7.s44 VADD.S32 d4, d0, d1 @ r0 = buf[0] + buf[2]@i0 = buf[1] + buf[3]@
50 VADD.S32 Q0, Q2, Q3 @ r4 = (r0 + r2)@i4 = (i0 + i2)@i6 = (i1 + r3)@r7 = (r1 + i3)
51 VSUB.S32 Q1, Q2, Q3 @ r5 = (r0 - r2)@i5 = (i0 - i2)@r6 = (r1 - i3)@i7 = (i1 - r3)@
55 VADD.S32 d4, d8, d9 @ r0 = buf[ 8] + buf[10]@i0 = buf[ 9] + buf[11]@
63 VADD.S32 Q4, Q2, Q3 @ t0 = (r0 + r2) >> 1@t1 = (i0 + i2) >> 1@i0 = i1 + r3@r2 = r1 + i3@
64 VSUB.S32 Q5, Q2, Q3 @ t2 = (r0 - r2) >> 1@t3 = (i0 - i2) >> 1@r0 = r1 - i3@i2 = i1 - r3@
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dmotion_est.cpp956 int i0, int j0, int type_pred, int FS_en, int *hp_guess) in AVCMBMotionSearch() argument
1012 ilow = i0 - range; in AVCMBMotionSearch()
1013 if (i0 - ilow > 2047) /* clip to conform with the standard */ in AVCMBMotionSearch()
1015 ilow = i0 - 2047; in AVCMBMotionSearch()
1022 ihigh = i0 + range - 1; in AVCMBMotionSearch()
1023 if (ihigh - i0 > 2047) /* clip to conform with the standard */ in AVCMBMotionSearch()
1025 ihigh = i0 + 2047; in AVCMBMotionSearch()
1053 AVCCandidateSelection(mvx, mvy, &num_can, i0 >> 4, j0 >> 4, encvid, type_pred, &cmvx, &cmvy); in AVCMBMotionSearch()
1055 imin = i0; in AVCMBMotionSearch()
1057 ncand = ref + i0 + j0 * lx; in AVCMBMotionSearch()
[all …]
Davcenc_lib.h554 int i0, int j0, int type_pred, int FS_en, int *hp_guess);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dtransform.c111 int i0, i1, i2, i3; in Radix8First() local
119 i0 = buf[1] + buf[3]; in Radix8First()
128 i4 = (i0 + i2) >> 1; in Radix8First()
130 i5 = (i0 - i2) >> 1; in Radix8First()
137 i0 = buf[ 9] + buf[11]; in Radix8First()
146 t1 = (i0 + i2) >> 1; in Radix8First()
148 t3 = (i0 - i2) >> 1; in Radix8First()
160 i0 = i1 + r3; in Radix8First()
164 t0 = MULHIGH(SQRT1_2, r0 - i0); in Radix8First()
165 t1 = MULHIGH(SQRT1_2, r0 + i0); in Radix8First()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dforeach_multi.rs4 uint32_t i0;
46 retval.i0 = in0 + in1;
145 _RS_ASSERT(result->i0 == sum);
/frameworks/base/core/java/android/net/
DSntpClient.java222 int i0 = ((b0 & 0x80) == 0x80 ? (b0 & 0x7F) + 0x80 : b0); in read32() local
227 return ((long)i0 << 24) + ((long)i1 << 16) + ((long)i2 << 8) + (long)i3; in read32()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java320 int[] i0 = new int[]{34}; in testArrays() local
323 int[] ir = mRemote.intArray(i0, i1, i2); in testArrays()