Lines Matching refs:mBuffer
865 if (entry->mBuffer == NULL) { // EOS
874 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
879 size_t copy = entry->mBuffer->size() - entry->mOffset;
886 entry->mBuffer->data() + entry->mOffset,
890 if (entry->mOffset == entry->mBuffer->size()) {
939 if ((entry->mBuffer == nullptr && entry->mNotifyConsumed == nullptr)
949 if (it->mBuffer == nullptr) {
1008 if (entry->mBuffer == NULL) {
1046 if (entry->mOffset == 0 && entry->mBuffer->size() > 0) {
1048 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
1054 size_t copy = entry->mBuffer->size() - entry->mOffset;
1056 ssize_t written = mAudioSink->write(entry->mBuffer->data() + entry->mOffset,
1072 size_t remainder = entry->mBuffer->size() - entry->mOffset;
1245 if (entry.mBuffer == NULL) {
1255 CHECK(entry.mBuffer->meta()->findInt64("timeUs", &realTimeUs));
1272 CHECK(entry.mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
1306 if (entry->mBuffer == NULL) {
1322 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &realTimeUs));
1324 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
1461 entry.mBuffer = buffer;
1481 sp<MediaCodecBuffer> firstAudioBuffer = (*mAudioQueue.begin()).mBuffer;
1482 sp<MediaCodecBuffer> firstVideoBuffer = (*mVideoQueue.begin()).mBuffer;
1657 if (entry->mBuffer != NULL) {