/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d2_11pf.cpp | 160 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 D | d3_14pf.cpp | 165 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 D | d4_17pf.cpp | 46 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 D | d2_9pf.cpp | 187 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 D | armVCM4P10_InterpolateHalfHor_Luma.c | 54 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 D | armVCM4P10_InterpolateHalfVer_Luma.c | 54 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 D | armVCM4P10_InterpolateHalfDiag_Luma.c | 55 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/tools/aidl/ |
H A D | options.cpp | 133 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/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_acelp_4p_in_64.cpp | 123 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 D | dec_alg_codebook.cpp | 87 #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 D | ListUtil.java | 44 * @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 D | file_wrapper_input.cpp | 62 bool FileWrapperInput::Seek(uint32_t pos) { argument 63 return 0 == fseek(_file, (long) pos, SEEK_SET);
|
H A D | in_memory_wrapper_input.cpp | 53 bool InMemoryWrapperInput::Seek(uint32_t pos) { argument 54 if (pos < _size) { 55 _pos = pos;
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | GeneralOptions.cpp | 80 size_t pos = pName.find_last_of(sys::fs::separator); local 81 if (std::string::npos == pos) 84 m_SOName = pName.substr(pos + 1);
|
H A D | InputTree.cpp | 57 bool mcld::isGroup(const InputTree::iterator& pos) argument 59 return !pos.hasData() && !pos.isRoot(); 62 bool mcld::isGroup(const InputTree::const_iterator& pos) argument 64 return !pos.hasData() && !pos.isRoot(); 67 bool mcld::isGroup(const InputTree::dfs_iterator& pos) argument 69 return !pos.hasData() && !pos.isRoot(); 72 bool mcld::isGroup(const InputTree::const_dfs_iterator& pos) argument 77 isGroup(const InputTree::bfs_iterator& pos) argument 82 isGroup(const InputTree::const_bfs_iterator& pos) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Utils.cpp | 23 off64_t pos = fAsset->seek(0, SEEK_SET); local 24 if (pos == (off64_t)-1) {
|
/frameworks/compile/mclinker/unittests/ |
H A D | BinTreeTest.cpp | 50 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 277 BinaryTree<int>::iterator pos = m_pTestee->root(); local [all...] |
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | TransportController.java | 64 * @param pos Position to move to, in milliseconds. 66 public abstract void seekTo(long pos); argument
|
/frameworks/wilhelm/src/itf/ |
H A D | ISeek.c | 22 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 D | decim54.c | 96 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 D | q_pulse.c | 29 #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 D | BackupHelperDispatcher.java | 87 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 D | android_util_StringBlock.cpp | 112 const ResStringPool_span* pos = spans; local 114 while (pos->name.index != ResStringPool_span::END) { 116 pos++;
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewWordLimitsTest.java | 70 * @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 D | Gradient_Delegate.java | 124 * <var>pos</var> can be anything, even < 0 or > > 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...] |