/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 | 118 uint8_t* AMediaCodec_getInputBuffer(AMediaCodec*, size_t idx, size_t *out_size); 124 uint8_t* AMediaCodec_getOutputBuffer(AMediaCodec*, size_t idx, size_t *out_size); 137 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags); 143 size_t idx, off_t offset, AMediaCodecCryptoInfo*, uint64_t time, uint32_t flags); 157 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool render); 180 AMediaCodec *mData, size_t idx, int64_t timestampNs);
|
H A D | NdkMediaExtractor.h | 78 AMediaFormat* AMediaExtractor_getTrackFormat(AMediaExtractor*, size_t idx); 86 media_status_t AMediaExtractor_selectTrack(AMediaExtractor*, size_t idx); 92 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor*, size_t idx);
|
/frameworks/base/libs/androidfw/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 | 152 size_t idx = (mOffset+NUM_FRAME_RECORDS-i) % NUM_FRAME_RECORDS; local 155 const std::shared_ptr<FenceTime>& rfence = records[idx].frameReadyFence; 157 records[idx].frameReadyTime = rfence->getSignalTime(); 158 if (records[idx].frameReadyTime < INT64_MAX) { 159 records[idx].frameReadyFence = NULL; 166 records[idx].actualPresentFence; 168 records[idx].actualPresentTime = pfence->getSignalTime(); 169 if (records[idx].actualPresentTime < INT64_MAX) { 170 records[idx].actualPresentFence = NULL; 177 updateStatsLocked(idx); [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | stubhal.cpp | 86 ssize_t idx = local 88 ALOG_ASSERT(idx >= 0 && static_cast<size_t>(idx) < g_instance_used.size(), 90 g_instance_used[static_cast<size_t>(idx)] = false;
|
/frameworks/rs/ |
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;
|
H A D | rsElement.h | 89 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();} 90 const char * getFieldName(uint32_t idx) const {return mFields[idx].name;} 91 uint32_t getFieldArraySize(uint32_t idx) const {return mFields[idx].arraySize;}
|
/frameworks/base/services/core/java/com/android/server/om/ |
H A D | OverlayManagerSettings.java | 98 final int idx = select(packageName, userId); 99 if (idx < 0) { 103 mItems.remove(idx); 109 final int idx = select(packageName, userId); 110 if (idx < 0) { 113 return mItems.get(idx).getOverlayInfo(); 121 final int idx = select(packageName, userId); 122 if (idx < 0) { 125 return mItems.get(idx).setBaseCodePath(path); 129 final int idx [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 274 size_t idx; local 275 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); 278 return idx; 284 uint8_t* AMediaCodec_getInputBuffer(AMediaCodec *mData, size_t idx, size_t *out_size) { argument 288 if (idx >= n) { 289 ALOGE("buffer index %zu out of range", idx); 292 if (abufs[idx] == NULL) { 293 ALOGE("buffer index %zu is NULL", idx); 297 *out_size = abufs[idx]->capacity(); 299 return abufs[idx] 306 AMediaCodec_getOutputBuffer(AMediaCodec *mData, size_t idx, size_t *out_size) argument 324 AMediaCodec_queueInputBuffer(AMediaCodec *mData, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) argument 335 size_t idx; local 370 AMediaCodec_releaseOutputBuffer(AMediaCodec *mData, size_t idx, bool render) argument 379 AMediaCodec_releaseOutputBufferAtTime( AMediaCodec *mData, size_t idx, int64_t timestampNs) argument 501 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument [all...] |
H A D | NdkMediaExtractor.cpp | 129 AMediaFormat* AMediaExtractor_getTrackFormat(AMediaExtractor *mData, size_t idx) { argument 131 mData->mImpl->getTrackFormat(idx, &format); 136 media_status_t AMediaExtractor_selectTrack(AMediaExtractor *mData, size_t idx) { argument 137 ALOGV("selectTrack(%zu)", idx); 138 return translate_error(mData->mImpl->selectTrack(idx)); 142 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor *mData, size_t idx) { argument 143 ALOGV("unselectTrack(%zu)", idx); 144 return translate_error(mData->mImpl->unselectTrack(idx)); 208 size_t idx; local 209 if (mData->mImpl->getSampleTrackIndex(&idx) ! [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.cpp | 66 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/tools/split-select/ |
H A D | SplitSelector_test.cpp | 57 ssize_t idx = rules.indexOfKey(expected); local 58 ASSERT_GE(idx, 0); 59 sp<Rule> rule = rules[idx];
|
H A D | Main.cpp | 161 ssize_t idx = xml.indexOfAttribute( local 164 if (idx >= 0) { 165 outInfo.versionCode = xml.getAttributeData(idx); 169 ssize_t idx = xml.indexOfAttribute( local 172 if (idx >= 0) { 173 outInfo.multiArch = xml.getAttributeData(idx) != 0; 177 ssize_t idx = xml.indexOfAttribute( local 180 if (idx >= 0) { 181 uint16_t type = xml.getAttributeDataType(idx); 183 outInfo.minSdkVersion = xml.getAttributeData(idx); [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 197 Int nLayers, idx, i, j; local 610 for (idx = 0; idx < nLayers; idx++) 612 temp_w = video->encParams->LayerWidth[idx]; 613 temp_h = video->encParams->LayerHeight[idx]; 628 mbsPerSec = (Int)(nTotalMB * video->encParams->LayerFrameRate[idx]); 629 if (mbsPerSec > video->encParams->LayerMaxMbsPerSec[idx]) status = PV_FALSE; 674 for (idx = 0; idx < nTotalM 1113 Int idx, i; local 2994 Int idx, temp_w, temp_h, max = 0, max_width, max_height; local [all...] |
/frameworks/av/camera/include/camera/ |
H A D | CameraParameters2.h | 127 const KeyT& keyAt(size_t idx) const { 128 return mList[idx].mKey; 131 const ValueT& valueAt(size_t idx) const { 132 return mList[idx].mValue;
|
/frameworks/av/include/camera/ |
H A D | CameraParameters2.h | 127 const KeyT& keyAt(size_t idx) const { 128 return mList[idx].mKey; 131 const ValueT& valueAt(size_t idx) const { 132 return mList[idx].mValue;
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | p_ol_wgh.h | 135 Word16 idx, /* i : index */
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramVertexFixedFunction.java | 80 int idx = 0; 83 tmp[idx++] = ProgramParam.INPUT.mID; 84 tmp[idx++] = mInputs[i].getID(mRS); 87 tmp[idx++] = ProgramParam.OUTPUT.mID; 88 tmp[idx++] = mOutputs[i].getID(mRS); 91 tmp[idx++] = ProgramParam.CONSTANT.mID; 92 tmp[idx++] = mConstants[i].getID(mRS); 95 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 96 tmp[idx++] = mTextureTypes[i].mID;
|
/frameworks/base/tools/aapt2/split/ |
H A D | TableSplitter.cpp | 182 for (size_t idx = 0; idx < split_count; idx++) { 183 ResourceTable* split_table = splits_[idx].get(); 232 for (size_t idx = 0; idx < split_count; idx++) { 233 const SplitConstraints& split_constraint = split_constraints_[idx]; 234 ResourceTable* split_table = splits_[idx].get();
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 646 status_t getLockedImageInfo(LockedImage* buffer, int idx, argument 654 LOG_ALWAYS_FATAL_IF((idx >= IMAGE_MAX_NUM_PLANES) || (idx < 0), "idx (%d) is illegal", idx); 672 (idx == 0) ? 674 (idx == 1) ? 678 if (idx == 0) { 698 (idx == 0) ? 700 (idx [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
H A D | JniCodeEmitter.java | 543 int idx = nonPrimitiveArgs.get(i).intValue(); 544 int cIndex = jfunc.getArgCIndex(idx); 545 if (jfunc.getArgType(idx).isArray()) { 549 } else if (jfunc.getArgType(idx).isBuffer()) { 907 int idx = nonPrimitiveArgs.get(i).intValue(); 908 JType argType = jfunc.getArgType(idx); 1047 int idx = nonPrimitiveArgs.get(i).intValue(); 1048 int cIndex = jfunc.getArgCIndex(idx); 1051 if (jfunc.getArgType(idx).isBuffer() 1052 || jfunc.getArgType(idx) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | OptimizingLineBreaker.java | 122 int idx = numBreaks - 1; 123 int count = opt[idx].mPrevCount; 125 while (opt[idx].mPrev != -1) { 129 breakInfo.breaks[count] = mPrimitives.get(idx).location; 130 breakInfo.widths[count] = opt[idx].mWidth; 131 breakInfo.flags [count] = opt[idx].mHasTabs ? TAB_MASK : 0; 132 idx = opt[idx].mPrev;
|
/frameworks/base/core/jni/ |
H A D | android_util_StringBlock.cpp | 75 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/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
H A D | ObexAppParameters.java | 80 int idx = 0; 84 ret[idx++] = entry.getKey(); 85 ret[idx++] = (byte) length; 86 System.arraycopy(entry.getValue(), 0, ret, idx, length); 87 idx += length;
|