Searched refs:mediaBuffer (Results 1 – 6 of 6) sorted by relevance
179 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData() local181 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()
299 MediaBufferBase *mediaBuffer = NULL; in extractInternal() local301 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()
40 MediaBufferBase* mediaBuffer() { return mMediaBuffer; } in mediaBuffer() function
205 MediaBufferBase *mediaBuffer = new MediaBuffer(buffer); in read() local206 MetaDataBase &bufmeta = mediaBuffer->meta_data(); in read()253 *out = mediaBuffer; in read()
1069 static_cast<MediaBufferHolder*>(holder.get())->mediaBuffer() : nullptr; in onInputBufferFetched()
1088 static_cast<MediaBufferHolder*>(holder.get())->mediaBuffer() : nullptr; in onInputBufferFetched()