Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMediaMuxer.cpp183 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData() local
185 mediaBuffer->add_ref(); // Released in MediaAdapter::signalBufferReturned(). in writeSampleData()
186 mediaBuffer->set_range(buffer->offset(), buffer->size()); in writeSampleData()
188 sp<MetaData> sampleMetaData = mediaBuffer->meta_data(); in writeSampleData()
199 return currentTrack->pushBuffer(mediaBuffer); in writeSampleData()
/frameworks/av/media/libstagefright/foundation/
DABuffer.cpp95 void ABuffer::setMediaBufferBase(MediaBufferBase *mediaBuffer) { in setMediaBufferBase() argument
99 mMediaBufferBase = mediaBuffer; in setMediaBufferBase()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp313 MediaBuffer *mediaBuffer = NULL; in onInputBufferFilled() local
315 mediaBuffer = (MediaBuffer *)(buffer->getMediaBufferBase()); in onInputBufferFilled()
316 if (mediaBuffer != NULL) { in onInputBufferFilled()
321 if (buf->data() == mediaBuffer->data()) { in onInputBufferFilled()
326 mediaBuffer->release(); in onInputBufferFilled()
335 mediaBuffer->range_offset(), in onInputBufferFilled()
336 mediaBuffer->range_length()); in onInputBufferFilled()
404 if (mediaBuffer != NULL) { in onInputBufferFilled()
405 mediaBuffer->release(); in onInputBufferFilled()
412 if (mediaBuffer != NULL) { in onInputBufferFilled()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp175 MediaBuffer *mediaBuffer = new MediaBuffer(buffer); in read() local
177 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs); in read()
179 *out = mediaBuffer; in read()
/frameworks/av/include/media/stagefright/foundation/
DABuffer.h55 void setMediaBufferBase(MediaBufferBase *mediaBuffer);
/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.cpp627 MediaBuffer *mediaBuffer = in feedEncoderInputBuffers() local
629 if (mediaBuffer != NULL) { in feedEncoderInputBuffers()
631 mediaBuffer); in feedEncoderInputBuffers()