Home
last modified time | relevance | path

Searched refs:mPackets (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DAH263Assembler.cpp91 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
144 mPackets.push_back(buffer); in addPacket()
153 CHECK(!mPackets.empty()); in submitAccessUnit()
156 LOG(VERBOSE) << "Access unit complete (" << mPackets.size() << " packets)"; in submitAccessUnit()
160 List<sp<ABuffer> >::iterator it = mPackets.begin(); in submitAccessUnit()
161 while (it != mPackets.end()) { in submitAccessUnit()
170 it = mPackets.begin(); in submitAccessUnit()
171 while (it != mPackets.end()) { in submitAccessUnit()
182 CopyTimes(accessUnit, *mPackets.begin()); in submitAccessUnit()
193 mPackets.clear(); in submitAccessUnit()
DAMPEG4ElementaryAssembler.cpp243 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
249 mPackets.push_back(buffer); in addPacket()
359 mPackets.push_back(accessUnit); in addPacket()
375 CHECK(!mPackets.empty()); in submitAccessUnit()
377 ALOGV("Access unit complete (%zu nal units)", mPackets.size()); in submitAccessUnit()
386 mPackets); in submitAccessUnit()
388 accessUnit = MakeCompoundFromPackets(mPackets); in submitAccessUnit()
400 mPackets.clear(); in submitAccessUnit()
DAMPEG4AudioAssembler.cpp533 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
538 mPackets.push_back(buffer); in addPacket()
547 CHECK(!mPackets.empty()); in submitAccessUnit()
550 LOG(VERBOSE) << "Access unit complete (" << mPackets.size() << " packets)"; in submitAccessUnit()
553 sp<ABuffer> accessUnit = MakeCompoundFromPackets(mPackets); in submitAccessUnit()
555 CopyTimes(accessUnit, *mPackets.begin()); in submitAccessUnit()
566 mPackets.clear(); in submitAccessUnit()
DAH263Assembler.h47 List<sp<ABuffer> > mPackets; member
DAMPEG4AudioAssembler.h57 List<sp<ABuffer> > mPackets; member
DAMPEG4ElementaryAssembler.h69 List<sp<ABuffer> > mPackets; member
DMyHandler.h1338 track->mPackets.clear(); in onMessageReceived()
1565 List<sp<ABuffer> > mPackets; member
1743 if (track->mPackets.empty()) { in dataReceivedOnAllChannels()
1821 while (!track->mPackets.empty()) { in processAccessUnitQueue()
1822 sp<ABuffer> accessUnit = *track->mPackets.begin(); in processAccessUnitQueue()
1823 track->mPackets.erase(track->mPackets.begin()); in processAccessUnitQueue()
1877 track->mPackets.push_back(accessUnit); in onAccessUnitComplete()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DGenericSource2.cpp219 mAudioTrack.mPackets = new AnotherPacketSource(meta); in initFromDataSource()
234 mVideoTrack.mPackets = new AnotherPacketSource(meta); in initFromDataSource()
493 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
500 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
507 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
519 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
748 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
757 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
762 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
766 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
[all …]
DGenericSource2.h127 sp<AnotherPacketSource> mPackets; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp236 mAudioTrack.mPackets = in initFromDataSource()
251 mVideoTrack.mPackets = in initFromDataSource()
624 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
631 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
638 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
650 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
866 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
875 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
880 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
884 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
[all …]
DGenericSource.h124 sp<AnotherPacketSource> mPackets; member