Lines Matching refs:mBuffer
866 if (entry->mBuffer == NULL) { // EOS
875 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
880 size_t copy = entry->mBuffer->size() - entry->mOffset;
887 entry->mBuffer->data() + entry->mOffset,
891 if (entry->mOffset == entry->mBuffer->size()) {
940 if ((entry->mBuffer == nullptr && entry->mNotifyConsumed == nullptr)
950 if (it->mBuffer == nullptr) {
1009 if (entry->mBuffer == NULL) {
1047 if (entry->mOffset == 0 && entry->mBuffer->size() > 0) {
1049 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
1055 size_t copy = entry->mBuffer->size() - entry->mOffset;
1057 ssize_t written = mAudioSink->write(entry->mBuffer->data() + entry->mOffset,
1073 size_t remainder = entry->mBuffer->size() - entry->mOffset;
1246 if (entry.mBuffer == NULL) {
1256 CHECK(entry.mBuffer->meta()->findInt64("timeUs", &realTimeUs));
1273 CHECK(entry.mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
1307 if (entry->mBuffer == NULL) {
1323 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &realTimeUs));
1325 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
1462 entry.mBuffer = buffer;
1482 sp<MediaCodecBuffer> firstAudioBuffer = (*mAudioQueue.begin()).mBuffer;
1483 sp<MediaCodecBuffer> firstVideoBuffer = (*mVideoQueue.begin()).mBuffer;
1651 if (entry->mBuffer != NULL) {