/frameworks/av/media/libmedia/ |
H A D | StringArray.h | 44 void erase(int idx); 65 const char* getEntry(int idx) const { 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; 73 void setEntry(int idx, const char* str);
|
H A D | StringArray.cpp | 74 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...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode_inline.h | 25 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/av/media/libstagefright/codecs/aacenc/src/ |
H A D | ms_stereo.c | 65 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...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ProgramFragment.java | 70 int idx = 0; 73 tmp[idx++] = ProgramParam.INPUT.mID; 74 tmp[idx++] = mInputs[i].getID(mRS); 77 tmp[idx++] = ProgramParam.OUTPUT.mID; 78 tmp[idx++] = mOutputs[i].getID(mRS); 81 tmp[idx++] = ProgramParam.CONSTANT.mID; 82 tmp[idx++] = mConstants[i].getID(mRS); 85 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 86 tmp[idx++] = mTextureTypes[i].mID;
|
H A D | ProgramVertex.java | 131 int idx = 0; 134 tmp[idx++] = ProgramParam.INPUT.mID; 135 tmp[idx++] = mInputs[i].getID(mRS); 138 tmp[idx++] = ProgramParam.OUTPUT.mID; 139 tmp[idx++] = mOutputs[i].getID(mRS); 142 tmp[idx++] = ProgramParam.CONSTANT.mID; 143 tmp[idx++] = mConstants[i].getID(mRS); 146 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 147 tmp[idx++] = mTextureTypes[i].mID;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ol_ltp.cpp | 96 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 D | ol_ltp.h | 113 Word16 idx, /* i : index */
|
H A D | pitch_ol.h | 110 Word16 idx, /* i : frame index */
|
/frameworks/rs/ |
H A D | rsDevice.cpp | 35 for (size_t idx=0; idx < mContexts.size(); idx++) { 36 if (mContexts[idx] == rsc) { 37 mContexts.removeAt(idx);
|
H A D | rsMesh.h | 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { argument 73 mIndexBuffers[index].set(idx); 74 mHal.state.indexBuffers[index] = idx;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | frametovalues.cpp | 43 for(int idx = 0; idx < numPixels; idx++, disp+=4) { 48 *(grayPtr+idx) = static_cast<unsigned char>(gray); 69 for(int idx = 0; idx < numPixels; idx++, pixelDisp += 4, rgbDisp += 3) {
|
/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 224 int idx = nativeGetAttributeIndex(mParseState, namespace, name); 225 if (idx >= 0) { 227 + namespace + ":" + name + " index = " + idx); 229 "Namespace=" + getAttributeNamespace(idx) 230 + "Name=" + getAttributeName(idx) 231 + ", Value=" + getAttributeValue(idx)); 232 return getAttributeValue(idx); 316 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute); 317 if (idx >= 0) { 318 return getAttributeListValue(idx, option 364 getAttributeListValue(int idx, String[] options, int defaultValue) argument 374 getAttributeBooleanValue(int idx, boolean defaultValue) argument 385 getAttributeResourceValue(int idx, int defaultValue) argument 394 getAttributeIntValue(int idx, int defaultValue) argument 404 getAttributeUnsignedIntValue(int idx, int defaultValue) argument 414 getAttributeFloatValue(int idx, float defaultValue) argument 503 nativeGetAttributeNamespace(int state, int idx) argument 504 nativeGetAttributeName(int state, int idx) argument 505 nativeGetAttributeResource(int state, int idx) argument 506 nativeGetAttributeDataType(int state, int idx) argument 507 nativeGetAttributeData(int state, int idx) argument 508 nativeGetAttributeStringValue(int state, int idx) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 66 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/compile/mclinker/lib/LD/ |
H A D | ELFReader.cpp | 90 for (size_t idx = 1; idx < entsize; ++idx) { 91 st_info = symtab[idx].st_info; 92 st_other = symtab[idx].st_other; 95 st_name = symtab[idx].st_name; 96 st_value = symtab[idx].st_value; 97 st_size = symtab[idx].st_size; 98 st_shndx = symtab[idx].st_shndx; 101 st_name = mcld::bswap32(symtab[idx] [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 183 jint token, jint idx) 191 return (jint)st->getAttributeNamespaceID(idx); 195 jint token, jint idx) 203 return (jint)st->getAttributeNameID(idx); 207 jint token, jint idx) 215 return (jint)st->getAttributeNameResID(idx); 219 jint token, jint idx) 227 return (jint)st->getAttributeDataType(idx); 231 jint token, jint idx) 239 return (jint)st->getAttributeData(idx); 182 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jint token, jint idx) argument 194 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jint token, jint idx) argument 206 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jint token, jint idx) argument 218 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jint token, jint idx) argument 230 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jint token, jint idx) argument 242 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jint token, jint idx) argument 274 jint idx = (jint)st->indexOfAttribute(ns16, nsLen, name16, nameLen); local 293 ssize_t idx = st->indexOfID(); local 306 ssize_t idx = st->indexOfClass(); local 319 ssize_t idx = st->indexOfStyle(); local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 315 static void Image_getLockedBufferInfo(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx, argument 321 ALOG_ASSERT((idx < IMAGE_READER_MAX_NUM_PLANES) && (idx >= 0)); 335 (idx == 0) ? 337 (idx == 1) ? 340 if (idx == 0) { 354 (idx == 0) ? 356 (idx == 1) ? 360 dataSize = (idx == 0) ? ySize : cSize; 374 (idx 441 Image_imageGetPixelStride(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx) argument 496 Image_imageGetRowStride(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx) argument 806 Image_createSurfacePlane(JNIEnv* env, jobject thiz, int idx) argument 826 Image_getByteBuffer(JNIEnv* env, jobject thiz, int idx) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 72 int idx; local 78 for (idx = 0; idx < nLayers; idx++) 80 decCtrl->volbuf[idx] = volbuf[idx]; 81 decCtrl->volbuf_size[idx] = volbuf_size[idx]; 145 for (idx = 0; idx < nLayer 529 int idx; local 555 int idx; local 775 int idx; local 882 int idx = -1; local 1042 int idx; local 1251 int idx; local [all...] |
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFSymbol.hxx | 126 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 D | dec_alg_codebook.cpp | 195 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/include/androidfw/ |
H A D | AssetDir.h | 53 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/native/services/surfaceflinger/ |
H A D | FrameTracker.cpp | 127 size_t idx = (mOffset+NUM_FRAME_RECORDS-i) % NUM_FRAME_RECORDS; local 130 const sp<Fence>& rfence = records[idx].frameReadyFence; 132 records[idx].frameReadyTime = rfence->getSignalTime(); 133 if (records[idx].frameReadyTime < INT64_MAX) { 134 records[idx].frameReadyFence = NULL; 140 const sp<Fence>& pfence = records[idx].actualPresentFence; 142 records[idx].actualPresentTime = pfence->getSignalTime(); 143 if (records[idx].actualPresentTime < INT64_MAX) { 144 records[idx].actualPresentFence = NULL; 151 updateStatsLocked(idx); [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSExecutable.cpp | 60 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/opengl/tools/glgen/src/ |
H A D | JniCodeEmitter.java | 495 int idx = nonPrimitiveArgs.get(i).intValue(); 496 int cIndex = jfunc.getArgCIndex(idx); 497 if (jfunc.getArgType(idx).isArray()) { 501 } else if (jfunc.getArgType(idx).isBuffer()) { 857 int idx = nonPrimitiveArgs.get(i).intValue(); 858 JType argType = jfunc.getArgType(idx); 983 int idx = nonPrimitiveArgs.get(i).intValue(); 984 int cIndex = jfunc.getArgCIndex(idx); 987 if (jfunc.getArgType(idx).isBuffer() 988 || jfunc.getArgType(idx) [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.cpp | 69 ssize_t idx; local 73 idx = mStates.removeItem(id); 76 if (idx >= 0) { 180 ssize_t idx = mStates.indexOfKey(newState.id); local 182 if (idx >= 0) { 184 mStates.replaceValueAt(idx, newState.state);
|