Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMediaMuxer.cpp179 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData() local
181 mediaBuffer->add_ref(); // Released in MediaAdapter::signalBufferReturned(). in writeSampleData()
182 mediaBuffer->set_range(buffer->offset(), buffer->size()); in writeSampleData()
184 MetaDataBase &sampleMetaData = mediaBuffer->meta_data(); in writeSampleData()
199 return currentTrack->pushBuffer(mediaBuffer); in writeSampleData()
DFrameDecoder.cpp299 MediaBufferBase *mediaBuffer = NULL; in extractInternal() local
301 err = mSource->read(&mediaBuffer, &mReadOptions); in extractInternal()
312 if (mediaBuffer->range_length() > codecBuffer->capacity()) { in extractInternal()
314 mediaBuffer->range_length(), codecBuffer->capacity()); in extractInternal()
318 codecBuffer->setRange(0, mediaBuffer->range_length()); in extractInternal()
320 CHECK(mediaBuffer->meta_data().findInt64(kKeyTime, &ptsUs)); in extractInternal()
322 (const uint8_t*)mediaBuffer->data() + mediaBuffer->range_offset(), in extractInternal()
323 mediaBuffer->range_length()); in extractInternal()
325 onInputReceived(codecBuffer, mediaBuffer->meta_data(), mFirstSample, &flags); in extractInternal()
329 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()
253 *out = mediaBuffer; in read()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1069 static_cast<MediaBufferHolder*>(holder.get())->mediaBuffer() : nullptr; in onInputBufferFetched()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp1088 static_cast<MediaBufferHolder*>(holder.get())->mediaBuffer() : nullptr; in onInputBufferFetched()