Searched defs:idx (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dol_ltp.cpp96 idx = 16 bit value specifies the frame index
139 Word16 idx, // i : index
151 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx);
158 idx, dtx);
163 old_lags, ol_gain_flg, idx, dtx);
168 L_FRAME_BY2, idx, dtx);
210 Word16 idx, /* i : index */
223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx,
231 idx, dtx, pOverflow);
236 old_lags, ol_gain_flg, idx, dt
201 ol_ltp( pitchOLWghtState *st, vadState *vadSt, enum Mode mode, Word16 wsp[], Word16 *T_op, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
[all...]
H A Dp_ol_wgh.cpp684 idx = 16 bit value specifies the frame index
728 Word16 idx, // i : index
791 st->old_T0_med, &max1, st->wght_flg, &ol_gain_flg[idx],
794 if (ol_gain_flg[idx] > 0)
823 if (sub(idx, 1) == 0)
870 Word16 idx, /* i : index */
935 st->old_T0_med, &max1, st->wght_flg, &ol_gain_flg[idx],
938 if (ol_gain_flg[idx] > 0)
968 if (sub(idx, 1, pOverflow) == 0)
860 Pitch_ol_wgh( pitchOLWghtState *st, vadState *vadSt, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
H A Dpitch_ol.cpp676 idx = 16 bit value specifies the frame index
730 Word16 idx, // i : frame index
867 if (sub(idx, 1) == 0)
947 Word16 idx, /* i : frame index */
1155 if (idx == 1)
939 Pitch_ol( vadState *vadSt, enum Mode mode, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 idx, Flag dtx, Flag *pOverflow ) argument
/frameworks/base/awt/org/apache/harmony/awt/gl/color/
H A DICC_ProfileHelper.java35 * @param idx - byte offset
38 public static int getIntFromByteArray(byte[] byteArray, int idx) { argument
39 return (byteArray[idx] & 0xFF)|
40 ((byteArray[idx+1] & 0xFF) << 8) |
41 ((byteArray[idx+2] & 0xFF) << 16)|
42 ((byteArray[idx+3] & 0xFF) << 24);
49 * @param idx - byte offset
52 public static int getBigEndianFromByteArray(byte[] byteArray, int idx) { argument
53 return ((byteArray[idx] & 0xFF) << 24) |
54 ((byteArray[idx
66 getShortFromByteArray(byte[] byteArray, int idx) argument
[all...]
/frameworks/base/libs/utils/
H A DStringArray.cpp74 void StringArray::erase(int idx) { argument
75 if (idx < 0 || idx >= mCurrent)
77 delete[] mArray[idx];
78 if (idx < mCurrent-1) {
79 memmove(&mArray[idx], &mArray[idx+1],
80 (mCurrent-1 - idx) * sizeof(char*));
103 void StringArray::setEntry(int idx, const char* str) { argument
104 if (idx <
[all...]
H A Dmisc.cpp56 int len, totalLen, posn, idx; local
61 totalLen = idx = 0;
63 if (idx == argc || argv[idx] == NULL)
65 if (idx)
67 totalLen += strlen(argv[idx]);
68 idx++;
81 idx = posn = 0;
83 if (idx == argc || argv[idx]
[all...]
H A DBufferedTextOutput.cpp130 static void freeBufferIndex(int32_t idx) argument
133 gTextBuffers.editItemAt(idx) = gFreeBufferIndex;
134 gFreeBufferIndex = idx;
/frameworks/base/awt/java/awt/font/
H A DTextHitInfo.java40 * The char idx.
52 * @param idx
53 * the idx.
57 private TextHitInfo(int idx, boolean isTrailing) { argument
58 charIdx = idx;
/frameworks/base/libs/rs/java/Film/res/raw/
H A Dfilmimage.c16 int dx, dy, idx; local
47 idx = newPart * 5 + 1;
48 storeI32(con, 2, idx, dx);
49 storeI32(con, 2, idx + 1, dy);
50 storeI32(con, 2, idx + 2, maxLife);
51 storeI32(con, 2, idx + 3, x << 16);
52 storeI32(con, 2, idx + 4, y << 16);
/frameworks/base/libs/rs/
H A DrsSimpleMesh.cpp118 RsSimpleMesh rsi_SimpleMeshCreate(Context *rsc, RsType prim, RsType idx, RsType *vtx, uint32_t vtxCount, uint32_t primType) argument
123 sm->mIndexType.set((const Type *)idx);
/frameworks/base/media/libstagefright/codecs/amrwb/src/
H A Ddec_alg_codebook.cpp195 int32 mask, idx; local
204 idx = index & mask;
213 dec_2p_2N1(idx, (int16)(N - 1), j, pos);
216 tmp = N << 1; /* idx = (index >> (2*N)) & mask; */
217 idx = (index >> tmp) & mask;
219 dec_1p_N1(idx, N, offset, pos + 2);
232 int32 mask, idx; local
239 idx = index & mask;
248 dec_2p_2N1(idx, (int16)(N - 1), j, pos);
253 idx
319 int32 idx; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_StringBlock.cpp83 jint token, jint idx)
92 const char* str8 = osb->string8At(idx, &len);
97 const char16_t* str = osb->stringAt(idx, &len);
107 jint token, jint idx)
115 const ResStringPool_span* spans = osb->styleAt(idx);
162 ssize_t idx = osb->indexOfString(str16, strLen); local
166 return idx;
82 android_content_StringBlock_nativeGetString(JNIEnv* env, jobject clazz, jint token, jint idx) argument
106 android_content_StringBlock_nativeGetStyle(JNIEnv* env, jobject clazz, jint token, jint idx) argument
H A Dandroid_util_XmlBlock.cpp193 jint token, jint idx)
201 return (jint)st->getAttributeNamespaceID(idx);
205 jint token, jint idx)
213 return (jint)st->getAttributeNameID(idx);
217 jint token, jint idx)
225 return (jint)st->getAttributeNameResID(idx);
229 jint token, jint idx)
237 return (jint)st->getAttributeDataType(idx);
241 jint token, jint idx)
249 return (jint)st->getAttributeData(idx);
192 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jint token, jint idx) argument
204 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jint token, jint idx) argument
216 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jint token, jint idx) argument
228 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jint token, jint idx) argument
240 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jint token, jint idx) argument
252 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jint token, jint idx) argument
284 jint idx = (jint)st->indexOfAttribute(ns16, nsLen, name16, nameLen); local
303 ssize_t idx = st->indexOfID(); local
316 ssize_t idx = st->indexOfClass(); local
329 ssize_t idx = st->indexOfStyle(); local
[all...]
/frameworks/base/include/utils/
H A DAssetDir.h53 const String8& getFileName(int idx) { argument
54 return mFileInfo->itemAt(idx).getFileName();
56 const String8& getSourceName(int idx) { argument
57 return mFileInfo->itemAt(idx).getSourceName();
63 FileType getFileType(int idx) { argument
64 return mFileInfo->itemAt(idx).getFileType();
/frameworks/base/awt/java/awt/color/
H A DColorSpace.java241 * @param idx
245 public String getName(int idx) { argument
246 if (idx < 0 || idx > numComponents - 1) {
248 throw new IllegalArgumentException(Messages.getString("awt.16A", idx)); //$NON-NLS-1$
251 return "Unnamed color component #" + idx; //$NON-NLS-1$
/frameworks/base/awt/java/awt/image/
H A DDirectColorModel.java812 int idx;
814 idx = (int)(scales[i] * j + 0.5f);
816 idx = (int)(scales[i] * j * 257.0f + 0.5f);
818 colorLUTs[i][j] = from_LINEAR_RGB_LUT[idx];
833 * @param idx
837 private int getComponentFrom_sRGB(int pixel, int idx) { argument
838 int comp = (pixel & componentMasks[idx]) >> offsets[idx];
841 comp = alpha == 0 ? 0 : (int)(scales[idx] * comp * 255.0f / (scales[3] * alpha) + 0.5f);
842 } else if (bits[idx] !
858 getComponentFrom_LINEAR_RGB(int pixel, int idx) argument
882 getComponentFrom_RGB(int pixel, int idx) argument
[all...]
H A DComponentColorModel.java356 for (int i = 0, idx = offset; i < numComponents; i++, idx++) {
357 ba[i] = (byte)components[idx];
367 for (int i = 0, idx = offset; i < numComponents; i++, idx++) {
368 sa[i] = (short)components[idx];
378 for (int i = 0, idx = offset; i < numComponents; i++, idx++) {
379 ia[i] = components[idx];
394 for (int i = 0, idx
1353 getRGBComponent(Object pixel, int idx) argument
1382 getDefComponent(Object pixel, int idx) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java62 public CharSequence get(int idx) { argument
65 CharSequence res = mStrings[idx];
70 CharSequence res = mSparseStrings.get(idx);
82 String str = nativeGetString(mNative, idx);
84 int[] style = nativeGetStyle(mNative, idx);
109 if (mStrings != null) mStrings[idx] = res;
110 else mSparseStrings.put(idx, res);
404 private static final native String nativeGetString(int obj, int idx); argument
405 private static final native int[] nativeGetStyle(int obj, int idx); argument
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dhuffspec_fxp.cpp320 Int idx; local
489 idx = (*pDec_huff_tab)(pInputStream);
492 idx,
495 &max); /* unpack idx -> coefs */
/frameworks/base/media/libstagefright/codecs/avc/common/src/
H A Ddpb.cpp618 /* now mark the picture with picNumX to long term frame idx */
691 void unmark_for_reference(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, uint idx) argument
694 AVCFrameStore *fs = dpb->fs[idx];
704 avcHandle->CBAVC_FrameUnbind(avcHandle->userData, idx);
/frameworks/base/media/libstagefright/codecs/avc/dec/src/
H A Dresidual.cpp177 int block_x, i, j, k, idx, iCbCr; local
210 idx = zz_scan[coeffNum] << 2;
211 /* idx = ((idx>>2)<<6) + ((idx&3)<<2); */
212 block[idx] = level[i];
245 block[idx] should be assigned with level[k].
248 then addition with block[idx], then this quantization
259 idx = zz_scan[coeffNum];
260 block[idx]
[all...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_file.c65 int idx; local
73 for (idx = 0; idx < strLength; ++idx)
308 int idx; local
313 for (idx = 0; idx < strLength; ++idx)
315 if (ent->d_name[idx] != strData[idx])
[all...]
/frameworks/base/tools/aapt/
H A DStringPool.cpp60 ssize_t idx = mIdents.valueFor(ident); local
61 if (idx >= 0) {
63 String8(mEntries[idx].value).string());
109 status_t StringPool::addStyleSpan(size_t idx, const String16& name, argument
116 return addStyleSpan(idx, span);
119 status_t StringPool::addStyleSpans(size_t idx, const Vector<entry_style_span>& spans) argument
123 status_t err = addStyleSpan(idx, spans[i]);
131 status_t StringPool::addStyleSpan(size_t idx, const entry_style_span& span) argument
136 while (mEntryStyleArray.size() <= idx) {
140 entry_style& style = mEntryStyleArray.editItemAt(idx);
207 ssize_t idx = add(span.name, true); local
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/font/
H A DTextRunBreaker.java623 for (int idx = firstEndpoint; idx < secondEndpoint; idx=segment.getEnd()) {
624 segment = runSegments.get(logical2segment[idx]);
625 bounds.append(segment.getCharsBlackBoxBounds(idx, secondEndpoint), false);
673 public byte getLevel(int idx) { argument
677 return levels[idx];
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java199 public boolean selectDrawable(int idx) argument
201 if (idx == mCurIndex) {
204 if (idx >= 0 && idx < mDrawableContainerState.mNumChildren) {
205 Drawable d = mDrawableContainerState.mDrawables[idx];
210 mCurIndex = idx;

Completed in 890 milliseconds

12