Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/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.h50 int accumulate(float* source, size_t numberOfFrames, int* readIndex, size_t delayFrames);
52 size_t readIndex() const { return m_readIndex; } in readIndex() function
53 void updateReadIndex(int* readIndex, size_t numberOfFrames) const;
DReverbConvolver.cpp165 int readIndex; in backgroundThreadEntry() local
167 …while ((readIndex = m_backgroundStages[0]->inputReadIndex()) != writeIndex) { // FIXME: do better … in backgroundThreadEntry()
DReverbInputBuffer.h53 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/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/clang/include/clang/Serialization/
DGlobalModuleIndex.h126 readIndex(FileManager &FileMgr, StringRef Path);
/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/icu4c/common/
Duts46.cpp610 int32_t readIndex=mappingStart, writeIndex=mappingStart; in mapDevChars() local
612 UChar c=s[readIndex++]; in mapDevChars()
619 if(writeIndex==readIndex) { in mapDevChars()
630 ++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.cpp313 GlobalModuleIndex::readIndex(FileManager &FileMgr, StringRef Path) { in readIndex() function in GlobalModuleIndex
DASTReader.cpp2777 = GlobalModuleIndex::readIndex(FileMgr, ModuleCachePath); in loadGlobalIndex()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0666125 (WebCore::ReverbAccumulationBuffer::readIndex):