Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); in sendAVCData() local
590 data[4] = rtpTime >> 24; in sendAVCData()
591 data[5] = (rtpTime >> 16) & 0xff; in sendAVCData()
592 data[6] = (rtpTime >> 8) & 0xff; in sendAVCData()
593 data[7] = rtpTime & 0xff; in sendAVCData()
629 data[4] = rtpTime >> 24; in sendAVCData()
630 data[5] = (rtpTime >> 16) & 0xff; in sendAVCData()
631 data[6] = (rtpTime >> 8) & 0xff; in sendAVCData()
632 data[7] = rtpTime & 0xff; in sendAVCData()
662 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()
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()
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()
DMyHandler.h994 uint32_t rtpTime; in onMessageReceived() local
996 CHECK(msg->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
999 onTimeUpdate(trackIndex, rtpTime, ntpTime); in onMessageReceived()
1495 uint32_t rtpTime = strtoul(val.c_str(), &end, 10); in parsePlayResponse() local
1497 ALOGV("track #%d: rtpTime=%u <=> npt=%.2f", n, rtpTime, npt1); in parsePlayResponse()
1499 info->mNormalPlayTimeRTP = rtpTime; in parsePlayResponse()
1754 void onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime) { in onTimeUpdate()
1756 trackIndex, rtpTime, (long long)ntpTime); in onTimeUpdate()
1762 track->mRTPAnchor = rtpTime; in onTimeUpdate()
1893 uint32_t rtpTime; in addMediaTimestamp() local
[all …]
DAMPEG4AudioAssembler.cpp525 uint32_t rtpTime; in addPacket() local
526 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in addPacket()
528 if (mPackets.size() > 0 && rtpTime != mAccessUnitRTPTime) { in addPacket()
531 mAccessUnitRTPTime = rtpTime; in addPacket()
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()
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/libmediaplayer2/nuplayer2/
DRTSPSource2.cpp628 uint32_t rtpTime; in onMessageReceived() local
629 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
639 ((double)rtpTime - (double)info->mRTPTime) in onMessageReceived()
699 uint32_t rtpTime; in onMessageReceived() local
700 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); in onMessageReceived()
706 info->mRTPTime = rtpTime; in onMessageReceived()
/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()