Searched refs:mediaBuffer (Results 1 – 6 of 6) sorted by relevance
184 MediaBuffer* mediaBuffer = new MediaBuffer(buffer); in writeSampleData() local186 mediaBuffer->add_ref(); // Released in MediaAdapter::signalBufferReturned(). in writeSampleData()187 mediaBuffer->set_range(buffer->offset(), buffer->size()); in writeSampleData()189 MetaDataBase &sampleMetaData = mediaBuffer->meta_data(); in writeSampleData()204 return currentTrack->pushBuffer(mediaBuffer); in writeSampleData()
299 MediaBufferBase *mediaBuffer = NULL; in extractInternal() local301 err = mSource->read(&mediaBuffer, &mReadOptions); in extractInternal()315 if (mediaBuffer->range_length() > codecBuffer->capacity()) { in extractInternal()317 mediaBuffer->range_length(), codecBuffer->capacity()); in extractInternal()321 codecBuffer->setRange(0, mediaBuffer->range_length()); in extractInternal()323 CHECK(mediaBuffer->meta_data().findInt64(kKeyTime, &ptsUs)); in extractInternal()325 (const uint8_t*)mediaBuffer->data() + mediaBuffer->range_offset(), in extractInternal()326 mediaBuffer->range_length()); in extractInternal()328 onInputReceived(codecBuffer, mediaBuffer->meta_data(), mFirstSample, &flags); in extractInternal()332 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()267 *out = mediaBuffer; in read()
1093 static_cast<MediaBufferHolder*>(holder.get())->mediaBuffer() : nullptr; in onInputBufferFetched()
1075 static_cast<MediaBufferHolder*>(holder.get())->mediaBuffer() : nullptr; in onInputBufferFetched()