Searched refs:index (Results 1 - 25 of 735) sorted by relevance

1234567891011>>

/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dget_sbr_startfreq.cpp136 Int32 index; local
142 index = 0;
146 index = 1;
150 index = 2;
154 index = 3;
158 index = 4;
162 index = 4;
166 index = 4;
171 index = 5;
176 index
[all...]
H A Dsbr_decode_huff_cw.cpp42 The table entries are interpreted either as index to the next entry
138 Char index = 0; local
140 while (index >= 0)
143 index = h[index][bits];
146 return((Int32)index + 64); /* Add offset */
H A Dget_ele_list.cpp128 FOR (index = 0; index < elementCount; index++)
130 pElementList->ele_is_cpe[index] =
133 pElementList->ele_is_cpe[index] = 0;
136 pElementList->ele_tag[index] = getbits(LEN_TAG, pInputStream);
218 Int index; local
225 for (index = pElementList->num_ele; index > 0; index
[all...]
H A Dsbr_decode_envelope.cpp111 Int32 index,
115 Int32 index,
204 Int32 index,
213 if (index < offset)
215 prevData[index] = currVal;
219 tmp = (index << 1) - offset;
227 if (index < offset)
229 tmp = (index << 1) + index;
236 tmp = (index <<
200 mapLowResEnergyVal( Int32 currVal, Int32 *prevData, Int32 offset, Int32 index, Int32 res) argument
249 indexLow2High(Int32 offset, Int32 index, Int32 res) argument
[all...]
H A Dpulse_nc.cpp132 index = pLongFrameInfo->win_sfb_top[0][pPulseInfo->pulse_start_sfb];
138 pCoef = &(Coef[index]);
140 FOR (index = pPulseInfo->number_pulse; index >= 0; index--)
230 Int index; local
242 index = pLongFrameInfo->win_sfb_top[0][pPulseInfo->pulse_start_sfb - 1];
246 index = 0;
250 Each pulse index is stored as an offset from the previous pulse
263 pCoef = &(coef[index]);
[all...]
/frameworks/base/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 Dq_pulse.h66 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]);
67 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]);
68 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]);
69 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]);
70 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]);
71 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]);
72 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]);
H A Ddec_alg_codebook.cpp118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
127 pos1 = ((index & mask) + offset);
129 i = ((index >> N) & 1L); /* i = ((index >> N) & 1); */
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
154 /* pos1 = (((index >> N) & mask) + offset); */
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset)));
157 i = (index >> tmp) & 1L; /* i = (index >> (2*N)) & 1; */
158 pos2 = add_int16((int16)(index
192 dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
229 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/android/database/
H A DCursorIndexOutOfBoundsException.java24 public CursorIndexOutOfBoundsException(int index, int size) { argument
25 super("Index " + index + " requested, with a size of " + size);
/frameworks/base/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 Dd_gain_p.cpp59 index -- Word16 -- index of quantization
76 Purpose : Decodes the pitch gain using the received index.
178 Word16 index /* i : index of quantization */
183 gain = qua_gain_pitch[index];
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
H A Dq_pulse.c36 Word32 index; local
42 index = L_deposit_l((Word16) (pos & mask));
45 index = vo_L_add(index, L_deposit_l(1 << N)); /* index += 1 << N; */
47 return (index);
57 Word32 index; local
67 /* index = ((pos1 & mask) << N) + (pos2 & mask); */
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask))));
72 index
113 Word32 index; local
155 Word32 index; local
193 Word32 i, j, k, index; local
259 Word32 i, j, k, index, tmp2; local
333 Word32 i, j, k, index; local
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java54 int index = mCount++;
58 mObjectHandles[index] = handle;
59 mPropertyCodes[index] = property;
60 mDataTypes[index] = type;
61 mLongValues[index] = value;
65 int index = mCount++;
69 mObjectHandles[index] = handle;
70 mPropertyCodes[index] = property;
71 mDataTypes[index] = MtpConstants.TYPE_STR;
72 mStringValues[index]
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/
H A DXmlUtils_Delegate.java43 int index = 0;
49 index++;
52 if ('0' == nm.charAt(index)) {
54 if (index == (len - 1))
57 char c = nm.charAt(index + 1);
60 index += 2;
63 index++;
67 else if ('#' == nm.charAt(index)) {
68 index++;
72 return ((int)Long.parseLong(nm.substring(index), bas
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
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/base/core/java/android/app/
H A DIThumbnailRetriever.aidl24 Bitmap getThumbnail(int index);
/frameworks/base/core/java/android/webkit/
H A DWebBackForwardListClient.java34 * Notify the client that the <var>item</var> at <var>index</var> is now
37 * @param index The new history index
39 public void onIndexChanged(WebHistoryItem item, int index) { } argument
/frameworks/base/core/java/com/android/internal/util/
H A DMemInfoReader.java30 private boolean matchText(byte[] buffer, int index, String text) { argument
32 if ((index+N) >= buffer.length) {
36 if (buffer[index+i] != text.charAt(i)) {
43 private long extractMemValue(byte[] buffer, int index) { argument
44 while (index < buffer.length && buffer[index] != '\n') {
45 if (buffer[index] >= '0' && buffer[index] <= '9') {
46 int start = index;
47 index
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/
H A Dd_gain_p.h39 * Purpose : Decodes the pitch gain using the received index.
63 * Purpose : Decodes the pitch gain using the received index.
65 * from the quantization table at the given index;
73 Word16 index /* i : index of quantization */
/frameworks/compile/linkloader/include/
H A DMemChunk.h47 unsigned char &operator[](size_t index) { argument
48 return buf[index];
51 unsigned char const &operator[](size_t index) const {
52 return buf[index];
/frameworks/base/tools/localize/
H A DValues.cpp14 index(ix),
27 index(-1),
40 index(that.index),
57 if (index != that.index) {
58 return index - that.index;
73 if (index < 0) {
77 sprintf(n, "%d:", index);
88 size_t index = 0; local
102 ParseTypedID(const string& raw, string* id, int* index) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java73 public void bridgeSetValue(int index, String name, ResourceValue value) { argument
74 mResourceData[index] = value;
75 mNames[index] = name;
99 int index = 1;
102 mIndices[index++] = i;
124 * Retrieve the styled string value for the attribute at <var>index</var>.
126 * @param index Index of attribute to retrieve.
132 public CharSequence getText(int index) { argument
133 if (index < 0 || index >
154 getString(int index) argument
175 getBoolean(int index, boolean defValue) argument
201 getInt(int index, int defValue) argument
269 getFloat(int index, float defValue) argument
308 getColor(int index, int defValue) argument
336 getColorStateList(int index) argument
403 getInteger(int index, int defValue) argument
424 getDimension(int index, float defValue) argument
477 getDimensionPixelOffset(int index, int defValue) argument
500 getDimensionPixelSize(int index, int defValue) argument
533 getLayoutDimension(int index, String name) argument
551 getLayoutDimension(int index, int defValue) argument
555 getDimension(int index) argument
601 getFraction(int index, int base, int pbase, float defValue) argument
644 getResourceId(int index, int defValue) argument
759 getDrawable(int index) argument
789 getTextArray(int index) argument
825 getValue(int index, TypedValue outValue) argument
848 hasValue(int index) argument
868 peekValue(int index) argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorJava.cpp451 int index = 0; local
467 for (index = 0; index < pClass->count; index++)
471 pClass->pConstants[index].pName,
472 &pClass->pConstants[index].java);
492 int index = 0; local
495 for (index = 0;
496 ((M4OSA_NULL == pName) && (index < pClass->count));
497 index
534 int index = 0; local
576 int index = 0; local
614 int index = 0; local
651 int index = 0; local
678 int index = 0; local
724 int index = 0; local
789 int index = 0; local
824 int index = 0; local
870 int index = 0; local
[all...]

Completed in 305 milliseconds

1234567891011>>