Searched defs:pos (Results 1 - 25 of 185) sorted by relevance

12345678

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd2_11pf.cpp160 Word16 pos[NB_PULSE]; local
170 pos[0] = i * 5 + j * 2 + 1;
185 pos[1] = i * 5 + 4;
189 pos[1] = i * 5 + j;
210 * cod[pos[j]] = 8191;
214 * cod[pos[j]] = -8192;
218 cod[pos[j]] = i * 16383 - 8192;
H A Dd3_14pf.cpp165 Word16 pos[NB_PULSE]; local
171 pos[0] = i * 5;
185 pos[1] = i * 5 + j * 2 + 1;
199 pos[2] = i * 5 + j * 2 + 2;
218 * cod[pos[j]] = 8191;
222 * cod[pos[j]] = -8192;
226 cod[pos[j]] = i * 16383 - 8192;
H A Dd4_17pf.cpp46 the calculation of pos[2] incorrectly. The correct formula is pos2 =i*5+2,
185 Word16 pos[NB_PULSE]; local
203 pos[0] = i * 5; /* pos0 =i*5 */
212 pos[1] = i * 5 + 1; /* pos1 =i*5+1 */
222 pos[2] = i * 5 + 2; /* pos2 =i*5+2 */
238 pos[3] = i * 5 + 3 + j; /* pos3 =i*5+3+j */
257 * cod[pos[j]] = 8191;
261 * cod[pos[j]] = -8192;
265 cod[pos[j]] = i * 16383 - 8192;
H A Dd2_9pf.cpp187 Word16 pos[NB_PULSE]; local
207 pos[0] = i * 5 + startPos[k++];
215 pos[1] = i * 5 + startPos[k];
234 * cod[pos[j]] = 8191;
238 * cod[pos[j]] = -8192;
242 cod[pos[j]] = i * 16383 - 8192;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_InterpolateHalfHor_Luma.c69 OMX_S32 HalfCoeff, pos; local
79 pos = y * iSrcStep + x;
81 pSrc [pos - 2] -
82 5 * pSrc [pos - 1] +
83 20 * pSrc [pos] +
84 20 * pSrc [pos + 1] -
85 5 * pSrc [pos + 2] +
86 pSrc [pos + 3];
H A DarmVCM4P10_InterpolateHalfVer_Luma.c69 OMX_S32 HalfCoeff, pos; local
81 pos = y * iSrcStep + x;
83 pSrc [pos - 2 * iSrcStep] -
84 5 * pSrc [pos - 1 * iSrcStep] +
85 20 * pSrc [pos] +
86 20 * pSrc [pos + 1 * iSrcStep] -
87 5 * pSrc [pos + 2 * iSrcStep] +
88 pSrc [pos + 3 * iSrcStep];
H A DarmVCM4P10_InterpolateHalfDiag_Luma.c70 OMX_S32 HalfCoeff, pos; local
87 pos = (y-2) * iSrcStep + x;
89 pSrc [pos - 2] -
90 5 * pSrc [pos - 1] +
91 20 * pSrc [pos] +
92 20 * pSrc [pos + 1] -
93 5 * pSrc [pos + 2] +
94 pSrc [pos + 3];
104 pos = y * iWidth + x;
106 Buf [pos]
[all...]
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp27 static int readAt(void *handle, void *buffer, int pos, int size) { argument
28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_acelp_4p_in_64.cpp123 void add_pulses(int16 pos[], int16 nb_pulse, int16 track, int16 code[]);
160 int16 k, pos[6]; local
173 dec_1p_N1(L_index, 4, 0, pos);
174 add_pulses(pos, 1, k, code);
182 dec_2p_2N1(L_index, 4, 0, pos);
183 add_pulses(pos, 2, k, code);
190 dec_3p_3N1(L_index, 4, 0, pos);
191 add_pulses(pos, 3, k, code);
196 dec_2p_2N1(L_index, 4, 0, pos);
197 add_pulses(pos,
246 add_pulses(int16 pos[], int16 nb_pulse, int16 track, int16 code[]) argument
[all...]
H A Ddec_alg_codebook.cpp87 #define NB_POS 16 /* pos in track, mask for sign bit */
118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
135 pos[0] = pos1;
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
180 pos[0] = pos1;
181 pos[1] = pos2;
192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
213 dec_2p_2N1(idx, (int16)(N - 1), j, pos);
219 dec_1p_N1(idx, N, offset, pos + 2);
229 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
265 dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) argument
316 dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) argument
350 dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DRingBufferIndices.java44 final int pos = mSize;
46 return pos;
48 int pos = mStart;
53 return pos;
75 public int indexOf(int pos) { argument
76 int index = mStart + pos;
/frameworks/base/core/tests/coretests/src/android/util/
H A DListUtil.java44 * @param pos The desired position.
46 public final void setSelectedPosition(final int pos) { argument
49 mListView.setSelection(pos);
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator_test.cpp320 const size_t pos = actual.find("@removed"); local
321 EXPECT_NE(std::string::npos, pos);
322 EXPECT_EQ(std::string::npos, actual.find("@removed", pos + 1));
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dfile_wrapper_input.cpp62 bool FileWrapperInput::Seek(uint32_t pos) { argument
63 return fseek(_file, (long) pos, SEEK_SET) == 0;
H A Din_memory_wrapper_input.cpp53 bool InMemoryWrapperInput::Seek(uint32_t pos) { argument
54 if (pos < _size) {
55 _pos = pos;
/frameworks/compile/mclinker/lib/Core/
H A DGeneralOptions.cpp72 size_t pos = pName.find_last_of(sys::fs::separator); local
73 if (std::string::npos == pos)
76 m_SOName = pName.substr(pos + 1);
H A DInputTree.cpp53 bool isGroup(const InputTree::iterator& pos) { argument
54 return !pos.hasData() && !pos.isRoot();
57 bool isGroup(const InputTree::const_iterator& pos) { argument
58 return !pos.hasData() && !pos.isRoot();
61 bool isGroup(const InputTree::dfs_iterator& pos) { argument
62 return !pos.hasData() && !pos.isRoot();
65 bool isGroup(const InputTree::const_dfs_iterator& pos) { argument
69 isGroup(const InputTree::bfs_iterator& pos) argument
73 isGroup(const InputTree::const_bfs_iterator& pos) argument
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarManifestReader.java42 private int pos; field in class:StrictJarManifestReader
55 this.endOfMainSection = pos;
59 int mark = pos;
85 chunks.put(entryNameValue, new StrictJarManifest.Chunk(mark, pos));
86 mark = pos;
115 int mark = pos;
117 while (pos < buf.length) {
118 if (buf[pos++] != ':') {
122 String nameString = new String(buf, mark, pos - mark - 1, StandardCharsets.US_ASCII);
124 if (buf[pos
[all...]
/frameworks/support/v4/java/android/support/v4/media/
H A DTransportController.java64 * @param pos Position to move to, in milliseconds.
66 public abstract void seekTo(long pos); argument
/frameworks/wilhelm/src/itf/
H A DISeek.c22 static SLresult ISeek_SetPosition(SLSeekItf self, SLmillisecond pos, SLuint32 seekMode) argument
31 if (SL_TIME_UNKNOWN == pos) {
32 pos = SL_TIME_UNKNOWN - 1;
36 thiz->mPos = pos;
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Ddecim54.c96 Word32 i, j, frac, pos; local
100 pos = 0; /* position is in Q2 -> 1/4 resolution */
103 i = (pos >> 2); /* integer part */
104 frac = pos & 3; /* fractional part */
141 pos += FAC5; /* pos + 5/4 */
H A Dq_pulse.c29 #define NB_POS 16 /* pos in track, mask for sign bit */
32 Word16 pos, /* (i) position of the pulse */
42 index = L_deposit_l((Word16) (pos & mask));
43 if ((pos & NB_POS) != 0)
188 Word16 pos[], /* (i) position of the pulse 1..4 */
203 if ((pos[k] & nb_pos) == 0)
205 posA[i++] = pos[k];
208 posB[j++] = pos[k];
254 Word16 pos[], /* (i) position of the pulse 1..5 */
268 if ((pos[
31 quant_1p_N1( Word16 pos, Word16 N) argument
187 quant_4p_4N( Word16 pos[], Word16 N) argument
253 quant_5p_5N( Word16 pos[], Word16 N) argument
327 quant_6p_6N_2( Word16 pos[], Word16 N) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java86 int pos = allocateHeader_native(header, newStateFD);
87 if (pos < 0) {
88 throw new IOException("allocateHeader_native failed (error " + pos + ")");
96 // fill in the header (seeking back to pos). The file pointer will be returned to
98 err = writeHeader_native(header, newStateFD, pos);
113 int pos = rawKey.indexOf(':');
114 if (pos > 0) {
115 String prefix = rawKey.substring(0, pos);
119 stream.key = rawKey.substring(pos+1);
146 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); argument
[all...]
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAndroidDistinguishedNameParser.java35 private int pos; field in class:AndroidDistinguishedNameParser
57 for (; pos < length && chars[pos] == ' '; pos++) {
59 if (pos == length) {
64 beg = pos;
67 pos++;
68 for (; pos < length && chars[pos] != '=' && chars[pos] !
[all...]
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp29 off64_t pos = fAsset->seek(0, SEEK_SET); local
30 if (pos == (off64_t)-1) {

Completed in 441 milliseconds

12345678