Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMediaMuxer.cpp168 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData() local
170 mediaBuffer->add_ref(); // Released in MediaAdapter::signalBufferReturned(). in writeSampleData()
171 mediaBuffer->set_range(buffer->offset(), buffer->size()); in writeSampleData()
173 sp<MetaData> sampleMetaData = mediaBuffer->meta_data(); in writeSampleData()
184 return currentTrack->pushBuffer(mediaBuffer); in writeSampleData()
DStagefrightMetadataRetriever.cpp278 MediaBuffer *mediaBuffer = NULL; in extractVideoFrame() local
280 err = source->read(&mediaBuffer, &options); in extractVideoFrame()
288 mediaBuffer->meta_data()->findInt64(kKeyTargetTime, &targetTimeUs); in extractVideoFrame()
293 if (mediaBuffer->range_length() > codecBuffer->capacity()) { in extractVideoFrame()
295 mediaBuffer->range_length(), codecBuffer->capacity()); in extractVideoFrame()
298 codecBuffer->setRange(0, mediaBuffer->range_length()); in extractVideoFrame()
300 CHECK(mediaBuffer->meta_data()->findInt64(kKeyTime, &ptsUs)); in extractVideoFrame()
302 (const uint8_t*)mediaBuffer->data() + mediaBuffer->range_offset(), in extractVideoFrame()
303 mediaBuffer->range_length()); in extractVideoFrame()
312 mediaBuffer->release(); in extractVideoFrame()
/frameworks/av/media/libmedia/
DMediaCodecBuffer.cpp68 void MediaCodecBuffer::setMediaBufferBase(MediaBufferBase *mediaBuffer) { in setMediaBufferBase() argument
72 mMediaBufferBase = mediaBuffer; in setMediaBufferBase()
/frameworks/av/media/libstagefright/foundation/
DABuffer.cpp95 void ABuffer::setMediaBufferBase(MediaBufferBase *mediaBuffer) { in setMediaBufferBase() argument
99 mMediaBufferBase = mediaBuffer; in setMediaBufferBase()
/frameworks/av/media/libmedia/include/media/
DMediaCodecBuffer.h55 void setMediaBufferBase(MediaBufferBase *mediaBuffer);
/frameworks/av/include/media/
DMediaCodecBuffer.h55 void setMediaBufferBase(MediaBufferBase *mediaBuffer);
/frameworks/av/media/libstagefright/include/foundation/
DABuffer.h53 void setMediaBufferBase(MediaBufferBase *mediaBuffer);
/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.cpp628 MediaBuffer *mediaBuffer = in feedEncoderInputBuffers() local
630 if (mediaBuffer != NULL) { in feedEncoderInputBuffers()
632 mediaBuffer); in feedEncoderInputBuffers()
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp206 MediaBuffer *mediaBuffer = new MediaBuffer(buffer); in read() local
207 sp<MetaData> bufmeta = mediaBuffer->meta_data(); in read()
254 *out = mediaBuffer; in read()