Home
last modified time | relevance | path

Searched refs:mFifo (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libheadtracking/
DStillnessDetector.cpp26 mFifo.clear(); in reset()
35 mFifo.push_back(TimestampedPose{timestamp, input}); in setInput()
57 if (!mFifo.empty()) { in calculate()
58 for (auto iter = mFifo.rbegin() + 1; iter != mFifo.rend(); ++iter) { in calculate()
60 if (!areNear(event.pose, mFifo.back().pose)) { in calculate()
90 mFifo.clear(); in discardOld()
97 while (!mFifo.empty() && mFifo.front().timestamp <= windowStart) { in discardOld()
99 mFifo.pop_front(); in discardOld()
DStillnessDetector.h94 std::deque<TimestampedPose> mFifo; variable
/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.h82 return mFifo->getReadCounter(); in getReadCounter()
86 mFifo->setReadCounter(n); in setReadCounter()
90 return mFifo->getWriteCounter(); in getWriteCounter()
94 mFifo->setWriteCounter(n); in setWriteCounter()
98 mFifo->advanceReadIndex(numFrames); in advanceReadIndex()
102 mFifo->advanceWriteIndex(numFrames); in advanceWriteIndex()
106 return mFifo->getEmptyFramesAvailable(); in getEmptyFramesAvailable()
110 return mFifo->getFullFramesAvailable(); in getFullFramesAvailable()
133 std::unique_ptr<FifoControllerBase> mFifo{};
DFifoBuffer.cpp44 mFifo = std::make_unique<FifoController>(capacityInFrames, capacityInFrames); in FifoBufferAllocated()
61 mFifo = std::make_unique<FifoControllerIndirect>(capacityInFrames, in FifoBufferIndirect()
78 fifo_frames_t capacity = mFifo->getCapacity(); in fillWrappingBuffer()
99 fifo_frames_t framesAvailable = std::min(mFifo->getFullFramesAvailable(), in getFullDataAvailable()
100 mFifo->getCapacity()); in getFullDataAvailable()
101 fifo_frames_t startIndex = mFifo->getReadIndex(); in getFullDataAvailable()
108 fifo_frames_t framesAvailable = std::min(mFifo->getEmptyFramesAvailable(), in getEmptyRoomAvailable()
109 mFifo->getCapacity()); in getEmptyRoomAvailable()
110 fifo_frames_t startIndex = mFifo->getWriteIndex(); in getEmptyRoomAvailable()
142 mFifo->advanceReadIndex(framesRead); in read()
[all …]
/frameworks/av/media/libnbaio/
DPipe.cpp33 mFifo(mMaxFrames, Format_frameSize(format), mBuffer, false /*throttlesWriter*/), in Pipe()
34 mFifoWriter(mFifo), in Pipe()
DMonoPipe.cpp37 mFifo(mMaxFrames, Format_frameSize(format), mBuffer, true /*throttlesWriter*/), in MonoPipe()
38 mFifoWriter(mFifo), in MonoPipe()
DMonoPipeReader.cpp28 mPipe(pipe), mFifoReader(mPipe->mFifo, true /*throttlesWriter*/) in MonoPipeReader()
DPipeReader.cpp29 mPipe(pipe), mFifoReader(mPipe.mFifo, false /*throttlesWriter*/, false /*flush*/), in PipeReader()
/frameworks/av/media/libnblog/
DReader.cpp40 mFifo(mShared != NULL ? in Reader()
43 mFifoReader(mFifo != NULL ? new audio_utils_fifo_reader(*mFifo) : NULL) in Reader()
61 delete mFifo; in ~Reader()
78 const size_t capacity = mFifo->capacity(); in getSnapshot()
115 memcpy(snapshot->mData, (const char *) mFifo->buffer() + iovec[0].mOffset, iovec[0].mLength); in getSnapshot()
118 (const char *) mFifo->buffer() + iovec[1].mOffset, iovec[1].mLength); in getSnapshot()
DWriter.cpp38 mFifo(mShared != NULL ? in Writer()
41 mFifoWriter(mFifo != NULL ? new audio_utils_fifo_writer(*mFifo) : NULL), in Writer()
71 delete mFifo; in ~Writer()
DMerger.cpp48 mFifo(mShared != NULL ? in Merger()
51 mFifoWriter(mFifo != NULL ? new audio_utils_fifo_writer(*mFifo) : NULL) in Merger()
/frameworks/av/media/libnbaio/include/media/nbaio/
DPipe.h63 audio_utils_fifo mFifo; variable
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
DMonoPipe.h89 audio_utils_fifo mFifo; variable
/frameworks/av/media/libnblog/include/media/nblog/
DMerger.h68 std::unique_ptr<audio_utils_fifo> mFifo; // FIFO itself variable
DWriter.h105 audio_utils_fifo * const mFifo{}; // FIFO itself, non-NULL
DReader.h72 audio_utils_fifo * const mFifo; // FIFO itself, variable