Home
last modified time | relevance | path

Searched refs:mPackets (Results 1 – 12 of 12) 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.cpp251 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
257 mPackets.push_back(buffer); in addPacket()
385 mPackets.push_back(accessUnit); in addPacket()
401 CHECK(!mPackets.empty()); in submitAccessUnit()
403 ALOGV("Access unit complete (%zu nal units)", mPackets.size()); in submitAccessUnit()
412 mPackets); in submitAccessUnit()
414 accessUnit = MakeCompoundFromPackets(mPackets); in submitAccessUnit()
426 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.h70 List<sp<ABuffer> > mPackets; member
DMyHandler.h1355 track->mPackets.clear(); in onMessageReceived()
1583 List<sp<ABuffer> > mPackets; member
1762 if (track->mPackets.empty()) { in dataReceivedOnAllChannels()
1840 while (!track->mPackets.empty()) { in processAccessUnitQueue()
1841 sp<ABuffer> accessUnit = *track->mPackets.begin(); in processAccessUnitQueue()
1842 track->mPackets.erase(track->mPackets.begin()); in processAccessUnitQueue()
1897 track->mPackets.push_back(accessUnit); in onAccessUnitComplete()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockHandle.h29 std::vector<packet_t> mPackets; variable
34 void add_packet(packet_t pkt) { mPackets.push_back(pkt); } in add_packet()
38 if (mPacketNumber >= mPackets.size()) { in read()
42 packet_t pkt = mPackets[mPacketNumber]; in read()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp233 mAudioTrack.mPackets = in initFromDataSource()
248 mVideoTrack.mPackets = in initFromDataSource()
614 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
621 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
628 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
640 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
856 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
865 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
870 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
874 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
[all …]
DRTPSource.cpp549 while (!trackInfo->mPackets.empty()) { in onTimeUpdate()
550 sp<ABuffer> accessUnit = *trackInfo->mPackets.begin(); in onTimeUpdate()
551 trackInfo->mPackets.erase(trackInfo->mPackets.begin()); in onTimeUpdate()
598 if (track->mPackets.empty()) { in dataReceivedOnAllChannels()
DRTPSource.h148 List<sp<ABuffer>> mPackets; member
DGenericSource.h125 sp<AnotherPacketSource> mPackets; member