/frameworks/base/media/tests/audiotests/ |
H A D | shared_mem_test.cpp | 138 for(int i0=0; i0<bufferSz; i0++) { 142 buffer[i0] = ComputeSine( amplitude, phi); 179 for(int i0 = 0; i0<SIN_SZ; i0++) { 186 sin1024[i0] = (short)d0;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c4_17pf.cpp | 165 The code length is 40, containing 4 nonzero pulses: i0...i3. 167 Pulse i0 to i2 can have 8 possible positions, pulse i3 can have 170 i0 : 0, 5, 10, 15, 20, 25, 30, 35. 394 Word16 i0; local 448 * i0 loop: try 4 positions (use position with max of corr.). * 451 for (i0 = ipos[0]; i0 < L_CODE; i0 += STEP) 453 if (dn2[i0] >= 0) 455 ps0 = dn[i0]; [all...] |
H A D | c2_11pf.cpp | 73 * The code length is 40, containing 2 nonzero pulses: i0...i1. 75 * Pulse i0 can have 2x8=16 possible positions, pulse i1 can have 78 * i0 : 1, 6, 11, 16, 21, 26, 31, 36. 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 184 i0 : 1, 6, 11, 16, 21, 26, 31, 36. 411 Word16 i0; local 456 * i0 loop: try 8 positions. * 458 for (i0 = ipos[0]; i0 < L_COD [all...] |
H A D | c2_9pf.cpp | 197 The code length is 40, containing 2 nonzero pulses: i0...i1. All pulses can 198 have two possible amplitudes: +1 or -1. Pulse i0 can have 8 possible positions, 203 first i0 : 0, 5, 10, 15, 20, 25, 30, 35. 205 second i0 : 1, 6, 11, 16, 21, 26, 31, 36. 209 first i0 : 0, 5, 10, 15, 20, 25, 30, 35. 211 second i0 : 2, 7, 12, 17, 22, 27, 32, 37. 215 first i0 : 0, 5, 10, 15, 20, 25, 30, 35. 217 second i0 : 1, 6, 11, 16, 21, 26, 31, 36. 221 first i0 : 0, 5, 10, 15, 20, 25, 30, 35. 223 second i0 595 register Word16 i0; local [all...] |
H A D | s10_8pf.cpp | 190 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i8, i9; 208 // fix i0 on maximum of correlation position 209 i0 = pos_max[ipos[0]]; 227 ps0 = add (dn[i0], dn[i1]); 228 alp0 = L_mult (rr[i0][i0], _1_16); 230 alp0 = L_mac (alp0, rr[i0][i1], _1_8); 239 s = L_mac (s, rr[i0][i3], _1_4); // index increment = step 260 alp1 = L_mac (alp1, rr[i0][i2], _1_8); 305 s = L_mac (s, rr[i0][i 568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; local [all...] |
H A D | c3_14pf.cpp | 155 The code length is 40, containing 3 nonzero pulses: i0...i2. 157 Pulse i0 can have 8 possible positions, pulses i1 and i2 can have 160 i0 : 0, 5, 10, 15, 20, 25, 30, 35. 381 Word16 i0; local 434 * i0 loop: try 8 positions. * 438 for (i0 = ipos[0]; i0 < L_CODE; i0 += STEP) 440 if (dn2[i0] >= 0) 442 ps0 = dn[i0]; [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c2t64fx.c | 56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; local 232 for (i0 = 0; i0 < L_SUBFR; i0 += STEP) 234 ps1 = dn[i0]; 253 ix = i0; 266 i0 = (ix >> 1); /* pos of pulse 1 (0..31) */ 275 i0 += NB_POS; 288 *index = add1((i0 << 6), i1);
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV7/ |
H A D | R4R8First_v7.s | 44 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/aacenc/src/asm/ARMV5E/ |
H A D | R4R8First_v5.s | 96 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/m4v_h263/enc/src/ |
H A D | motion_est.cpp | 76 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) 809 ilow = i0 - range; 812 ihigh = i0 + range - 1; 824 ilow = i0 - range; 827 ihigh = i0 + range - 1; 838 imin = i0; 852 mot[mbnum][0].x = (imin - i0) << 1; 861 if (video->forwardRefVop->predictionType == I_VOP && j0 == 0 && i0 <= 64 && type_pred != 1) 871 CandidateSelection(mvx, mvy, &num_can, i0 >> 770 MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[], Int i0, Int j0, Int type_pred, Int FS_en, Int *hp_guess) argument 1186 Int i0 = *imin; /* current position */ local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | transform.c | 111 int i0, i1, i2, i3; local 119 i0 = buf[1] + buf[3]; 128 i4 = (i0 + i2) >> 1; 130 i5 = (i0 - i2) >> 1; 137 i0 = buf[ 9] + buf[11]; 146 t1 = (i0 + i2) >> 1; 148 t3 = (i0 - i2) >> 1; 160 i0 = i1 + r3; 164 t0 = MULHIGH(SQRT1_2, r0 - i0); 165 t1 = MULHIGH(SQRT1_2, r0 + i0); [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | motion_est.cpp | 956 int i0, int j0, int type_pred, int FS_en, int *hp_guess) 1012 ilow = i0 - range; 1013 if (i0 - ilow > 2047) /* clip to conform with the standard */ 1015 ilow = i0 - 2047; 1022 ihigh = i0 + range - 1; 1023 if (ihigh - i0 > 2047) /* clip to conform with the standard */ 1025 ihigh = i0 + 2047; 1053 AVCCandidateSelection(mvx, mvy, &num_can, i0 >> 4, j0 >> 4, encvid, type_pred, &cmvx, &cmvy); 1055 imin = i0; 1057 ncand = ref + i0 955 AVCMBMotionSearch(AVCEncObject *encvid, uint8 *cur, uint8 *best_cand[], int i0, int j0, int type_pred, int FS_en, int *hp_guess) argument 1269 int i0 = *imin; /* current position */ local [all...] |
H A D | avcenc_lib.h | 546 \param "i0" "X-coordinate of the macroblock." 554 int i0, int j0, int type_pred, int FS_en, int *hp_guess);
|
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 171 int i0 = ((b0 & 0x80) == 0x80 ? (b0 & 0x7F) + 0x80 : b0); 176 return ((long)i0 << 24) + ((long)i1 << 16) + ((long)i2 << 8) + (long)i3;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | AidlTest.java | 320 int[] i0 = new int[]{34}; 323 int[] ir = mRemote.intArray(i0, i1, i2);
|