Home
last modified time | relevance | path

Searched refs:arrivalTime (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DJitterNetworkAnalyserTest.cpp60 int32_t arrivalTime = 0; in TEST_F() local
68 arrivalTime += (TEST_FRAME_INTERVAL + jitter); in TEST_F()
72 EXPECT_EQ(mAnalyzer->CalculateTransitTimeDifference(timestamp, arrivalTime), 0); in TEST_F()
76 EXPECT_EQ(mAnalyzer->CalculateTransitTimeDifference(timestamp, arrivalTime), jitter); in TEST_F()
91 int32_t arrivalTime = 0; in TEST_F() local
99 arrivalTime += (TEST_FRAME_INTERVAL + kJitter); in TEST_F()
103 EXPECT_EQ(mAnalyzer->CalculateTransitTimeDifference(timestamp, arrivalTime), 0); in TEST_F()
107 EXPECT_EQ(mAnalyzer->CalculateTransitTimeDifference(timestamp, arrivalTime), kJitter); in TEST_F()
123 int32_t arrivalTime = 0; in TEST_F() local
133 arrivalTime += (TEST_FRAME_INTERVAL + jitter); in TEST_F()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/
DVideoRtpPayloadDecoderNode.cpp106 ImsMediaSubType nDataType, uint32_t arrivalTime) in OnDataFromFrontNode() argument
111 subtype, nullptr, nDataSize, 0, 0, 0, MEDIASUBTYPE_UNDEFINED, arrivalTime); in OnDataFromFrontNode()
118 DecodeAvc(subtype, pData, nDataSize, nTimeStamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode()
121 DecodeHevc(subtype, pData, nDataSize, nTimeStamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode()
126 nDataType, arrivalTime); in OnDataFromFrontNode()
132 uint32_t nDataSize, uint32_t nTimeStamp, bool bMark, uint32_t nSeqNum, uint32_t arrivalTime) in DecodeAvc() argument
173 arrivalTime); in DecodeAvc()
217 eDataType, arrivalTime); in DecodeAvc()
263 eDataType, arrivalTime); in DecodeAvc()
268 eDataType, arrivalTime); in DecodeAvc()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DBaseNode.cpp237 uint32_t* arrivalTime) in GetData() argument
257 if (arrivalTime) in GetData()
258 *arrivalTime = pEntry->arrivalTime; in GetData()
277 if (arrivalTime) in GetData()
278 *arrivalTime = 0; in GetData()
284 ImsMediaSubType subtype, ImsMediaSubType dataType, uint32_t arrivalTime, int32_t index) in AddData() argument
294 entry.arrivalTime = arrivalTime; in AddData()
305 uint32_t arrivalTime) in SendDataToRearNode() argument
314 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in SendDataToRearNode()
331 uint32_t arrivalTime) in OnDataFromFrontNode() argument
[all …]
DJitterBufferControlNode.cpp80 ImsMediaSubType nDataType, uint32_t arrivalTime) in OnDataFromFrontNode() argument
85 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in OnDataFromFrontNode()
91 ImsMediaSubType* pnDataType, uint32_t* arrivalTime) in GetData() argument
93 if (arrivalTime) in GetData()
95 *arrivalTime = 0; in GetData()
DRtpDecoderNode.cpp162 uint32_t arrivalTime) in OnDataFromFrontNode() argument
167 mMediaType, subtype, datasize, timestamp, mark, seq, nDataType, arrivalTime); in OnDataFromFrontNode()
169 mArrivalTime = arrivalTime; in OnDataFromFrontNode()
171 uint64_t interArrivalDelay = arrivalTime - mPacketTimestamp; in OnDataFromFrontNode()
172 mPacketTimestamp = arrivalTime; in OnDataFromFrontNode()
231 entry.arrivalTime = arrivalTime; in OnDataFromFrontNode()
DSocketWriterNode.cpp145 ImsMediaSubType /*nDataType*/, uint32_t arrivalTime) in OnDataFromFrontNode() argument
155 nDataSize, arrivalTime != 0 ? ImsMediaTimer::GetTimeInMilliSeconds() - arrivalTime : 0); in OnDataFromFrontNode()
DRtcpDecoderNode.cpp83 ImsMediaSubType nDataType, uint32_t arrivalTime) in OnDataFromFrontNode() argument
86 (void)arrivalTime; in OnDataFromFrontNode()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DAudioRtpPayloadEncoderNode.cpp95 ImsMediaSubType nDataType, uint32_t arrivalTime) in OnDataFromFrontNode() argument
101 EncodePayloadAmr(pData, nDataSize, nTimestamp, arrivalTime); in OnDataFromFrontNode()
106 nSeqNum, nDataType, arrivalTime); in OnDataFromFrontNode()
109 EncodePayloadEvs(pData, nDataSize, nTimestamp, arrivalTime); in OnDataFromFrontNode()
114 nSeqNum, nDataType, arrivalTime); in OnDataFromFrontNode()
172 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, uint32_t arrivalTime) in EncodePayloadAmr() argument
266 mFirstFrame, 0, MEDIASUBTYPE_UNDEFINED, arrivalTime); in EncodePayloadAmr()
280 uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, uint32_t arrivalTime) in EncodePayloadEvs() argument
340 mFirstFrame, 0, MEDIASUBTYPE_UNDEFINED, arrivalTime); in EncodePayloadEvs()
427 mFirstFrame, 0, MEDIASUBTYPE_UNDEFINED, arrivalTime); in EncodePayloadEvs()
[all …]
DAudioRtpPayloadDecoderNode.cpp124 ImsMediaSubType nDataType, uint32_t arrivalTime) in OnDataFromFrontNode() argument
129 subtype, nullptr, nDataSize, 0, 0, 0, MEDIASUBTYPE_UNDEFINED, arrivalTime); in OnDataFromFrontNode()
137 DecodePayloadAmr(pData, nDataSize, nTimestamp, nSeqNum, arrivalTime); in OnDataFromFrontNode()
145 DecodePayloadEvs(pData, nDataSize, nTimestamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode()
150 nSeqNum, nDataType, arrivalTime); in OnDataFromFrontNode()
156 uint32_t nTimestamp, uint32_t nSeqNum, uint32_t arrivalTime) in DecodePayloadAmr() argument
172 mCodecType, mOctetAligned, nDataSize, timestamp, arrivalTime); in DecodePayloadAmr()
270 mListFrameType.size(), nSeqNum, subType, arrivalTime); in DecodePayloadAmr()
277 uint32_t nTimeStamp, bool bMark, uint32_t nSeqNum, uint32_t arrivalTime) in DecodePayloadEvs() argument
286 nDataSize, nTimeStamp, arrivalTime); in DecodePayloadEvs()
[all …]
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/include/
DMockBaseNode.h48 bool* mark, uint32_t* seq, ImsMediaSubType* dataType, uint32_t* arrivalTime),
53 uint32_t seq, ImsMediaSubType dataType, uint32_t arrivalTime),
57 uint32_t seq, ImsMediaSubType dataType, uint32_t arrivalTime),
66 ImsMediaSubType dataType, uint32_t arrivalTime) in DelegateToFake()
71 seq, dataType, arrivalTime); in DelegateToFake()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRtpPayloadEncoderNode.cpp165 timestamp, pEntry->nTimestamp, nTSInterval, pEntry->arrivalTime); in EncodeT140()
169 pEntry->arrivalTime == 0) in EncodeT140()
228 nullRED.arrivalTime = 1; // Remained time to be retransmitted in EncodeT140()
257 pEntry->arrivalTime -= 1; in EncodeT140()
262 i, mBufferQueue.GetCount(), pEntry->arrivalTime, mRedundantPayload, in EncodeT140()
307 newEntry.arrivalTime = static_cast<uint32_t>(std::make_unsigned_t<int8_t>( in EncodeT140()
DTextRtpPayloadDecoderNode.cpp66 uint32_t arrivalTime) in OnDataFromFrontNode() argument
69 (void)arrivalTime; in OnDataFromFrontNode()
DTextRendererNode.cpp99 uint32_t timestamp, bool mark, uint32_t seq, ImsMediaSubType dataType, uint32_t arrivalTime) in OnDataFromFrontNode() argument
110 subtype, data, size, timestamp, mark, seq, dataType, arrivalTime); in OnDataFromFrontNode()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/
DImsMediaDataQueue.h37 arrivalTime = 0; in DataEntry()
58 arrivalTime = entry.arrivalTime; in DataEntry()
86 uint32_t arrivalTime; variable
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioJitterBuffer.cpp143 uint32_t arrivalTime) in Add() argument
154 currEntry.arrivalTime = arrivalTime; in Add()
161 mTimeStarted = arrivalTime; in Add()
176 int32_t jitter = mJitterAnalyzer.CalculateTransitTimeDifference(nTimestamp, arrivalTime); in Add()
197 packet->arrival = arrivalTime; in Add()
207 mCurrPlayingTS - nTimestamp, arrivalTime); in Add()
247 mListVoiceFrames.push_back(arrivalTime); in Add()
260 mJitterAnalyzer.GetNextJitterBufferSize(mCurrJitterBufferSize, arrivalTime); in Add()
367 currentTime - pEntry->arrivalTime, GetCount()); in Get()
498 pEntry->nBufferSize, currentTime - pEntry->arrivalTime, mCurrJitterBufferSize); in Get()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/nodes/
DBaseNode.h245 uint32_t* arrivalTime = nullptr);
265 uint32_t arrivalTime = 0, int32_t index = -1);
289 uint32_t arrivalTime = 0);
308 uint32_t arrivalTime = 0);
DJitterBufferControlNode.h35 uint32_t arrivalTime = 0);
38 ImsMediaSubType* pnDataType = nullptr, uint32_t* arrivalTime = nullptr);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/nodes/
DVideoRtpPayloadDecoderNode.h37 ImsMediaSubType nDataType = MEDIASUBTYPE_UNDEFINED, uint32_t arrivalTime = 0);
41 bool bMark, uint32_t nSeqNum, uint32_t arrivalTime);
43 uint32_t nTimeStamp, bool bMark, uint32_t nSeqNum, uint32_t arrivalTime);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextJitterBuffer.cpp29 uint32_t arrivalTime) in Add() argument
41 mark, timestamp, size, mLastPlayedSeqNum, arrivalTime); in Add()
61 currEntry.arrivalTime = arrivalTime; in Add()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/nodes/
DAudioRtpPayloadEncoderNode.h36 uint32_t arrivalTime = 0);
42 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, uint32_t arrivalTime);
44 uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, uint32_t arrivalTime);
DAudioRtpPayloadDecoderNode.h45 uint32_t arrivalTime = 0);
49 uint32_t arrivalTime);
51 uint32_t nSeqNum, uint32_t arrivalTime);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/
DJitterNetworkAnalyser.cpp99 uint32_t timestamp, uint32_t arrivalTime) in CalculateTransitTimeDifference() argument
106 mPrevArrivalTime = arrivalTime; in CalculateTransitTimeDifference()
112 int32_t inputTimeGap = arrivalTime - mPrevArrivalTime; in CalculateTransitTimeDifference()
116 mPrevArrivalTime = arrivalTime; in CalculateTransitTimeDifference()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/text/
DTextJitterBuffer.h30 uint32_t arrivalTime = 0);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoJitterBuffer.cpp164 uint32_t arrivalTime) in Add() argument
184 currEntry.arrivalTime = arrivalTime; in Add()
585 currentTime - pEntry->arrivalTime); in Get()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/text/nodes/
DTextRendererNode.h40 uint32_t arrivalTime = 0);

12