Home
last modified time | relevance | path

Searched refs:mBufferGroup (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/include/media/
DMediaExtractorPluginHelper.h126 MediaTrackHelper() : mBufferGroup(nullptr) { in MediaTrackHelper()
129 delete mBufferGroup; in ~MediaTrackHelper() local
170 MediaBufferGroupHelper *mBufferGroup; variable
183 if (((MediaTrackHelper*)data)->mBufferGroup) { in wrap()
185 delete ((MediaTrackHelper*)data)->mBufferGroup; in wrap()
187 ((MediaTrackHelper*)data)->mBufferGroup = new MediaBufferGroupHelper(bufferGroup); in wrap()
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp651 mBufferGroup->init(1 /* one buffer */, 256 /* buffer size */, 64 /* max number of buffers */); in start()
707 mBufferGroup->acquire_buffer(&outbuf, false, length); in read()
801 delete mTrack->mBufferGroup; in start()
802 mTrack->mBufferGroup = mBufferGroup; in start()
803 mBufferGroup = nullptr; in start()
DMPEG2TSExtractor.cpp92 mBufferGroup->init(1 /* one buffer */, 256 /* buffer size */, 64 /* max number of buffers */); in start()
190 mBufferGroup->acquire_buffer(&outbuf, false, length); in read()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp94 mBufferGroup = group; in setBufferGroup()
113 MediaBufferGroupHelper *mBufferGroup; member
254 mBufferGroup->init(1 /* number of buffers */, 128 /* size */, 64 /* max number of buffers */); in start()
255 mExtractor->mImpl->setBufferGroup(mBufferGroup); in start()
311 : mBufferGroup(NULL), in MyOggExtractor()
791 if (mBufferGroup) { in _readNextPacket()
792 mBufferGroup->acquire_buffer(&tmp, false, fullSize); in _readNextPacket()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp397 if (!mBufferGroup->init(4 /* buffers */, kMaxFrameSize)) { in start()
434 if (options != nullptr && options->getNonBlocking() && !mBufferGroup->has_buffers()) { in read()
458 media_status_t err = mBufferGroup->acquire_buffer(&buffer); in read()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp261 mBufferGroup->add_buffer(128); in start()
329 status_t err = mBufferGroup->acquire_buffer(&buffer); in read()
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp253 mBufferGroup->add_buffer(kMaxFrameSize); in start()
295 status_t err = mBufferGroup->acquire_buffer(&buffer); in read()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp470 mBufferGroup->add_buffer(kMaxFrameSize); in start()
527 status_t err = mBufferGroup->acquire_buffer(&buffer); in read()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp96 mEngine.allocateBuffers(mBufferGroup); in start()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp292 mBufferGroup->init(1 /* number of buffers */, 1024 /* buffer size */, 64 /* growth limit */); in start()
797 mBufferGroup->acquire_buffer(&mbuf, false /* nonblocking */, len /* requested size */); in readBlock()
963 mBufferGroup->acquire_buffer(&buffer, false /* nonblocking */, frame_size /* requested size */); in mp3FrameRead()
1184 mBufferGroup->acquire_buffer( in read()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp678 mParser->allocateBuffers(mBufferGroup); in start()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp4859 mBufferGroup->init(kInitialBuffers, max_size, realMaxBuffers); in start()
5646 if (options != nullptr && options->getNonBlocking() && !mBufferGroup->has_buffers()) { in read()
5811 err = mBufferGroup->acquire_buffer(&mBuffer); in read()
6173 status_t err = mBufferGroup->acquire_buffer(&mBuffer); in fragmentedRead()