/frameworks/av/include/media/ |
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);
|
/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/libmedia/ |
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/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/rs/java/android/renderscript/ |
H A D | ProgramFragment.java | 67 int idx = 0; 70 tmp[idx++] = ProgramParam.INPUT.mID; 71 tmp[idx++] = mInputs[i].getID(mRS); 74 tmp[idx++] = ProgramParam.OUTPUT.mID; 75 tmp[idx++] = mOutputs[i].getID(mRS); 78 tmp[idx++] = ProgramParam.CONSTANT.mID; 79 tmp[idx++] = mConstants[i].getID(mRS); 82 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 83 tmp[idx++] = mTextureTypes[i].mID;
|
H A D | ProgramVertex.java | 127 int idx = 0; 130 tmp[idx++] = ProgramParam.INPUT.mID; 131 tmp[idx++] = mInputs[i].getID(mRS); 134 tmp[idx++] = ProgramParam.OUTPUT.mID; 135 tmp[idx++] = mOutputs[i].getID(mRS); 138 tmp[idx++] = ProgramParam.CONSTANT.mID; 139 tmp[idx++] = mConstants[i].getID(mRS); 142 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 143 tmp[idx++] = mTextureTypes[i].mID;
|
H A D | ProgramFragmentFixedFunction.java | 54 int idx = 0; 57 tmp[idx++] = ProgramParam.INPUT.mID; 58 tmp[idx++] = mInputs[i].getID(mRS); 61 tmp[idx++] = ProgramParam.OUTPUT.mID; 62 tmp[idx++] = mOutputs[i].getID(mRS); 65 tmp[idx++] = ProgramParam.CONSTANT.mID; 66 tmp[idx++] = mConstants[i].getID(mRS); 69 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 70 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);
|
/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(long state, int idx) argument 504 nativeGetAttributeName(long state, int idx) argument 505 nativeGetAttributeResource(long state, int idx) argument 506 nativeGetAttributeDataType(long state, int idx) argument 507 nativeGetAttributeData(long state, int idx) argument 508 nativeGetAttributeStringValue(long 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/base/tools/aapt/ |
H A D | AaptXml.cpp | 81 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/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 338 static void Image_getLockedBufferInfo(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx, argument 344 ALOG_ASSERT((idx < IMAGE_READER_MAX_NUM_PLANES) && (idx >= 0)); 361 (idx == 0) ? 363 (idx == 1) ? 366 if (idx == 0) { 380 (idx == 0) ? 382 (idx == 1) ? 386 dataSize = (idx == 0) ? ySize : cSize; 400 (idx 482 Image_imageGetPixelStride(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx, int32_t readerFormat) argument 543 Image_imageGetRowStride(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx, int32_t readerFormat) argument 879 Image_createSurfacePlane(JNIEnv* env, jobject thiz, int idx, int readerFormat) argument 902 Image_getByteBuffer(JNIEnv* env, jobject thiz, int idx, int readerFormat) argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFReader.cpp | 91 for (size_t idx = 1; idx < entsize; ++idx) { 92 st_info = symtab[idx].st_info; 93 st_other = symtab[idx].st_other; 96 st_name = symtab[idx].st_name; 97 st_value = symtab[idx].st_value; 98 st_size = symtab[idx].st_size; 99 st_shndx = symtab[idx].st_shndx; 102 st_name = mcld::bswap32(symtab[idx] [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 186 jlong token, jint idx) 194 return static_cast<jint>(st->getAttributeNamespaceID(idx)); 198 jlong token, jint idx) 206 return static_cast<jint>(st->getAttributeNameID(idx)); 210 jlong token, jint idx) 218 return static_cast<jint>(st->getAttributeNameResID(idx)); 222 jlong token, jint idx) 230 return static_cast<jint>(st->getAttributeDataType(idx)); 234 jlong token, jint idx) 242 return static_cast<jint>(st->getAttributeData(idx)); 185 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 197 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 209 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 221 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 233 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 245 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 277 jint idx = static_cast<jint>(st->indexOfAttribute(ns16, nsLen, name16, nameLen)); local 296 ssize_t idx = st->indexOfID(); local 309 ssize_t idx = st->indexOfClass(); local 322 ssize_t idx = st->indexOfStyle(); local [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/ndk/ |
H A D | NdkMediaCodec.cpp | 247 size_t idx; local 248 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); 251 return idx; 257 uint8_t* AMediaCodec_getInputBuffer(AMediaCodec *mData, size_t idx, size_t *out_size) { argument 261 if (idx >= n) { 262 ALOGE("buffer index %zu out of range", idx); 266 *out_size = abufs[idx]->capacity(); 268 return abufs[idx]->data(); 275 uint8_t* AMediaCodec_getOutputBuffer(AMediaCodec *mData, size_t idx, size_t *out_size) { argument 279 if (idx > 293 AMediaCodec_queueInputBuffer(AMediaCodec *mData, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) argument 304 size_t idx; local 339 AMediaCodec_releaseOutputBuffer(AMediaCodec *mData, size_t idx, bool render) argument 348 AMediaCodec_releaseOutputBufferAtTime( AMediaCodec *mData, size_t idx, int64_t timestampNs) argument 371 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument [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/av/include/ndk/ |
H A D | NdkMediaCodec.h | 115 uint8_t* AMediaCodec_getInputBuffer(AMediaCodec*, size_t idx, size_t *out_size); 121 uint8_t* AMediaCodec_getOutputBuffer(AMediaCodec*, size_t idx, size_t *out_size); 134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags); 140 size_t idx, off_t offset, AMediaCodecCryptoInfo*, uint64_t time, uint32_t flags); 153 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool render); 164 AMediaCodec *mData, size_t idx, int64_t timestampNs);
|
/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 | 156 size_t idx = (mOffset+NUM_FRAME_RECORDS-i) % NUM_FRAME_RECORDS; local 159 const sp<Fence>& rfence = records[idx].frameReadyFence; 161 records[idx].frameReadyTime = rfence->getSignalTime(); 162 if (records[idx].frameReadyTime < INT64_MAX) { 163 records[idx].frameReadyFence = NULL; 169 const sp<Fence>& pfence = records[idx].actualPresentFence; 171 records[idx].actualPresentTime = pfence->getSignalTime(); 172 if (records[idx].actualPresentTime < INT64_MAX) { 173 records[idx].actualPresentFence = NULL; 180 updateStatsLocked(idx); [all...] |