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

12345

/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.c54 OMX_S32 HalfCoeff, pos; local
64 pos = y * iSrcStep + x;
66 pSrc [pos - 2] -
67 5 * pSrc [pos - 1] +
68 20 * pSrc [pos] +
69 20 * pSrc [pos + 1] -
70 5 * pSrc [pos + 2] +
71 pSrc [pos + 3];
H A DarmVCM4P10_InterpolateHalfVer_Luma.c54 OMX_S32 HalfCoeff, pos; local
66 pos = y * iSrcStep + x;
68 pSrc [pos - 2 * iSrcStep] -
69 5 * pSrc [pos - 1 * iSrcStep] +
70 20 * pSrc [pos] +
71 20 * pSrc [pos + 1 * iSrcStep] -
72 5 * pSrc [pos + 2 * iSrcStep] +
73 pSrc [pos + 3 * iSrcStep];
H A DarmVCM4P10_InterpolateHalfDiag_Luma.c55 OMX_S32 HalfCoeff, pos; local
72 pos = (y-2) * iSrcStep + x;
74 pSrc [pos - 2] -
75 5 * pSrc [pos - 1] +
76 20 * pSrc [pos] +
77 20 * pSrc [pos + 1] -
78 5 * pSrc [pos + 2] +
79 pSrc [pos + 3];
89 pos = y * iWidth + x;
91 Buf [pos]
[all...]
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp23 off64_t pos = fAsset->seek(0, SEEK_SET); local
24 if (pos == (off64_t)-1) {
/frameworks/base/tools/aidl/
H A Doptions.cpp133 string::size_type pos = options->outputFileName.size()-5; local
134 if (options->outputFileName.compare(pos, 5, ".aidl") == 0) { // 5 = strlen(".aidl")
135 options->outputFileName.replace(pos, 5, ".java"); // 5 = strlen(".aidl")
/frameworks/compile/mclinker/lib/MC/
H A DMCLDFile.cpp40 size_t pos = pName.find_last_of(sys::fs::separator); local
41 if (std::string::npos == pos)
44 m_Name = pName.substr(pos + 1);
H A DInputTree.cpp78 bool mcld::isGroup(const InputTree::iterator& pos) argument
80 return !pos.hasData();
83 bool mcld::isGroup(const InputTree::const_iterator& pos) argument
85 return !pos.hasData();
88 bool mcld::isGroup(const InputTree::dfs_iterator& pos) argument
90 return !pos.hasData();
93 bool mcld::isGroup(const InputTree::const_dfs_iterator& pos) argument
95 return !pos.hasData();
98 bool mcld::isGroup(const InputTree::bfs_iterator& pos) argument
100 return !pos
103 isGroup(const InputTree::const_bfs_iterator& pos) argument
[all...]
/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/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/compile/libbcc/bcinfo/Wrap/
H A Dfile_wrapper_input.cpp62 bool FileWrapperInput::Seek(uint32_t pos) { argument
63 return 0 == fseek(_file, (long) pos, SEEK_SET);
H A Din_memory_wrapper_input.cpp53 bool InMemoryWrapperInput::Seek(uint32_t pos) { argument
54 if (pos < _size) {
55 _pos = pos;
/frameworks/compile/mclinker/unittests/
H A DBinTreeTest.cpp50 BinaryTree<int>::iterator pos = m_pTestee->root(); local
51 m_pTestee->join<TreeIteratorBase::Rightward>(pos,0);
52 --pos;
53 m_pTestee->join<TreeIteratorBase::Rightward>(pos,1);
54 m_pTestee->join<TreeIteratorBase::Leftward>(pos,1);
55 --pos;
56 m_pTestee->join<TreeIteratorBase::Rightward>(pos,2);
57 m_pTestee->join<TreeIteratorBase::Leftward>(pos,2);
66 m_pTestee->merge<TreeIteratorBase::Rightward>(pos,*mergeTree);
74 BinaryTree<int>::iterator pos local
93 BinaryTree<int>::iterator pos = m_pTestee->root(); local
113 BinaryTree<int>::iterator pos = m_pTestee->root(); local
128 BinaryTree<int>::iterator pos = m_pTestee->root(); local
158 BinaryTree<int>::iterator pos = m_pTestee->root(); local
188 BinaryTree<int>::iterator pos = m_pTestee->root(); local
203 BinaryTree<int>::iterator pos = m_pTestee->root(); local
233 BinaryTree<int>::iterator pos = m_pTestee->root(); local
263 BinaryTree<int>::iterator pos = m_pTestee->root(); local
[all...]
/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.java87 int pos = allocateHeader_native(header, newStateFD);
88 if (pos < 0) {
89 throw new IOException("allocateHeader_native failed (error " + pos + ")");
97 // fill in the header (seeking back to pos). The file pointer will be returned to
99 err = writeHeader_native(header, newStateFD, pos);
114 int pos = rawKey.indexOf(':');
115 if (pos > 0) {
116 String prefix = rawKey.substring(0, pos);
120 stream.key = rawKey.substring(pos+1);
147 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_ParcelFileDescriptor.cpp99 jobject clazz, jlong pos)
107 return lseek(fd, pos, SEEK_SET);
98 android_os_ParcelFileDescriptor_seekTo(JNIEnv* env, jobject clazz, jlong pos) argument
H A Dandroid_util_StringBlock.cpp111 const ResStringPool_span* pos = spans; local
113 while (pos->name.index != ResStringPool_span::END) {
115 pos++;
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewWordLimitsTest.java70 * @param pos Position to expand word around
79 private void verifyWordLimits(String text, int pos, int correctStart, int correctEnd) argument
83 long limits = (Long)mGetWordLimits.invoke(mTv, new Object[] {new Integer(pos)});
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java124 * <var>pos</var> can be anything, even &lt; 0 or &gt; > 1, as the gradient
127 protected int getGradientColor(float pos) { argument
128 if (pos < 0.f) {
132 pos = 0.f;
137 pos = pos - (float)Math.floor(pos);
142 pos = Math.abs(pos);
145 int intPart = (int)Math.floor(pos);
[all...]

Completed in 3062 milliseconds

12345