/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
ReverbInputBuffer.cpp | 60 float* ReverbInputBuffer::directReadFrom(int* readIndex, size_t numberOfFrames) 63 bool isPointerGood = readIndex && *readIndex >= 0 && *readIndex + numberOfFrames <= bufferLength; 67 if (readIndex) 68 *readIndex = 0; 73 float* p = sourceP + *readIndex; 75 // Update readIndex 76 *readIndex = (*readIndex + numberOfFrames) % bufferLength [all...] |
ReverbAccumulationBuffer.h | 48 // We need to pass in and update readIndex here, since each ReverbConvolverStage may be running in 51 int accumulate(float* source, size_t numberOfFrames, int* readIndex, size_t delayFrames); 53 size_t readIndex() const { return m_readIndex; } 54 void updateReadIndex(int* readIndex, size_t numberOfFrames) const;
|
AudioResamplerKernel.cpp | 102 unsigned readIndex = static_cast<unsigned>(virtualReadIndex); 103 double interpolationFactor = virtualReadIndex - readIndex; 105 double sample1 = source[readIndex]; 106 double sample2 = source[readIndex + 1]; 116 int readIndex = static_cast<int>(virtualReadIndex); 117 m_lastValues[0] = source[readIndex]; 118 m_lastValues[1] = source[readIndex + 1]; 122 virtualReadIndex -= readIndex;
|
ReverbAccumulationBuffer.cpp | 75 void ReverbAccumulationBuffer::updateReadIndex(int* readIndex, size_t numberOfFrames) const 77 // Update caller's readIndex 78 *readIndex = (*readIndex + numberOfFrames) % m_buffer.size(); 81 int ReverbAccumulationBuffer::accumulate(float* source, size_t numberOfFrames, int* readIndex, size_t delayFrames) 85 size_t writeIndex = (*readIndex + delayFrames) % bufferLength; 87 // Update caller's readIndex 88 *readIndex = (*readIndex + numberOfFrames) % bufferLength;
|
ReverbInputBuffer.h | 51 // readIndex is updated with the next readIndex to read from... 54 float* directReadFrom(int* readIndex, size_t numberOfFrames);
|
ReverbConvolver.cpp | 139 // Even though it doesn't seem like every stage needs to maintain its own version of readIndex 141 int readIndex; 143 while ((readIndex = m_backgroundStages[0]->inputReadIndex()) != writeIndex) { // FIXME: do better to detect buffer overrun...
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
TextRange.java | 76 int readIndex = 0; 78 for (; readIndex < spans.length; ++readIndex) { 79 final SuggestionSpan span = spans[readIndex]; 87 for (int i = readIndex + 1; i < spans.length; ++i) { 101 spans[writeIndex++] = spans[readIndex]; 104 return writeIndex == readIndex ? spans : Arrays.copyOfRange(spans, 0, writeIndex);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioBufferSourceNode.cpp | 259 unsigned readIndex = static_cast<unsigned>(virtualReadIndex); 263 int framesToEnd = endFrame - readIndex; 268 memcpy(destinationChannels[i] + writeIndex, sourceChannels[i] + readIndex, sizeof(float) * framesThisTime); 271 readIndex += framesThisTime; 275 if (readIndex >= endFrame) { 276 readIndex -= deltaFrames; 281 virtualReadIndex = readIndex; 284 unsigned readIndex = static_cast<unsigned>(virtualReadIndex); 285 double interpolationFactor = virtualReadIndex - readIndex; 288 unsigned readIndex2 = readIndex + 1 [all...] |
OscillatorNode.cpp | 292 unsigned readIndex = static_cast<unsigned>(virtualReadIndex); 293 unsigned readIndex2 = readIndex + 1; 296 readIndex = readIndex & readIndexMask; 306 float sample1Lower = lowerWaveData[readIndex]; 308 float sample1Higher = higherWaveData[readIndex]; 312 float interpolationFactor = static_cast<float>(virtualReadIndex) - readIndex;
|
/external/sonivox/arm-wt-22k/misc/ |
eas_host.c | 89 EAS_I32 readIndex; 262 file->readIndex = 0; 292 file->readIndex = 0; 327 temp = file->bytesInBuffer - file->readIndex; 332 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); 334 file->readIndex += temp; 364 file->readIndex = 0; 403 if (file->readIndex >= file->bytesInBuffer) 414 *((EAS_U8*) p) = file->buffer[file->readIndex++]; 526 newIndex = position - file->filePos + file->readIndex; [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_LlcpTransport_Connectionless.c | 317 uint8_t readIndex; 329 readIndex = pLlcpSocket->indexRwRead % pLlcpSocket->localRW; 332 ssap = pLlcpSocket->sSocketRwBufferTable[readIndex].buffer[0]; 334 pLlcpSocket->sSocketRwBufferTable[readIndex].buffer + 1, 335 pLlcpSocket->sSocketRwBufferTable[readIndex].length); 336 psBuffer->length = pLlcpSocket->sSocketRwBufferTable[readIndex].length; 339 pLlcpSocket->sSocketRwBufferTable[readIndex].length = 0;
|
/external/clang/include/clang/Serialization/ |
GlobalModuleIndex.h | 116 /// \brief Internal constructor. Use \c readIndex() to read an index. 147 readIndex(StringRef Path);
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
EASLib.c | 75 EAS_I32 readIndex; 841 file->readIndex = 0; 871 file->readIndex = 0; 906 temp = file->bytesInBuffer - file->readIndex; 911 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); 913 file->readIndex += temp; 942 file->readIndex = 0; 981 if (file->readIndex >= file->bytesInBuffer) 992 *((EAS_U8*) p) = file->buffer[file->readIndex++]; 1108 newIndex = position - file->filePos + file->readIndex; [all...] |
EASLibVst.c | 73 EAS_I32 readIndex; 536 file->readIndex = 0; 566 file->readIndex = 0; 601 temp = file->bytesInBuffer - file->readIndex; 606 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); 608 file->readIndex += temp; 637 file->readIndex = 0; 676 if (file->readIndex >= file->bytesInBuffer) 687 *((EAS_U8*) p) = file->buffer[file->readIndex++]; 803 newIndex = position - file->filePos + file->readIndex; [all...] |
/packages/apps/Mms/src/org/w3c/dom/smil/ |
SMILMediaElement.java | 94 * See the readIndex attribute from . 99 public void setReadIndex(String readIndex)
|
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfoDB.java | 124 readIndex(it, index_offset, data_offset); 135 private void readIndex(BufferIterator it, int indexOffset, int dataOffset) {
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
SmilMediaElementImpl.java | 168 return this.getAttribute("readIndex"); 228 public void setReadIndex(String readIndex) throws DOMException { 229 this.setAttribute("readIndex", readIndex);
|
/external/aac/libFDK/src/ |
FDK_hybrid.cpp | 315 int readIndex = hAnalysisHybFilter->bufferLFpos; 317 if (++readIndex>=hAnalysisHybFilter->pSetup->protoLen) readIndex = 0; 318 const INT* pBufferLFreadIdx = &hAnalysisHybFilter->pSetup->pReadIdxTable[readIndex]; 340 hAnalysisHybFilter->bufferLFpos = readIndex; /* Index where to write next input sample. */
|
/external/chromium_org/third_party/icu/source/common/ |
uts46.cpp | 602 int32_t readIndex=mappingStart, writeIndex=mappingStart; 604 UChar c=s[readIndex++]; 611 if(writeIndex==readIndex) { 622 ++readIndex; 637 // Only really necessary if writeIndex was different from readIndex. [all...] |
/external/icu4c/common/ |
uts46.cpp | 608 int32_t readIndex=mappingStart, writeIndex=mappingStart; 610 UChar c=s[readIndex++]; 617 if(writeIndex==readIndex) { 628 ++readIndex; 643 // Only really necessary if writeIndex was different from readIndex. [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
jet.c | 103 EAS_INLINE void JET_WriteQueue (EAS_U32 *pEventQueue, EAS_U8 *pWriteIndex, EAS_U8 readIndex, EAS_U8 queueSize, EAS_U32 event) 109 if (temp == readIndex) [all...] |