/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | JitterNetworkAnalyserTest.cpp | 60 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/ |
D | VideoRtpPayloadDecoderNode.cpp | 106 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/ |
D | BaseNode.cpp | 237 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 …]
|
D | JitterBufferControlNode.cpp | 80 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()
|
D | RtpDecoderNode.cpp | 162 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()
|
D | SocketWriterNode.cpp | 145 ImsMediaSubType /*nDataType*/, uint32_t arrivalTime) in OnDataFromFrontNode() argument 155 nDataSize, arrivalTime != 0 ? ImsMediaTimer::GetTimeInMilliSeconds() - arrivalTime : 0); in OnDataFromFrontNode()
|
D | RtcpDecoderNode.cpp | 83 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/ |
D | AudioRtpPayloadEncoderNode.cpp | 95 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 …]
|
D | AudioRtpPayloadDecoderNode.cpp | 124 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/ |
D | MockBaseNode.h | 48 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/ |
D | TextRtpPayloadEncoderNode.cpp | 165 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()
|
D | TextRtpPayloadDecoderNode.cpp | 66 uint32_t arrivalTime) in OnDataFromFrontNode() argument 69 (void)arrivalTime; in OnDataFromFrontNode()
|
D | TextRendererNode.cpp | 99 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/ |
D | ImsMediaDataQueue.h | 37 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/ |
D | AudioJitterBuffer.cpp | 143 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/ |
D | BaseNode.h | 245 uint32_t* arrivalTime = nullptr); 265 uint32_t arrivalTime = 0, int32_t index = -1); 289 uint32_t arrivalTime = 0); 308 uint32_t arrivalTime = 0);
|
D | JitterBufferControlNode.h | 35 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/ |
D | VideoRtpPayloadDecoderNode.h | 37 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/ |
D | TextJitterBuffer.cpp | 29 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/ |
D | AudioRtpPayloadEncoderNode.h | 36 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);
|
D | AudioRtpPayloadDecoderNode.h | 45 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/ |
D | JitterNetworkAnalyser.cpp | 99 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/ |
D | TextJitterBuffer.h | 30 uint32_t arrivalTime = 0);
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/ |
D | VideoJitterBuffer.cpp | 164 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/ |
D | TextRendererNode.h | 40 uint32_t arrivalTime = 0);
|