Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/
DJitterCalculator.cpp31 void JitterCalc::init(uint32_t rtpTime, int64_t arrivalTimeUs, int32_t base, int32_t inter) { in init() argument
32 mFirstTimeStamp = rtpTime; in init()
33 mLastTimeStamp = rtpTime; in init()
41 void JitterCalc::putBaseData(uint32_t rtpTime, int64_t arrivalTimeUs) { in putBaseData() argument
44 __builtin_usub_overflow(rtpTime, mFirstTimeStamp, &diff); in putBaseData()
62 void JitterCalc::putInterArrivalData(uint32_t rtpTime, int64_t arrivalTimeUs) { in putInterArrivalData() argument
65 __builtin_usub_overflow(rtpTime, mLastTimeStamp, &diff); in putInterArrivalData()
76 mLastTimeStamp = rtpTime; in putInterArrivalData()
DAAVCAssembler.cpp128 int64_t rtpTime = findRTPTime(firstRTPTime, buffer); in addNALUnit() local
165 int64_t expiredTimeRtp = rtpTime + jitterTimeRtp; // When does this buffer expire ? (T) in addNALUnit()
181 printRTPTime(rtpTime, playedTimeRtp, expiredTimeRtp, isExpired); in addNALUnit()
208 printRTPTime(rtpTime, playedTimeRtp, expiredTimeRtp, isExpired); in addNALUnit()
320 uint32_t rtpTime; in checkIFrameProvided() local
321 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in checkIFrameProvided()
322 ALOGD("got First I-frame to be decoded. rtpTime=%d, size=%zu", rtpTime, buffer->size()); in checkIFrameProvided()
351 uint32_t rtpTime; in addSingleNALUnit() local
352 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in addSingleNALUnit()
361 ALOGV("Dropping P-frame till I-frame provided. rtpTime %u", rtpTime); in addSingleNALUnit()
[all …]
DAHEVCAssembler.cpp138 int64_t rtpTime = findRTPTime(firstRTPTime, buffer); in addNALUnit() local
175 int64_t expiredTimeRtp = rtpTime + jitterTimeRtp; // When does this buffer expire ? (T) in addNALUnit()
191 printRTPTime(rtpTime, playedTimeRtp, expiredTimeRtp, isExpired); in addNALUnit()
218 printRTPTime(rtpTime, playedTimeRtp, expiredTimeRtp, isExpired); in addNALUnit()
327 uint32_t rtpTime; in checkIFrameProvided() local
328 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in checkIFrameProvided()
329 ALOGD("got First I-frame to be decoded. rtpTime=%d, size=%zu", rtpTime, buffer->size()); in checkIFrameProvided()
351 uint32_t rtpTime; in addSingleNALUnit() local
352 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in addSingleNALUnit()
361 ALOGD("drop P-frames till an I-frame provided. rtpTime %u", rtpTime); in addSingleNALUnit()
[all …]
DARTPWriter.cpp703 uint32_t rtpTime = getRtpTime(ALooper::GetNowUs()); in addSR() local
704 data[16] = (rtpTime >> 24) & 0xff; in addSR()
705 data[17] = (rtpTime >> 16) & 0xff; in addSR()
706 data[18] = (rtpTime >> 8) & 0xff; in addSR()
707 data[19] = rtpTime & 0xff; in addSR()
831 int64_t rtpTime = mRTPTimeBase + (timeUs * clockPerMs / 1000LL); in getRtpTime() local
833 return (uint32_t)rtpTime; in getRtpTime()
1037 uint32_t rtpTime = getRtpTime(timeUs); in sendHEVCData() local
1066 data[4] = rtpTime >> 24; in sendHEVCData()
1067 data[5] = (rtpTime >> 16) & 0xff; in sendHEVCData()
[all …]
DARTPSource.cpp135 void ARTPSource::timeUpdate(int64_t recvTimeUs, uint32_t rtpTime, uint64_t ntpTime) { in timeUpdate() argument
136 mLastSrRtpTime = rtpTime; in timeUpdate()
142 notify->setInt32("rtp-time", rtpTime); in timeUpdate()
205 uint32_t rtpTime; in calcTimeGapRtpRtcp() local
206 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in calcTimeGapRtpRtcp()
209 int64_t rtpTimeGap = anchorRtpTime - rtpTime; in calcTimeGapRtpRtcp()
238 int32_t rtpTime; in calcUnderlineDelay() local
239 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in calcUnderlineDelay()
240 int32_t delayMs = (expectedRtpTime - rtpTime) / (mClockRate / 1000); in calcUnderlineDelay()
267 int64_t rtpTime = 0; in queuePacket() local
[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.cpp67 uint32_t rtpTime; in CopyTimes() local
68 CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in CopyTimes()
70 to->meta()->setInt32("rtp-time", rtpTime); in CopyTimes()
DAMPEG4ElementaryAssembler.cpp248 uint32_t rtpTime; in addPacket() local
249 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in addPacket()
251 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
254 mAccessUnitRTPTime = rtpTime; in addPacket()
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()
DARTPConnection.cpp835 uint32_t rtpTime = u32at(&data[4]); in parseRTP() local
839 meta->setInt32("rtp-time", rtpTime); in parseRTP()
855 notify->setInt32("rtp-time", (int32_t)rtpTime); in parseRTP()
1044 uint32_t rtpTime = u32at(&data[16]); in parseSenderReport() local
1049 senderId, rtpTime, (unsigned long long)ntpTime, pktCount, octCount); in parseSenderReport()
1052 source->timeUpdate(recvTimeUs, rtpTime, ntpTime); in parseSenderReport()
1074 rtpTime, in parseReceiverReport()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DJitterCalculator.h42 void init(uint32_t rtpTime, int64_t arrivalTimeUs, int32_t base, int32_t inter);
43 void putInterArrivalData(uint32_t rtpTime, int64_t arrivalTime);
44 void putBaseData(uint32_t rtpTime, int64_t arrivalTimeUs);
DARTPAssembler.h83 int64_t rtpTime = 0; in findRTPTime() local
84 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in findRTPTime()
86 int64_t overflowMask = (firstRTPTime & 0x80000000 & ~rtpTime) << 1; in findRTPTime()
87 return rtpTime | overflowMask; in findRTPTime()
DMyHandler.h1020 uint32_t rtpTime; in onMessageReceived() local
1022 CHECK(msg->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
1025 onTimeUpdate(trackIndex, rtpTime, ntpTime); in onMessageReceived()
1528 uint32_t rtpTime = strtoul(val.c_str(), &end, 10); in parsePlayResponse() local
1530 ALOGV("track #%d: rtpTime=%u <=> npt=%.2f", n, rtpTime, npt1); in parsePlayResponse()
1532 info->mNormalPlayTimeRTP = rtpTime; in parsePlayResponse()
1789 void onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime) { in onTimeUpdate()
1791 trackIndex, rtpTime, (long long)ntpTime); in onTimeUpdate()
1797 track->mRTPAnchor = rtpTime; in onTimeUpdate()
1929 uint32_t rtpTime; in addMediaTimestamp() local
[all …]
DARTPSource.h67 void timeUpdate(int64_t recvTimeUs, uint32_t rtpTime, uint64_t ntpTime);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTPSource.cpp394 uint32_t rtpTime; in onMessageReceived() local
396 CHECK(msg->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
399 onTimeUpdate(trackIndex, rtpTime, ntpTime); in onMessageReceived()
439 uint32_t rtpTime; in onMessageReceived() local
440 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
515 void NuPlayer::RTPSource::onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime) { in onTimeUpdate() argument
517 trackIndex, rtpTime, (long long)ntpTime); in onTimeUpdate()
525 track->mRTPAnchor = rtpTime; in onTimeUpdate()
567 uint32_t rtpTime; in addMediaTimestamp() local
569 "rtp-time", (int32_t *)&rtpTime)); in addMediaTimestamp()
[all …]
DRTSPSource.cpp637 uint32_t rtpTime; in onMessageReceived() local
638 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
648 ((double)rtpTime - (double)info->mRTPTime) in onMessageReceived()
708 uint32_t rtpTime; in onMessageReceived() local
709 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); in onMessageReceived()
715 info->mRTPTime = rtpTime; in onMessageReceived()
DNuPlayer.cpp2884 int32_t rtpSeq = 0, rtpTime = 0; in sendIMSRxNotice() local
2893 CHECK(msg->findInt32("rtp-time", &rtpTime)); in sendIMSRxNotice()
2896 in.writeInt32(rtpTime); in sendIMSRxNotice()
2911 CHECK(msg->findInt32("rtp-time", &rtpTime)); in sendIMSRxNotice()
2914 in.writeInt32(rtpTime); in sendIMSRxNotice()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DRTPSource.h187 void onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime);