Searched refs:rtpTime (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
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 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 DARTPAssembler.cpp62 uint32_t rtpTime; local
63 CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
65 to->meta()->setInt32("rtp-time", rtpTime);
H A DARTPSource.h41 void timeUpdate(uint32_t rtpTime, uint64_t ntpTime);
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 DAMPEG4ElementaryAssembler.cpp240 uint32_t rtpTime; local
241 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
243 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) {
246 mAccessUnitRTPTime = rtpTime;
H A DMyHandler.h818 uint32_t rtpTime; local
820 CHECK(msg->findInt32("rtp-time", (int32_t *)&rtpTime));
823 onTimeUpdate(trackIndex, rtpTime, ntpTime);
1149 uint32_t rtpTime = strtoul(val.c_str(), &end, 10); local
1151 ALOGV("track #%d: rtpTime=%u <=> npt=%.2f", n, rtpTime, npt1);
1153 info->mNormalPlayTimeRTP = rtpTime;
1375 void onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime) { argument
1376 ALOGV("onTimeUpdate track %d, rtpTime = 0x%08x, ntpTime = 0x%016llx",
1377 trackIndex, rtpTime, ntpTim
1454 uint32_t rtpTime; local
1507 postNormalPlayTimeMapping( size_t trackIndex, uint32_t rtpTime, int64_t nptUs) argument
[all...]
H A DAMPEG4AudioAssembler.cpp514 uint32_t rtpTime; local
515 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
517 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) {
520 mAccessUnitRTPTime = rtpTime;
H A DARTPSource.cpp94 void ARTPSource::timeUpdate(uint32_t rtpTime, uint64_t ntpTime) { argument
100 notify->setInt32("rtp-time", rtpTime);
H A DARTPConnection.cpp482 uint32_t rtpTime = u32at(&data[4]); local
486 meta->setInt32("rtp-time", rtpTime);
607 uint32_t rtpTime = u32at(&data[16]); local
610 ALOGI("XXX timeUpdate: ssrc=0x%08x, rtpTime %u == ntpTime %.3f",
612 rtpTime,
618 source->timeUpdate(rtpTime, ntpTime);
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;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp318 uint32_t rtpTime; local
319 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
329 ((double)rtpTime - (double)info->mRTPTime)
395 uint32_t rtpTime; local
396 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime));
402 info->mRTPTime = rtpTime;
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DRTPSink.cpp470 uint32_t rtpTime = U32_AT(&data[4]); local
484 seqNo, srcId, rtpTime - arrivalTimeMedia);
486 mRegression.addPoint((float)rtpTime, (float)arrivalTimeMedia);
495 float expectedArrivalTimeMedia = (b - n1 * (float)rtpTime) / n2;
506 meta->setInt32("rtp-time", rtpTime);
631 uint32_t rtpTime = U32_AT(&data[16]); local
633 ALOGV("SR: ssrc 0x%08x, ntpTime 0x%016llx, rtpTime 0x%08x",
634 id, ntpTime, rtpTime);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DSender.cpp616 uint32_t rtpTime = (nowUs * 9ll) / 100ll; local
623 rtp[4] = rtpTime >> 24;
624 rtp[5] = (rtpTime >> 16) & 0xff;
625 rtp[6] = (rtpTime >> 8) & 0xff;
626 rtp[7] = rtpTime & 0xff;
636 mLastRTPTime = rtpTime;

Completed in 71 milliseconds