Searched defs:rtpTime (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/media/libstagefright/rtsp/
H A DARTPAssembler.cpp71 uint32_t rtpTime; local
72 CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
75 to->meta()->setInt32("rtp-time", rtpTime);
H A DAH263Assembler.cpp85 uint32_t rtpTime; local
86 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
88 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) {
91 mAccessUnitRTPTime = rtpTime;
H A DAAVCAssembler.cpp125 uint32_t rtpTime; local
126 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
128 if (!mNALUnits.empty() && rtpTime != mAccessUnitRTPTime) {
131 mAccessUnitRTPTime = rtpTime;
H A DARTPSource.cpp90 void ARTPSource::timeUpdate(uint32_t rtpTime, uint64_t ntpTime) { argument
102 mRTPTime[mNumTimes++] = rtpTime;
109 uint32_t rtpTime; local
110 CHECK(meta->findInt32("rtp-time", (int32_t *)&rtpTime));
112 meta->setInt64("ntp-time", RTP2NTP(rtpTime));
123 uint32_t rtpTime; local
124 CHECK(meta->findInt32("rtp-time", (int32_t *)&rtpTime));
126 meta->setInt64("ntp-time", RTP2NTP(rtpTime));
183 uint64_t ARTPSource::RTP2NTP(uint32_t rtpTime) const {
187 * ((double)rtpTime
[all...]
H A DAMPEG4ElementaryAssembler.cpp211 uint32_t rtpTime; local
212 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
214 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) {
217 mAccessUnitRTPTime = rtpTime;
H A DAMPEG4AudioAssembler.cpp449 uint32_t rtpTime; local
450 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
452 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) {
455 mAccessUnitRTPTime = rtpTime;
H A DARTPConnection.cpp455 uint32_t rtpTime = u32at(&data[4]); local
459 meta->setInt32("rtp-time", rtpTime);
467 source->timeUpdate(rtpTime, 0);
468 source->timeUpdate(rtpTime + 90000, 0x100000000ll);
586 uint32_t rtpTime = u32at(&data[16]); local
589 LOGI("XXX timeUpdate: ssrc=0x%08x, rtpTime %u == ntpTime %.3f",
591 rtpTime,
598 source->timeUpdate(rtpTime, ntpTime);
H A DARTPWriter.cpp577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); local
590 data[4] = rtpTime >> 24;
591 data[5] = (rtpTime >> 16) & 0xff;
592 data[6] = (rtpTime >> 8) & 0xff;
593 data[7] = rtpTime & 0xff;
629 data[4] = rtpTime >> 24;
630 data[5] = (rtpTime >> 16) & 0xff;
631 data[6] = (rtpTime >> 8) & 0xff;
632 data[7] = rtpTime & 0xff;
662 mLastRTPTime = rtpTime;
672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); local
756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125)); local
[all...]
H A DAPacketSource.cpp710 uint32_t rtpTime; local
711 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
714 (((double)rtpTime - (double)mRTPTimeBase) / mClockRate)
766 uint32_t rtpTime, int64_t normalPlayTimeUs) {
769 mRTPTimeBase = rtpTime;
765 setNormalPlayTimeMapping( uint32_t rtpTime, int64_t normalPlayTimeUs) argument
H A DMyTransmitter.h641 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); local
658 uint32_t rtpTime = mRTPTimeBase + mNumRTPSent * 128; local
663 data[4] = rtpTime >> 24;
664 data[5] = (rtpTime >> 16) & 0xff;
665 data[6] = (rtpTime >> 8) & 0xff;
666 data[7] = rtpTime & 0xff;
680 mLastRTPTime = rtpTime;
H A DMyHandler.h757 uint32_t rtpTime; local
759 "rtp-time", (int32_t *)&rtpTime));
764 LOGV("first segment unit ntpTime=0x%016llx rtpTime=%u seq=%d",
765 ntpTime, rtpTime, seqNum);
1048 uint32_t rtpTime = strtoul(val.c_str(), &end, 10); local
1050 LOGV("track #%d: rtpTime=%u <=> ntp=%.2f", n, rtpTime, npt1);
1053 rtpTime, (int64_t)(npt1 * 1E6));

Completed in 74 milliseconds