Home
last modified time | relevance | path

Searched refs:mediaBuffer (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/
DMediaMuxer.cpp184 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData() local
186 mediaBuffer->add_ref(); // Released in MediaAdapter::signalBufferReturned(). in writeSampleData()
187 mediaBuffer->set_range(buffer->offset(), buffer->size()); in writeSampleData()
189 MetaDataBase &sampleMetaData = mediaBuffer->meta_data(); in writeSampleData()
204 return currentTrack->pushBuffer(mediaBuffer); in writeSampleData()
DFrameDecoder.cpp299 MediaBufferBase *mediaBuffer = NULL; in extractInternal() local
301 err = mSource->read(&mediaBuffer, &mReadOptions); in extractInternal()
315 if (mediaBuffer->range_length() > codecBuffer->capacity()) { in extractInternal()
317 mediaBuffer->range_length(), codecBuffer->capacity()); in extractInternal()
321 codecBuffer->setRange(0, mediaBuffer->range_length()); in extractInternal()
323 CHECK(mediaBuffer->meta_data().findInt64(kKeyTime, &ptsUs)); in extractInternal()
325 (const uint8_t*)mediaBuffer->data() + mediaBuffer->range_offset(), in extractInternal()
326 mediaBuffer->range_length()); in extractInternal()
328 onInputReceived(codecBuffer, mediaBuffer->meta_data(), mFirstSample, &flags); in extractInternal()
332 mediaBuffer->release(); in extractInternal()
/frameworks/av/media/libmedia/include/media/
DMediaBufferHolder.h40 MediaBufferBase* mediaBuffer() { return mMediaBuffer; } in mediaBuffer() function
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp205 MediaBufferBase *mediaBuffer = new MediaBuffer(buffer); in read() local
206 MetaDataBase &bufmeta = mediaBuffer->meta_data(); in read()
267 *out = mediaBuffer; in read()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp1093 static_cast<MediaBufferHolder*>(holder.get())->mediaBuffer() : nullptr; in onInputBufferFetched()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1075 static_cast<MediaBufferHolder*>(holder.get())->mediaBuffer() : nullptr; in onInputBufferFetched()