Home
last modified time | relevance | path

Searched refs:readIndex (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/audio/
DReverbInputBuffer.cpp60 float* ReverbInputBuffer::directReadFrom(int* readIndex, size_t numberOfFrames) in directReadFrom() argument
63 … bool isPointerGood = readIndex && *readIndex >= 0 && *readIndex + numberOfFrames <= bufferLength; in directReadFrom()
67 if (readIndex) in directReadFrom()
68 *readIndex = 0; in directReadFrom()
73 float* p = sourceP + *readIndex; in directReadFrom()
76 *readIndex = (*readIndex + numberOfFrames) % bufferLength; in directReadFrom()
DAudioResamplerKernel.cpp102 unsigned readIndex = static_cast<unsigned>(virtualReadIndex); in process() local
103 double interpolationFactor = virtualReadIndex - readIndex; in process()
105 double sample1 = source[readIndex]; in process()
106 double sample2 = source[readIndex + 1]; in process()
116 int readIndex = static_cast<int>(virtualReadIndex); in process() local
117 m_lastValues[0] = source[readIndex]; in process()
118 m_lastValues[1] = source[readIndex + 1]; in process()
122 virtualReadIndex -= readIndex; in process()
DReverbAccumulationBuffer.cpp75 void ReverbAccumulationBuffer::updateReadIndex(int* readIndex, size_t numberOfFrames) const in updateReadIndex() argument
78 *readIndex = (*readIndex + numberOfFrames) % m_buffer.size(); in updateReadIndex()
81 int ReverbAccumulationBuffer::accumulate(float* source, size_t numberOfFrames, int* readIndex, size… in accumulate() argument
85 size_t writeIndex = (*readIndex + delayFrames) % bufferLength; in accumulate()
88 *readIndex = (*readIndex + numberOfFrames) % bufferLength; in accumulate()
DReverbAccumulationBuffer.h51 int accumulate(float* source, size_t numberOfFrames, int* readIndex, size_t delayFrames);
53 size_t readIndex() const { return m_readIndex; } in readIndex() function
54 void updateReadIndex(int* readIndex, size_t numberOfFrames) const;
DReverbConvolver.cpp141 int readIndex; in processInBackground() local
143 …while ((readIndex = m_backgroundStages[0]->inputReadIndex()) != writeIndex) { // FIXME: do better … in processInBackground()
DReverbInputBuffer.h54 float* directReadFrom(int* readIndex, size_t numberOfFrames);
/external/sonivox/arm-wt-22k/misc/
Deas_host.c89 EAS_I32 readIndex; member
262 file->readIndex = 0; in EAS_HWOpenFile()
292 file->readIndex = 0; in EAS_HWFillBuffer()
327 temp = file->bytesInBuffer - file->readIndex; in EAS_HWReadFile()
332 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); in EAS_HWReadFile()
334 file->readIndex += temp; in EAS_HWReadFile()
364 file->readIndex = 0; in EAS_HWReadFile()
403 if (file->readIndex >= file->bytesInBuffer) in EAS_HWGetByte()
414 *((EAS_U8*) p) = file->buffer[file->readIndex++]; in EAS_HWGetByte()
526 newIndex = position - file->filePos + file->readIndex; in EAS_HWFileSeek()
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioBufferSourceNode.cpp259 unsigned readIndex = static_cast<unsigned>(virtualReadIndex); in renderFromBuffer() local
263 int framesToEnd = endFrame - readIndex; in renderFromBuffer()
268 …memcpy(destinationChannels[i] + writeIndex, sourceChannels[i] + readIndex, sizeof(float) * framesT… in renderFromBuffer()
271 readIndex += framesThisTime; in renderFromBuffer()
275 if (readIndex >= endFrame) { in renderFromBuffer()
276 readIndex -= deltaFrames; in renderFromBuffer()
281 virtualReadIndex = readIndex; in renderFromBuffer()
284 unsigned readIndex = static_cast<unsigned>(virtualReadIndex); in renderFromBuffer() local
285 double interpolationFactor = virtualReadIndex - readIndex; in renderFromBuffer()
288 unsigned readIndex2 = readIndex + 1; in renderFromBuffer()
[all …]
DOscillatorNode.cpp292 unsigned readIndex = static_cast<unsigned>(virtualReadIndex); in process() local
293 unsigned readIndex2 = readIndex + 1; in process()
296 readIndex = readIndex & readIndexMask; in process()
306 float sample1Lower = lowerWaveData[readIndex]; in process()
308 float sample1Higher = higherWaveData[readIndex]; in process()
312 float interpolationFactor = static_cast<float>(virtualReadIndex) - readIndex; in process()
/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport_Connectionless.c317 uint8_t readIndex; in phLibNfc_LlcpTransport_Connectionless_RecvFrom() local
329 readIndex = pLlcpSocket->indexRwRead % pLlcpSocket->localRW; in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
332 ssap = pLlcpSocket->sSocketRwBufferTable[readIndex].buffer[0]; in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
334 pLlcpSocket->sSocketRwBufferTable[readIndex].buffer + 1, in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
335 pLlcpSocket->sSocketRwBufferTable[readIndex].length); in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
336 psBuffer->length = pLlcpSocket->sSocketRwBufferTable[readIndex].length; in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
339 pLlcpSocket->sSocketRwBufferTable[readIndex].length = 0; in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLibVst.c73 EAS_I32 readIndex; member
536 file->readIndex = 0; in EAS_HWOpenFile()
566 file->readIndex = 0; in EAS_HWFillBuffer()
601 temp = file->bytesInBuffer - file->readIndex; in EAS_HWReadFile()
606 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); in EAS_HWReadFile()
608 file->readIndex += temp; in EAS_HWReadFile()
637 file->readIndex = 0; in EAS_HWReadFile()
676 if (file->readIndex >= file->bytesInBuffer) in EAS_HWGetByte()
687 *((EAS_U8*) p) = file->buffer[file->readIndex++]; in EAS_HWGetByte()
803 newIndex = position - file->filePos + file->readIndex; in EAS_HWFileSeek()
[all …]
DEASLib.c75 EAS_I32 readIndex; member
841 file->readIndex = 0; in EAS_HWOpenFile()
871 file->readIndex = 0; in EAS_HWFillBuffer()
906 temp = file->bytesInBuffer - file->readIndex; in EAS_HWReadFile()
911 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); in EAS_HWReadFile()
913 file->readIndex += temp; in EAS_HWReadFile()
942 file->readIndex = 0; in EAS_HWReadFile()
981 if (file->readIndex >= file->bytesInBuffer) in EAS_HWGetByte()
992 *((EAS_U8*) p) = file->buffer[file->readIndex++]; in EAS_HWGetByte()
1108 newIndex = position - file->filePos + file->readIndex; in EAS_HWFileSeek()
[all …]
/external/aac/libFDK/src/
DFDK_hybrid.cpp315 int readIndex = hAnalysisHybFilter->bufferLFpos; in FDKhybridAnalysisApply() local
317 if (++readIndex>=hAnalysisHybFilter->pSetup->protoLen) readIndex = 0; in FDKhybridAnalysisApply()
318 const INT* pBufferLFreadIdx = &hAnalysisHybFilter->pSetup->pReadIdxTable[readIndex]; in FDKhybridAnalysisApply()
340 hAnalysisHybFilter->bufferLFpos = readIndex; /* Index where to write next input sample. */ in FDKhybridAnalysisApply()
/external/clang/include/clang/Serialization/
DGlobalModuleIndex.h147 readIndex(StringRef Path);
/external/icu4c/common/
Duts46.cpp608 int32_t readIndex=mappingStart, writeIndex=mappingStart; in mapDevChars() local
610 UChar c=s[readIndex++]; in mapDevChars()
617 if(writeIndex==readIndex) { in mapDevChars()
628 ++readIndex; in mapDevChars()
/external/chromium_org/third_party/icu/source/common/
Duts46.cpp602 int32_t readIndex=mappingStart, writeIndex=mappingStart; in mapDevChars() local
604 UChar c=s[readIndex++]; in mapDevChars()
611 if(writeIndex==readIndex) { in mapDevChars()
622 ++readIndex; in mapDevChars()
/external/sonivox/arm-wt-22k/lib_src/
Djet.c103 EAS_INLINE void JET_WriteQueue (EAS_U32 *pEventQueue, EAS_U8 *pWriteIndex, EAS_U8 readIndex, EAS_U8… in JET_WriteQueue() argument
109 if (temp == readIndex) in JET_WriteQueue()
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp225 GlobalModuleIndex::readIndex(StringRef Path) { in readIndex() function in GlobalModuleIndex
DASTReader.cpp2892 = GlobalModuleIndex::readIndex(ModuleCachePath); in loadGlobalIndex()