Searched defs:index (Results 1 - 25 of 908) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd2_11pf.cpp95 index -- Word16 -- Positions of the 2 pulses.
152 Word16 index, /* i : Positions of the 2 pulses. */
164 j = index & 0x1;
166 index >>= 1;
168 i = index & 0x7;
175 index >>= 3;
177 j = index & 0x3;
179 index >>= 2;
181 i = index & 0x7;
150 decode_2i40_11bits( Word16 sign, Word16 index, Word16 cod[] ) argument
H A Dd3_14pf.cpp101 index -- Word16 -- Positions of the 3 pulses.
158 Word16 index, /* i : Positions of the 3 pulses. */
169 i = index & 0x7;
177 index >>= 3;
179 j = index & 0x1;
181 index >>= 1;
183 i = index & 0x7;
191 index >>= 3;
193 j = index & 0x1;
195 index >>
156 decode_3i40_14bits( Word16 sign, Word16 index, Word16 cod[] ) argument
[all...]
H A Dd4_17pf.cpp121 index -- Word16 -- Positions of the 3 pulses.
178 Word16 index, /* i : Positions of the 4 pulses. */
199 i = index & 0x7;
206 index >>= 3;
208 i = index & 0x7;
216 index >>= 3;
218 i = index & 0x7;
228 index >>= 3;
230 j = index & 0x1;
232 index >>
176 decode_4i40_17bits( Word16 sign, Word16 index, Word16 cod[] ) argument
[all...]
H A Dd1035pf.cpp93 index = buffer containing index of 10 pulses; each element is
112 This function builds the innovative codevector from the received index of
130 Word16 index[], // (i) : index of 10 pulses (sign+position)
145 // compute index i
147 tmp = index[j];
166 // compute index i
168 i = index[add (j, 5)] & 7;
208 Word16 index[], /* (
207 dec_10i40_35bits( Word16 index[], Word16 cod[] ) argument
[all...]
H A Dd2_9pf.cpp119 index -- Word16 -- Positions of the 2 pulses.
178 Word16 index, /* i : Positions of the 2 pulses. */
192 j = (Word16)(index & 64);
196 i = index & 7;
210 index >>= 3;
212 i = index & 7;
175 decode_2i40_9bits( Word16 subNr, Word16 sign, Word16 index, Word16 cod[], Flag *pOverflow ) argument
H A Ddec_lag3.cpp63 index -- Word16 -- received pitch index
93 the received adaptive codebook index.
186 void Dec_lag3(Word16 index, /* i : received pitch index */ argument
204 if (index < 197)
207 tmp_lag = index + 2;
230 index,
242 *T0 = index - 112;
258 index,
[all...]
H A Ddec_lag6.cpp63 index -- Word16 -- received pitch index
89 the received adaptive codebook index.
96 decoder receives 61, 62, or 63 as the relative pitch index, it means
186 Word16 index, /* input : received pitch index */
203 if (index < 463)
205 /* T0 = (index+5)/6 + 17 */
206 i = index + 5;
226 /* *T0_frac = index
185 Dec_lag6( Word16 index, Word16 pit_min, Word16 pit_max, Word16 i_subfr, Word16 *T0, Word16 *T0_frac, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_acelp_2p_in_64.cpp47 int16 index, (i): 12 bits index
125 int16 index, /* (i): 12 bits index */
135 i = (index >> 5) & 0x003E;
137 if (((index >> 6) & NB_POS) == 0)
146 i = ((index & 0x001F) << 1) + 1;
148 if ((index & NB_POS) == 0)
124 dec_acelp_2p_in_64( int16 index, int16 code[] ) argument
H A Ddec_acelp_4p_in_64.cpp47 int16 index[], (i) : index (20): 5+5+5+5 = 20 bits.
48 (i) : index (36): 9+9+9+9 = 36 bits.
49 (i) : index (44): 13+9+13+9 = 44 bits.
50 (i) : index (52): 13+13+13+13 = 52 bits.
51 (i) : index (64): 2+2+2+2+14+14+14+14 = 64 bits.
52 (i) : index (72): 10+2+10+2+10+14+10+14 = 72 bits.
53 (i) : index (88): 11+11+11+11+11+11+11+11 = 88 bits.
149 int16 index[], /* (i) : index (2
148 dec_acelp_4p_in_64( int16 index[], int16 nbbits, int16 code[] ) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSoundTriggerSession.cpp35 ssize_t index = indexOfKey(session); local
36 if (index < 0) {
/frameworks/base/core/java/android/database/
H A DCursorIndexOutOfBoundsException.java24 public CursorIndexOutOfBoundsException(int index, int size) { argument
25 super("Index " + index + " requested, with a size of " + size);
/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_test_fixture.cpp74 int index = 1; local
76 // First check arguments that can shift the index.
78 index++;
82 index++;
88 if (argc > index + 1) {
89 if (strcmp(argv[index], "--sleep") == 0) {
90 int napTime = atoi(argv[index + 1]);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetProgramResourceName.cpp1 /* void glGetProgramResourceName ( GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name ) */
4 (JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) {
3 android_glGetProgramResourceName(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) argument
H A DglGetStringi.cpp1 /* const GLubyte * glGetStringi ( GLenum name, GLuint index ) */
4 (JNIEnv *_env, jobject _this, jint name, jint index) {
5 const GLubyte* _chars = glGetStringi((GLenum)name, (GLuint)index);
3 android_glGetStringi__II(JNIEnv *_env, jobject _this, jint name, jint index) argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Denc_lag6.cpp106 Word16 -- Return index of encoding
128 index = (T-17)*6 + frac - 3;
131 index = (T - 95) + 463; where T=[95..143]
142 index = (T-(t_min-1))*6 + frac - 3;
146 or 63 as the relative pitch index, it means that a transmission
186 Word16 Enc_lag6( /* o : Return index of encoding */
194 Word16 index; local
203 /* index = T0*6 - 105 + T0_frac */
206 index = add(i, T0_frac, pOverflow);
210 index
[all...]
H A Denc_lag3.cpp127 * index = (T-19)*3 + frac - 1;
130 * index = (T - 85) + 197; where T=[86..143]
141 * index = (T-(t_min-1))*3 + frac - 1;
157 Word16 index, i, tmp_ind, uplag;
167 // index = T0*3 - 58 + T0_frac
169 index = add (sub (i, 58), T0_frac);
173 index = add (T0, 112);
182 // index = 3*(T0 - T0_min) + 2 + T0_frac
185 index = add (add (i, 2), T0_frac);
204 index
262 Word16 index, i, tmp_ind, uplag; local
[all...]
H A Dq_gain_c.cpp141 quantization index -- Word16 -- Q0
191 Word16 q_gain_code( /* o : quantization index, Q0 */
205 Word16 index; local
253 index = 0;
270 index = i;
274 temp = index + (index << 1);
292 return index;
H A Dq_gain_p.cpp130 Word16 -- index of quantization
179 Word16 q_gain_pitch( /* Return index of quantization */
189 Word16 index; local
196 index = 0;
208 index = i;
215 /* in MR795 mode, compute three gain_pit candidates around the index
216 * found in the quantization loop: the index found and the two direct
222 if (index == 0)
224 ii = index;
228 if (index
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_Copy16x16.c75 OMX_INT count,index, x, y; local
86 for (y = 0, count = 0, index = 0; y < 16; y++, count = count + step - 16)
88 for (x = 0; x < 16; x++, count++, index++)
90 pDst[index] = pSrc[count];
H A DomxVCCOMM_Copy8x8.c75 OMX_INT count,index, x, y; local
86 for (y = 0, count = 0, index = 0; y < 8; y++, count = count + step - 8)
88 for (x = 0; x < 8; x++, count++, index++)
90 pDst[index] = pSrc[count];
/frameworks/base/core/java/android/webkit/
H A DWebBackForwardList.java35 * Get the index of the current history item. This index can be used to
36 * directly index into the array list.
37 * @return The current index from 0...n or -1 if the list is empty.
42 * Get the history item at the given index. The index range is from 0...n
44 * @param index The index to retrieve.
46 public abstract WebHistoryItem getItemAtIndex(int index); argument
/frameworks/base/media/java/android/media/
H A DExternalRingtonesCursorWrapper.java39 public String getString(int index) { argument
40 String result = super.getString(index);
41 if (index == RingtoneManager.URI_COLUMN_INDEX) {
/frameworks/native/services/sensorservice/
H A DSensorRecord.cpp42 ssize_t index = mConnections.indexOf(connection); local
43 if (index >= 0) {
44 mConnections.removeItemsAt(index, 1);
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockSessionLibrary.cpp63 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); local
64 if (index < 0) {
73 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); local
74 if (index < 0) {
78 sp<MockCasSession> session = mIDToSessionMap.valueAt(index);
79 mIDToSessionMap.removeItemsAt(index);
85 for (ssize_t index = mIDToSessionMap.size() - 1; index >= 0; index--) {
86 sp<MockCasSession> session = mIDToSessionMap.valueAt(index);
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DTypeTraits.h169 * If T occurs in Us, index is the 1-based left-most index of T in Us. Otherwise, index is 0.
173 static constexpr size_t index = _find_first_impl<1, T, Us...>::value; member in struct:android::find_first
180 * Adds a base index.
190 static constexpr size_t index = member in struct:android::_find_first_convertible_to_helper
192 _find_first_convertible_to_helper<Base + 1, T, Us...>::index;
203 static constexpr size_t index = 0; member in struct:android::_find_first_convertible_to_helper
211 * index, from a list of other types (Us).
213 * Returns index o
[all...]

Completed in 492 milliseconds

1234567891011>>