Home
last modified time | relevance | path

Searched refs:nTimestamp (Results 1 – 19 of 19) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/
DVideoRtpPayloadEncoderNode.cpp129 uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, in OnDataFromFrontNode() argument
140 EncodeAvc(pData, nDataSize, nTimestamp, bMark); in OnDataFromFrontNode()
143 EncodeHevc(pData, nDataSize, nTimestamp, bMark); in OnDataFromFrontNode()
147 SendDataToRearNode(MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, 0); in OnDataFromFrontNode()
214 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, bool bMark) in EncodeAvc() argument
230 pData[1], pData[2], pData[3], pData[4], nDataSize, nTimestamp, bMark); in EncodeAvc()
292 EncodeAvcNALUnit(mSPS, mSpsSize, nTimestamp, 1, 7); in EncodeAvc()
294 EncodeAvcNALUnit(mPPS, mPpsSize, nTimestamp, 1, 8); in EncodeAvc()
300 EncodeAvcNALUnit(pCurDataPos, nDataSize, nTimestamp, bMark, nNalUnitType); in EncodeAvc()
305 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nNalUnitType) in EncodeAvcNALUnit() argument
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioJitterBuffer.cpp142 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, ImsMediaSubType nDataType, in Add() argument
149 currEntry.nTimestamp = nTimestamp; in Add()
176 int32_t jitter = mJitterAnalyzer.CalculateTransitTimeDifference(nTimestamp, arrivalTime); in Add()
198 packet->timestamp = nTimestamp; in Add()
206 nSeqNum, bMark, nTimestamp, nBufferSize, jitter, mDataQueue.GetCount() + 1, in Add()
207 mCurrPlayingTS - nTimestamp, arrivalTime); in Add()
286 mCurrPlayingTS = pEntry->nTimestamp; // play directly in Get()
387 pEntry->nTimestamp == mLastPlayedTimestamp) in Get()
390 mCurrPlayingTS, pEntry->nSeqNum, pEntry->bMark, pEntry->nTimestamp, in Get()
407 if (mDataQueue.Get(&pEntry) && pEntry->nTimestamp != mCurrPlayingTS && in Get()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DDtmfEncoderNode.cpp163 uint32_t nTimestamp = ImsMediaTimer::GetTimeInMilliSeconds(); in run() local
188 IMLOGD1("[run] send dtmf timestamp[%d]", nTimestamp); in run()
190 nTimestamp, false, 0); in run()
192 nTimestamp += mPtime; in run()
195 if (nTimestamp > nCurrTime) in run()
197 ImsMediaTimer::Sleep(nTimestamp - nCurrTime); in run()
209 MEDIASUBTYPE_DTMF_PAYLOAD, pbPayload, nPayloadSize, nTimestamp, marker, 0); in run()
210 nTimestamp += mPtime; in run()
213 if (nTimestamp > nCurrTime) in run()
215 ImsMediaTimer::Sleep(nTimestamp - nCurrTime); in run()
[all …]
DAudioRtpPayloadEncoderNode.cpp94 uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, in OnDataFromFrontNode() argument
101 EncodePayloadAmr(pData, nDataSize, nTimestamp, arrivalTime); in OnDataFromFrontNode()
105 SendDataToRearNode(MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, in OnDataFromFrontNode()
109 EncodePayloadEvs(pData, nDataSize, nTimestamp, arrivalTime); in OnDataFromFrontNode()
113 SendDataToRearNode(MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, in OnDataFromFrontNode()
172 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, uint32_t arrivalTime) in EncodePayloadAmr() argument
226 mTimestamp = nTimestamp; in EncodePayloadAmr()
DAudioRtpPayloadDecoderNode.cpp123 uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, in OnDataFromFrontNode() argument
137 DecodePayloadAmr(pData, nDataSize, nTimestamp, nSeqNum, arrivalTime); in OnDataFromFrontNode()
142 MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, nSeqNum); in OnDataFromFrontNode()
145 DecodePayloadEvs(pData, nDataSize, nTimestamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode()
149 SendDataToRearNode(MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, in OnDataFromFrontNode()
156 uint32_t nTimestamp, uint32_t nSeqNum, uint32_t arrivalTime) in DecodePayloadAmr() argument
163 uint32_t timestamp = nTimestamp; in DecodePayloadAmr()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoJitterBuffer.cpp163 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, ImsMediaSubType eDataType, in Add() argument
177 currEntry.nTimestamp = nTimestamp; in Add()
204 currEntry.eDataType, nSeqNum, bMark, currEntry.bHeader, nTimestamp, nBufferSize); in Add()
220 mLastAddedTimestamp = nTimestamp; in Add()
276 if (pEntry->nSeqNum != nSeqNum && pEntry->nTimestamp == nTimestamp && in Add()
283 pEntry->nSeqNum, pEntry->nTimestamp, pEntry->bMark, currEntry.nSeqNum, in Add()
284 currEntry.nTimestamp, currEntry.bMark); in Add()
294 mLastAddedTimestamp = nTimestamp; in Add()
330 pEntry->bHeader, pEntry->nTimestamp, pEntry->nBufferSize); in Get()
339 if (pEntry->nTimestamp != nLastTimeStamp || nLastTimeStamp == 0) in Get()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/
DImsMediaDataQueue.h32 nTimestamp = 0; in DataEntry()
53 nTimestamp = entry.nTimestamp; in DataEntry()
76 uint32_t nTimestamp; variable
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DBaseNode.cpp250 *pnTimestamp = pEntry->nTimestamp; in GetData()
289 entry.nTimestamp = timestamp; in AddData()
304 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, ImsMediaSubType nDataType, in SendDataToRearNode() argument
314 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in SendDataToRearNode()
330 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, ImsMediaSubType nDataType, in OnDataFromFrontNode() argument
336 entry.nTimestamp = nTimestamp; in OnDataFromFrontNode()
DJitterBufferControlNode.cpp79 uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, in OnDataFromFrontNode() argument
85 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in OnDataFromFrontNode()
DSocketWriterNode.cpp144 uint32_t nDataSize, uint32_t nTimestamp, bool /*bMark*/, uint32_t nSeqNum, in OnDataFromFrontNode() argument
154 "[OnDataFromFrontNode] TS[%d], SeqNum[%u], size[%u], timeDiff[%d]", nTimestamp, nSeqNum, in OnDataFromFrontNode()
DRtpDecoderNode.cpp228 entry.nTimestamp = 0; in OnDataFromFrontNode()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRtpPayloadEncoderNode.cpp159 uint32_t nTSInterval = timestamp - pEntry->nTimestamp; in EncodeT140()
165 timestamp, pEntry->nTimestamp, nTSInterval, pEntry->arrivalTime); in EncodeT140()
227 nullRED.nTimestamp = timestamp; in EncodeT140()
252 uint32_t nTSInterval = timestamp - pEntry->nTimestamp; in EncodeT140()
306 newEntry.nTimestamp = timestamp; in EncodeT140()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextJitterBuffer.cpp56 currEntry.nTimestamp = timestamp; in Add()
123 *timestamp = pEntry->nTimestamp; in Get()
131 pEntry->bMark, pEntry->nTimestamp, pEntry->nBufferSize, mDataQueue.GetCount()); in Get()
173 mLastPlayedTimestamp = pEntry->nTimestamp; in Delete()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/nodes/
DAudioRtpPayloadEncoderNode.h34 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum,
42 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, uint32_t arrivalTime);
DAudioRtpPayloadDecoderNode.h43 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum,
48 void DecodePayloadAmr(uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, uint32_t nSeqNum,
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/text/nodes/
DTextRtpPayloadEncoderNode.h35 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum,
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/nodes/
DVideoRtpPayloadEncoderNode.h42 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum,
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/
DAudioJitterBuffer.h32 uint32_t nTimestamp, bool bMark, uint32_t nSeqNum,
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioStreamGraphRtpTxTest.cpp76 (ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp,