Home
last modified time | relevance | path

Searched refs:rtpTime (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp579 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100LL); in sendAVCData() local
592 data[4] = rtpTime >> 24; in sendAVCData()
593 data[5] = (rtpTime >> 16) & 0xff; in sendAVCData()
594 data[6] = (rtpTime >> 8) & 0xff; in sendAVCData()
595 data[7] = rtpTime & 0xff; in sendAVCData()
631 data[4] = rtpTime >> 24; in sendAVCData()
632 data[5] = (rtpTime >> 16) & 0xff; in sendAVCData()
633 data[6] = (rtpTime >> 8) & 0xff; in sendAVCData()
634 data[7] = rtpTime & 0xff; in sendAVCData()
664 mLastRTPTime = rtpTime; in sendAVCData()
[all …]
DAH263Assembler.cpp88 uint32_t rtpTime; in addPacket() local
89 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in addPacket()
91 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
94 mAccessUnitRTPTime = rtpTime; in addPacket()
DARTPAssembler.cpp62 uint32_t rtpTime; in CopyTimes() local
63 CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in CopyTimes()
65 to->meta()->setInt32("rtp-time", rtpTime); in CopyTimes()
DAAVCAssembler.cpp132 uint32_t rtpTime; in addSingleNALUnit() local
133 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in addSingleNALUnit()
135 if (!mNALUnits.empty() && rtpTime != mAccessUnitRTPTime) { in addSingleNALUnit()
138 mAccessUnitRTPTime = rtpTime; in addSingleNALUnit()
DAMPEG4ElementaryAssembler.cpp240 uint32_t rtpTime; in addPacket() local
241 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in addPacket()
243 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
246 mAccessUnitRTPTime = rtpTime; in addPacket()
DMyHandler.h1011 uint32_t rtpTime; in onMessageReceived() local
1013 CHECK(msg->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
1016 onTimeUpdate(trackIndex, rtpTime, ntpTime); in onMessageReceived()
1512 uint32_t rtpTime = strtoul(val.c_str(), &end, 10); in parsePlayResponse() local
1514 ALOGV("track #%d: rtpTime=%u <=> npt=%.2f", n, rtpTime, npt1); in parsePlayResponse()
1516 info->mNormalPlayTimeRTP = rtpTime; in parsePlayResponse()
1771 void onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime) { in onTimeUpdate()
1773 trackIndex, rtpTime, (long long)ntpTime); in onTimeUpdate()
1779 track->mRTPAnchor = rtpTime; in onTimeUpdate()
1910 uint32_t rtpTime; in addMediaTimestamp() local
[all …]
DARTPConnection.cpp483 uint32_t rtpTime = u32at(&data[4]); in parseRTP() local
487 meta->setInt32("rtp-time", rtpTime); in parseRTP()
608 uint32_t rtpTime = u32at(&data[16]); in parseSR() local
613 rtpTime, in parseSR()
619 source->timeUpdate(rtpTime, ntpTime); in parseSR()
DAMPEG4AudioAssembler.cpp530 uint32_t rtpTime; in addPacket() local
531 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in addPacket()
533 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
536 mAccessUnitRTPTime = rtpTime; in addPacket()
DMyTransmitter.h644 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); in onMessageReceived() local
661 uint32_t rtpTime = mRTPTimeBase + mNumRTPSent * 128; in onMessageReceived() local
666 data[4] = rtpTime >> 24; in onMessageReceived()
667 data[5] = (rtpTime >> 16) & 0xff; in onMessageReceived()
668 data[6] = (rtpTime >> 8) & 0xff; in onMessageReceived()
669 data[7] = rtpTime & 0xff; in onMessageReceived()
683 mLastRTPTime = rtpTime; in onMessageReceived()
DARTPSource.h41 void timeUpdate(uint32_t rtpTime, uint64_t ntpTime);
DARTPSource.cpp97 void ARTPSource::timeUpdate(uint32_t rtpTime, uint64_t ntpTime) { in timeUpdate() argument
103 notify->setInt32("rtp-time", rtpTime); in timeUpdate()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp630 uint32_t rtpTime; in onMessageReceived() local
631 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
641 ((double)rtpTime - (double)info->mRTPTime) in onMessageReceived()
701 uint32_t rtpTime; in onMessageReceived() local
702 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); in onMessageReceived()
708 info->mRTPTime = rtpTime; in onMessageReceived()