Searched refs:mediaBuffer (Results 1 – 6 of 6) sorted by relevance
183 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData() local185 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()
95 void ABuffer::setMediaBufferBase(MediaBufferBase *mediaBuffer) { in setMediaBufferBase() argument99 mMediaBufferBase = mediaBuffer; in setMediaBufferBase()
313 MediaBuffer *mediaBuffer = NULL; in onInputBufferFilled() local315 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 …]
175 MediaBuffer *mediaBuffer = new MediaBuffer(buffer); in read() local177 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs); in read()179 *out = mediaBuffer; in read()
55 void setMediaBufferBase(MediaBufferBase *mediaBuffer);
627 MediaBuffer *mediaBuffer = in feedEncoderInputBuffers() local629 if (mediaBuffer != NULL) { in feedEncoderInputBuffers()631 mediaBuffer); in feedEncoderInputBuffers()