Home
last modified time | relevance | path

Searched refs:pEntry (Results 1 – 8 of 8) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoJitterBuffer.cpp225 DataEntry* pEntry; in Add() local
226 mDataQueue.GetLast(&pEntry); in Add()
228 if (pEntry == nullptr) in Add()
233 if (USHORT_SEQ_ROUND_COMPARE(nSeqNum, pEntry->nSeqNum)) in Add()
236 if (nSeqNum == pEntry->nSeqNum && nBufferSize == pEntry->nBufferSize) in Add()
255 for (i = 0; mDataQueue.GetNext(&pEntry); i++) in Add()
257 if (nSeqNum == pEntry->nSeqNum && nBufferSize == pEntry->nBufferSize) in Add()
263 if (!USHORT_SEQ_ROUND_COMPARE(nSeqNum, pEntry->nSeqNum)) in Add()
274 while (mDataQueue.GetNext(&pEntry)) in Add()
276 if (pEntry->nSeqNum != nSeqNum && pEntry->nTimestamp == nTimestamp && in Add()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioJitterBuffer.cpp215 DataEntry* pEntry; in Add() local
216 mDataQueue.GetLast(&pEntry); in Add()
218 if (pEntry == nullptr) in Add()
224 if (USHORT_SEQ_ROUND_COMPARE(nSeqNum, pEntry->nSeqNum)) in Add()
233 for (int32_t i = 0; mDataQueue.GetNext(&pEntry); i++) in Add()
236 if (!USHORT_SEQ_ROUND_COMPARE(nSeqNum, pEntry->nSeqNum)) in Add()
275 DataEntry* pEntry = nullptr; in Get() local
279 if (mDataQueue.Get(&pEntry) && pEntry->subtype == MEDIASUBTYPE_REFRESHED) // ssrc changed in Get()
284 if (!mWaiting && mDataQueue.Get(&pEntry)) // get next frame in Get()
286 mCurrPlayingTS = pEntry->nTimestamp; // play directly in Get()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextJitterBuffer.cpp69 DataEntry* pEntry = nullptr; in Add() local
70 mDataQueue.GetLast(&pEntry); in Add()
72 if (pEntry == nullptr) in Add()
77 if (USHORT_SEQ_ROUND_COMPARE(pEntry->nSeqNum, seqNum)) // a >= b in Add()
82 while (mDataQueue.GetNext(&pEntry)) in Add()
84 if (seqNum == pEntry->nSeqNum) in Add()
89 else if (!USHORT_SEQ_ROUND_COMPARE(seqNum, pEntry->nSeqNum)) in Add()
112 DataEntry* pEntry; in Get() local
114 if (mDataQueue.Get(&pEntry) == true && pEntry != nullptr) in Get()
117 *subtype = pEntry->subtype; in Get()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRtpPayloadEncoderNode.cpp152 DataEntry* pEntry = nullptr; in EncodeT140() local
154 while (mBufferQueue.Get(&pEntry) && pEntry != nullptr) in EncodeT140()
159 uint32_t nTSInterval = timestamp - pEntry->nTimestamp; in EncodeT140()
165 timestamp, pEntry->nTimestamp, nTSInterval, pEntry->arrivalTime); in EncodeT140()
169 pEntry->arrivalTime == 0) in EncodeT140()
171 pEntry = nullptr; in EncodeT140()
185 if (mBufferQueue.GetAt(i, &pEntry) && pEntry != nullptr) in EncodeT140()
187 if (pEntry->nBufferSize > 0) in EncodeT140()
246 pEntry = nullptr; in EncodeT140()
250 if (mBufferQueue.GetAt(i, &pEntry) && pEntry != nullptr) in EncodeT140()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DBaseNode.cpp239 DataEntry* pEntry; in GetData() local
241 if (mDataQueue.Get(&pEntry)) in GetData()
244 *psubtype = pEntry->subtype; in GetData()
246 *ppData = pEntry->pbBuffer; in GetData()
248 *pnDataSize = pEntry->nBufferSize; in GetData()
250 *pnTimestamp = pEntry->nTimestamp; in GetData()
252 *pbMark = pEntry->bMark; in GetData()
254 *pnSeqNum = pEntry->nSeqNum; in GetData()
256 *peDataType = pEntry->eDataType; in GetData()
258 *arrivalTime = pEntry->arrivalTime; in GetData()
DRtpDecoderNode.cpp280 DataEntry* pEntry; in OnDataFromFrontNode() local
282 if (jitterData.Get(&pEntry)) in OnDataFromFrontNode()
287 mRtpSession->ProcRtpPacket(pEntry->pbBuffer, pEntry->nBufferSize); in OnDataFromFrontNode()
293 mRtpSession->ProcRtpPacket(pEntry->pbBuffer, pEntry->nBufferSize); in OnDataFromFrontNode()
296 mRtpSession->ProcRtpPacket(pEntry->pbBuffer, pEntry->nBufferSize); in OnDataFromFrontNode()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaDataQueue.cpp27 void ImsMediaDataQueue::Add(DataEntry* pEntry) in Add() argument
29 if (pEntry != nullptr) in Add()
32 DataEntry* pbData = new DataEntry(*pEntry); in Add()
37 void ImsMediaDataQueue::InsertAt(uint32_t index, DataEntry* pEntry) in InsertAt() argument
39 if (pEntry != nullptr) in InsertAt()
42 DataEntry* pbData = new DataEntry(*pEntry); in InsertAt()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/
DImsMediaDataQueue.h109 void Add(DataEntry* pEntry);
110 void InsertAt(uint32_t index, DataEntry* pEntry);