Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp39 mFifo = std::make_unique<FifoController>(capacityInFrames, capacityInFrames); in FifoBuffer()
57 mFifo = std::make_unique<FifoControllerIndirect>(capacityInFrames, in FifoBuffer()
80 fifo_frames_t capacity = mFifo->getCapacity(); in fillWrappingBuffer()
101 fifo_frames_t framesAvailable = std::min(mFifo->getFullFramesAvailable(), in getFullDataAvailable()
102 mFifo->getCapacity()); in getFullDataAvailable()
103 fifo_frames_t startIndex = mFifo->getReadIndex(); in getFullDataAvailable()
110 fifo_frames_t framesAvailable = std::min(mFifo->getEmptyFramesAvailable(), in getEmptyRoomAvailable()
111 mFifo->getCapacity()); in getEmptyRoomAvailable()
112 fifo_frames_t startIndex = mFifo->getWriteIndex(); in getEmptyRoomAvailable()
144 mFifo->advanceReadIndex(framesRead); in read()
[all …]
DFifoBuffer.h88 return mFifo->getReadCounter(); in getReadCounter()
92 mFifo->setReadCounter(n); in setReadCounter()
96 return mFifo->getWriteCounter(); in getWriteCounter()
100 mFifo->setWriteCounter(n); in setWriteCounter()
104 mFifo->advanceReadIndex(numFrames); in advanceReadIndex()
108 mFifo->advanceWriteIndex(numFrames); in advanceWriteIndex()
112 return mFifo->getEmptyFramesAvailable(); in getEmptyFramesAvailable()
116 return mFifo->getFullFramesAvailable(); in getFullFramesAvailable()
134 std::unique_ptr<FifoControllerBase> mFifo{};
/frameworks/av/media/libnblog/
DReader.cpp40 mFifo(mShared != NULL ? in Reader()
43 mFifoReader(mFifo != NULL ? new audio_utils_fifo_reader(*mFifo) : NULL) in Reader()
56 delete mFifo; in ~Reader()
73 const size_t capacity = mFifo->capacity(); in getSnapshot()
110 memcpy(snapshot->mData, (const char *) mFifo->buffer() + iovec[0].mOffset, iovec[0].mLength); in getSnapshot()
113 (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()
67 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/
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/include/media/nbaio/
DPipe.h63 audio_utils_fifo mFifo; variable
DMonoPipe.h89 audio_utils_fifo mFifo; variable
/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