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

123

/frameworks/av/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/av/media/libmedia/
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 DCharacterEncodingDetector.cpp92 int idx; local
H A DMediaScanner.cpp112 int idx = 0; local
116 while (mSkipIndex[idx] != -1) {
118 if ((len == mSkipIndex[idx])
124 startPos += mSkipIndex[idx] + 1; // extra char for the delimiter
125 idx++;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode_inline.h25 Int idx, run, level, j; local
28 idx = 0;
53 RLB->level[idx] = -level;
54 RLB->s[idx] = 1;
55 RLB->run[idx] = run;
57 idx++;
61 RLB->level[idx] = level;
62 RLB->s[idx] = 0;
63 RLB->run[idx] = run;
65 idx
116 Int idx, run, level, j; local
230 Int idx, run, level = 0, j; local
[all...]
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSymbol.hxx126 size_t idx = (size_t)getSectionIndex(); local
132 switch (idx) {
138 unsigned section_type = (*header)[idx]->getType();
159 ELFSectionTy const *sec = owner->getSectionByIndex(idx);
215 switch (idx) {
221 rsl_assert((*header)[idx]->getType() == SHT_PROGBITS &&
224 ELFSectionTy const *sec = owner->getSectionByIndex(idx);
244 switch (idx) {
250 rsl_assert(((*header)[idx]->getType() == SHT_PROGBITS ||
251 (*header)[idx]
[all...]
/frameworks/av/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.cpp75 jlong token, jint idx)
84 const char* str8 = osb->string8At(idx, &len);
89 const char16_t* str = osb->stringAt(idx, &len);
99 jlong token, jint idx)
107 const ResStringPool_span* spans = osb->styleAt(idx);
74 android_content_StringBlock_nativeGetString(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
98 android_content_StringBlock_nativeGetStyle(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
/frameworks/base/tools/aapt/
H A DAaptXml.cpp81 ssize_t idx = tree.indexOfAttribute(ns, attr); local
82 if (idx < 0) {
85 return getStringAttributeAtIndex(tree, idx, outError);
89 ssize_t idx = indexOfAttribute(tree, attrRes); local
90 if (idx < 0) {
93 return getStringAttributeAtIndex(tree, idx, outError);
98 ssize_t idx = indexOfAttribute(tree, attrRes); local
99 if (idx < 0) {
103 if (tree.getAttributeValue(idx, &value) != NO_ERROR) {
106 const uint16_t* str = tree.getAttributeStringValue(idx,
125 ssize_t idx = tree.indexOfAttribute(ns, attr); local
134 ssize_t idx = indexOfAttribute(tree, attrRes); local
143 ssize_t idx = indexOfAttribute(tree, attrRes); local
165 ssize_t idx = indexOfAttribute(tree, attrRes); local
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSExecutable.cpp60 unsigned idx; local
62 idx = 0;
68 var_iter++, idx++) {
73 //"object!", idx, name);
79 idx = 0;
85 func_iter++, idx++) {
90 //" object!", idx, name);
96 idx = 0;
102 foreach_iter != foreach_end; foreach_iter++, idx++) {
109 // "result object!", idx, expanded_func_nam
[all...]
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp94 const ssize_t idx = mClients.indexOf(ident); local
96 if (idx < 0) {
100 if (idx >= 0) {
101 mClients.removeItemsAt(idx);
H A DSensorDevice.cpp352 ssize_t idx = batchParams.removeItem(ident); local
353 if (idx >= 0) {
356 return idx;
/frameworks/rs/driver/
H A DrsdVertexArray.cpp66 void RsdVertexArray::logAttrib(uint32_t idx, uint32_t slot) const { argument
67 if (idx == 0) {
71 idx, slot,
72 mAttribs[idx].name.string(),
73 mAttribs[idx].buffer,
74 mAttribs[idx].ptr,
75 mAttribs[idx].size,
76 mAttribs[idx].type,
77 mAttribs[idx].stride,
78 mAttribs[idx]
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dms_stereo.c65 Word32 idx, shift; local
67 idx = sfb + sfboffs;
69 thrL = sfbThresholdLeft[idx];
70 thrR = sfbThresholdRight[idx];
71 nrgL = sfbEnergyLeft[idx];
72 nrgR = sfbEnergyRight[idx];
85 nrgL = sfbEnergyMid[idx];
86 nrgR = sfbEnergySide[idx];
103 msMask[idx] = 1;
106 for (j=sfbOffset[idx];
[all...]
H A Dblock_switch.c252 Word32 i, idx; local
256 idx = 0;
262 idx = i;
265 *index = idx;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_InterpolateLuma_s.s85 idx RN 6 label
116 idx RN 6 label
133 M_LDR idx, ptridx
141 ADD index, idx, idy, LSL #2 ;// [index] = [idy][idx]
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp66 ssize_t idx; local
70 idx = mStates.removeItem(id);
73 if (idx >= 0) {
177 ssize_t idx = mStates.indexOfKey(newState.id); local
179 if (idx >= 0) {
181 mStates.replaceValueAt(idx, newState.state);
/frameworks/base/include/androidfw/
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/rs/
H A DrsMesh.h72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { argument
73 mIndexBuffers[index].set(idx);
74 mHal.state.indexBuffers[index] = idx;
/frameworks/av/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/av/services/audiopolicy/
H A DAudioPolicyEffects.cpp96 ssize_t idx = mInputs.indexOfKey(input); local
98 if (idx < 0) {
103 inputDesc = mInputs.valueAt(idx);
235 ssize_t idx = mOutputSessions.indexOfKey(audioSession); local
237 if (idx < 0) {
242 procDesc = mOutputSessions.valueAt(idx);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor3.cpp530 size_t idx = 0; local
602 idx = j;
625 ALOGV("%s: Candidate timestamp %" PRId64 " (idx %zu), empty frames: %zu",
626 __FUNCTION__, minTimestamp, idx, emptyCount);
629 *metadataIdx = idx;
/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);
136 if (mStrings != null) mStrings[idx] = res;
137 else mSparseStrings.put(idx, res);
489 private static native String nativeGetString(long obj, int idx); argument
490 private static native int[] nativeGetStyle(long obj, int idx); argument

Completed in 842 milliseconds

123