/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | q_gain_c.cpp | 141 quantization index -- Word16 -- Q0 191 Word16 q_gain_code( /* o : quantization index, Q0 */ 205 Word16 index; local 253 index = 0; 270 index = i; 274 temp = index + (index << 1); 292 return index;
|
H A D | cbsearch.cpp | 88 Purpose : Inovative codebook search (find index and gain) 200 Word16 index; local 221 &index, 224 *(*anap)++ = index; /* sign index */ 236 &index, 239 *(*anap)++ = index; /* sign index */ 251 &index, 254 *(*anap)++ = index; /* sig [all...] |
H A D | c1035pf.cpp | 137 This is a local function that determnes the index of the pulses by looking up 248 This function builds the codeword, the filtered codeword and index of the 268 Word16 indx[] // (o) : index of 10 pulses (sign+position) 271 Word16 i, j, k, track, index, _sign[NB_PULSE]; 291 index = mult (i, 6554); // index = pos/5 293 track = sub (i, extract_l (L_shr (L_mult (index, 5), 1))); 305 index = add (index, 8); 310 indx[track] = index; 409 Word16 i, k, track, index, _sign[NB_PULSE]; local [all...] |
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFReloc.hxx | 28 ELFReloc_CRTP<Bitwidth>::readRela(Archiver &AR, size_t index) { argument 47 // Set the section header index 48 sh->index = index; 56 ELFReloc_CRTP<Bitwidth>::readRel(Archiver &AR, size_t index) { argument 75 // Set the section header index 76 sh->index = index;
|
/frameworks/rs/scriptc/ |
H A D | rs_mesh.rsh | 41 * Meshes could have multiple index sets, this function returns 47 * containing index data 57 * @param index index of the vertex allocation 61 rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index); 64 * Returns an allocation containing index data or a null 68 * @param index index of the index allocation 69 * @return allocation containing index dat [all...] |
H A D | rs_element.rsh | 43 * sub-element at index 46 * @param index index of the sub-element to return 47 * @return sub-element in this element at given index 50 rsElementGetSubElement(rs_element, uint32_t index); 54 * sub-element name at index 57 * @param index index of the sub-element to return 62 rsElementGetSubElementNameLength(rs_element e, uint32_t index); 66 * sub-element name at index [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXMaster.cpp | 75 OMX_U32 index = 0; local 80 name, sizeof(name), index++)) == OMX_ErrorNone) { 130 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); local 132 if (index < 0) { 136 OMXPluginBase *plugin = mPluginByComponentName.valueAt(index); 153 ssize_t index = mPluginByInstance.indexOfKey(component); local 155 if (index < 0) { 159 OMXPluginBase *plugin = mPluginByInstance.valueAt(index); 160 mPluginByInstance.removeItemsAt(index); 168 OMX_U32 index) { 165 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument 192 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); local [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | DateSorter.java | 87 * @return an index from 0 to (DAY_COUNT - 1) that identifies which 99 * @param index date bin index as returned by getIndex() 102 public String getLabel(int index) { argument 103 if (index < 0 || index >= DAY_COUNT) return ""; 104 return mLabels[index]; 109 * @param index date bin index as returned by getIndex() 110 * @return date boundary at given index 112 getBoundary(int index) argument [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmUtils.java | 152 int index = 0; 154 while (index < constraintData.length) { 156 int keyLength = readByte(constraintData, index); 157 index++; 160 int valueLength = readByte(constraintData, index); 161 index++; 164 String strKey = readMultipleBytes(constraintData, keyLength, index); 165 index += keyLength; 168 String strValue = readMultipleBytes(constraintData, valueLength, index); 172 index [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 55 android_media_MediaProfiles_native_get_file_format(JNIEnv *env, jobject thiz, jint index) argument 57 ALOGV("native_get_file_format: %d", index); 60 if (index < 0 || index >= nSize) { 64 return static_cast<jint>(formats[index]); 75 android_media_MediaProfiles_native_get_video_encoder_cap(JNIEnv *env, jobject thiz, jint index) argument 77 ALOGV("native_get_video_encoder_cap: %d", index); 80 if (index < 0 || index >= nSize) { 85 video_encoder encoder = encoders[index]; 126 android_media_MediaProfiles_native_get_audio_encoder_cap(JNIEnv *env, jobject thiz, jint index) argument 243 android_media_MediaProfiles_native_get_video_decoder_type(JNIEnv *env, jobject thiz, jint index) argument 264 android_media_MediaProfiles_native_get_audio_decoder_type(JNIEnv *env, jobject thiz, jint index) argument 285 android_media_MediaProfiles_native_get_image_encoding_quality_level(JNIEnv *env, jobject thiz, jint cameraId, jint index) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 236 private boolean isStartBoundary(int index) { argument 237 return isLetterOrDigit(index) 238 && (index == 0 || !isLetterOrDigit(index - 1)); 241 private boolean isEndBoundary(int index) { argument 242 return (index > 0 && isLetterOrDigit(index - 1)) 243 && (index == mText.length() || !isLetterOrDigit(index)); 246 private boolean isLetterOrDigit(int index) { argument 318 isStartBoundary(int index) argument 323 isEndBoundary(int index) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | IMediaCodecList.cpp | 53 virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const 57 data.writeInt32(index); 116 size_t index = static_cast<size_t>(data.readInt32()); local 117 const sp<MediaCodecInfo> info = getCodecInfo(index); 134 ssize_t index = findCodecByType(type, isEncoder, startIndex); local 135 if (index > INT32_MAX || index < 0) { 136 index = NAME_NOT_FOUND; 138 reply->writeInt32(index); 147 ssize_t index local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d_plsf_3.cpp | 174 Word16 index; local 192 index = 200 index, 299 index = *indice++; 301 /* temp = 3*index; */ 302 temp = index + (index << 1); 315 index = *indice++; 319 index <<= 1; 322 /* temp = 3*index */ [all...] |
H A D | dec_lag6.cpp | 63 index -- Word16 -- received pitch index 89 the received adaptive codebook index. 96 decoder receives 61, 62, or 63 as the relative pitch index, it means 186 Word16 index, /* input : received pitch index */ 203 if (index < 463) 205 /* T0 = (index+5)/6 + 17 */ 206 i = index + 5; 226 /* *T0_frac = index 185 Dec_lag6( Word16 index, Word16 pit_min, Word16 pit_max, Word16 i_subfr, Word16 *T0, Word16 *T0_frac, Flag *pOverflow ) argument [all...] |
H A D | d1035pf.cpp | 93 index = buffer containing index of 10 pulses; each element is 112 This function builds the innovative codevector from the received index of 130 Word16 index[], // (i) : index of 10 pulses (sign+position) 145 // compute index i 147 tmp = index[j]; 166 // compute index i 168 i = index[add (j, 5)] & 7; 208 Word16 index[], /* ( 207 dec_10i40_35bits( Word16 index[], Word16 cod[] ) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Interpolator.java | 64 * Assign the keyFrame (specified by index) a time value and an array of key 68 * @param index The index of the key frame to assign 73 public void setKeyFrame(int index, int msec, float[] values) { argument 74 setKeyFrame(index, msec, values, null); 78 * Assign the keyFrame (specified by index) a time value and an array of key 81 * @param index The index of the key frame to assign 87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { argument 88 if (index < 159 nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend) argument [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | engine.c | 41 SLuint32 index; local 42 for (index = 0; index < numSupportedInterfaces + 1; ++index) { 45 result = slQuerySupportedEngineInterfaces(index, &interfaceID); 46 if (index < numSupportedInterfaces) { 48 printf("interface[%u] ", index); 50 engine_ids[index] = interfaceID; 51 engine_req[index] = SL_BOOLEAN_TRUE; 55 result = slQuerySupportedEngineInterfaces(index, NUL [all...] |
/frameworks/base/core/java/android/util/ |
H A D | SparseBooleanArray.java | 42 * <code>keyAt(int)</code> with ascending values of the index will return the 121 public void removeAt(int index) { argument 122 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); 123 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 155 * Given an index in the range <code>0...size()-1</code>, returns 156 * the key from the <code>index</cod 164 keyAt(int index) argument 179 valueAt(int index) argument 184 setValueAt(int index, boolean value) argument [all...] |
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTimerRecordSources.java | 200 /* package */ int toByteArray(byte[] data, int index) { argument 201 data[index] = toBcdByte(mHour); 202 data[index + 1] = toBcdByte(mMinute); 346 int toByteArray(byte[] data, int index) { argument 348 data[index] = (byte) mDayOfMonth; 349 index += DAY_OF_MONTH_SIZE; 351 data[index] = (byte) mMonthOfYear; 352 index += MONTH_OF_YEAR_SIZE; 354 index += mStartTime.toByteArray(data, index); 394 toByteArray(byte[] data, int index) argument 426 extraParamToByteArray(byte[] data, int index) argument [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | InputStreamBuffer.java | 32 * say you have a loop that reads bytes from index <code>0</code> to <code>10</code>, 33 * skips to index <code>N</code>, reads from index <code>N</code> to <code>N+10</code>, etc. Then 39 * helps to keep the internal buffer small. In the above example, after reading bytes from index 41 * buffer becomes filled with bytes from index <code>N</code> to <code>N+10</code>. 45 * index, then you should set the <code>autoAdvance</code> parameter to <code>true</code> in the 48 * <code>autoAdvance</code> is enabled, every time an index is beyond the buffer length, 49 * the buffer will be shifted forward such that the index requested becomes the first element in 53 * All public methods with parameter <code>index</code> are absolute indexed. The index i 129 get(final int index) argument 159 has(final int index) argument 187 advanceTo(final int index) argument 261 fill(final int index) argument [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | InputStreamBuffer.java | 32 * say you have a loop that reads bytes from index <code>0</code> to <code>10</code>, 33 * skips to index <code>N</code>, reads from index <code>N</code> to <code>N+10</code>, etc. Then 39 * helps to keep the internal buffer small. In the above example, after reading bytes from index 41 * buffer becomes filled with bytes from index <code>N</code> to <code>N+10</code>. 45 * index, then you should set the <code>autoAdvance</code> parameter to <code>true</code> in the 48 * <code>autoAdvance</code> is enabled, every time an index is beyond the buffer length, 49 * the buffer will be shifted forward such that the index requested becomes the first element in 53 * All public methods with parameter <code>index</code> are absolute indexed. The index i 129 get(final int index) argument 159 has(final int index) argument 187 advanceTo(final int index) argument 261 fill(final int index) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 36 int index = clazz->mMPH_to_index[MPH]; local 37 assert(0 <= index && index < (int) clazz->mInterfaceCount); 38 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 53 const struct iid_vtable *x = &clazz->mInterfaces[index]; 117 int MPH, index; local 121 (0 > (index = clazz->mMPH_to_index[MPH]))) { 124 assert(index < (int) clazz->mInterfaceCount); 125 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 161 const struct iid_vtable *x = &clazz->mInterfaces[index]; 213 int MPH, index; local 292 int index = clazz->mMPH_to_index[MPH]; local 365 int MPH, index; local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 86 * referred to by index in API calls. 376 int index = msg.arg2; 378 validateInputByteBuffer(mCachedInputBuffers, index); 380 mCallback.onInputBufferAvailable(mCodec, index); 386 int index = msg.arg2; 389 validateOutputByteBuffer(mCachedOutputBuffers, index, info); 392 mCodec, index, info); 778 * After filling a range of the input buffer at the specified index 806 * @param index The index o 822 queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument 839 native_queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument 945 queueSecureInputBuffer( int index, int offset, CryptoInfo info, long presentationTimeUs, int flags) argument 964 native_queueSecureInputBuffer( int index, int offset, CryptoInfo info, long presentationTimeUs, int flags) argument 1064 releaseOutputBuffer(int index, boolean render) argument 1121 releaseOutputBuffer(int index, long renderTimestampNs) argument 1130 releaseOutputBuffer( int index, boolean render, boolean updatePTS, long timeNs) argument 1181 getOutputFormat(int index) argument 1187 getOutputFormatNative(int index) argument 1222 remove(int index) argument 1230 put(int index, ByteBuffer newBuffer) argument 1239 put(int index, Image newImage) argument 1262 invalidateByteBuffer( ByteBuffer[] buffers, int index) argument 1272 validateInputByteBuffer( ByteBuffer[] buffers, int index) argument 1283 revalidateByteBuffer( ByteBuffer[] buffers, int index) argument 1295 validateOutputByteBuffer( ByteBuffer[] buffers, int index, BufferInfo info) argument 1427 getInputBuffer(int index) argument 1455 getInputImage(int index) argument 1483 getOutputBuffer(int index) argument 1510 getOutputImage(int index) argument 1630 onInputBufferAvailable(MediaCodec codec, int index) argument 1639 onOutputBufferAvailable(MediaCodec codec, int index, BufferInfo info) argument 1680 getBuffer(boolean input, int index) argument 1682 getImage(boolean input, int index) argument [all...] |
/frameworks/base/tools/split-select/ |
H A D | SplitDescription.cpp | 85 ssize_t parseAbi(const Vector<String8>& parts, const ssize_t index, argument 89 ssize_t endIndex = index; 121 if (abi == abi::Variant_none && endIndex != index) { 132 ssize_t index = str.find(":"); local 136 if (index >= 0) { 137 configStr.setTo(str.string(), index); 138 extensionStr.setTo(str.string() + index + 1); 150 index = 0; 156 index = parseAbi(parts, index, [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | IntFloat.java | 7 public int index; field in class:IntFloat 32 out.writeInt(index); 37 index = in.readInt();
|