Home
last modified time | relevance | path

Searched refs:pbBuffer (Results 1 – 16 of 16) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/
DImsMediaDataQueue.h30 pbBuffer = nullptr; in DataEntry()
44 pbBuffer = nullptr; in DataEntry()
46 if (entry.nBufferSize > 0 && entry.pbBuffer != nullptr) in DataEntry()
48 pbBuffer = new uint8_t[entry.nBufferSize]; in DataEntry()
49 memcpy(pbBuffer, entry.pbBuffer, entry.nBufferSize); in DataEntry()
67 if (pbBuffer != nullptr) in deleteBuffer()
69 delete[] pbBuffer; in deleteBuffer()
73 uint8_t* pbBuffer; // The data buffer variable
DImsMediaBitReader.h27 void SetBuffer(uint8_t* pbBuffer, uint32_t nBufferSize);
DImsMediaBitWriter.h27 void SetBuffer(uint8_t* pbBuffer, uint32_t nBufferSize);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoJitterBuffer.cpp162 void VideoJitterBuffer::Add(ImsMediaSubType subtype, uint8_t* pbBuffer, uint32_t nBufferSize, in Add() argument
175 currEntry.pbBuffer = pbBuffer; in Add()
180 currEntry.bHeader = CheckHeader(pbBuffer); in Add()
570 *ppData = pEntry->pbBuffer; in Get()
660 bool VideoJitterBuffer::CheckHeader(uint8_t* pbBuffer) in CheckHeader() argument
662 if (pbBuffer == nullptr) in CheckHeader()
668 if ((pbBuffer[0] == 0x00 && pbBuffer[1] == 0x00 && pbBuffer[2] == 0x00) || in CheckHeader()
669 (pbBuffer[0] == 0x00 && pbBuffer[1] == 0x00 && pbBuffer[2] == 0x01)) in CheckHeader()
DImsMediaVideoUtil.cpp421 bool ImsMediaVideoUtil::ParseAvcSps(uint8_t* pbBuffer, uint32_t nBufferSize, tCodecConfig* pInfo) in ParseAvcSps() argument
436 memcpy(pszSPS, pbBuffer, nBufferSize); in ParseAvcSps()
567 bool ImsMediaVideoUtil::ParseHevcSps(uint8_t* pbBuffer, uint32_t nBufferSize, tCodecConfig* pInfo) in ParseHevcSps() argument
569 if (pbBuffer == nullptr || nBufferSize == 0) in ParseHevcSps()
583 if (pbBuffer[i] == 0x00 && pbBuffer[i + 1] == 0x00 && pbBuffer[i + 2] == 0x00 && in ParseHevcSps()
584 pbBuffer[i + 3] == 0x01 && pbBuffer[i + 4] == 0x42 && pbBuffer[i + 5] == 0x01) in ParseHevcSps()
592 objBitReader.SetBuffer(pbBuffer + nOffset, nBufferSize - nOffset); in ParseHevcSps()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/
DIVideoRendererNode.cpp444 void IVideoRendererNode::SaveConfigFrame(uint8_t* pbBuffer, uint32_t nBufferSize, uint32_t eMode) in SaveConfigFrame() argument
457 reinterpret_cast<const char*>(pbBuffer), nBufferSize > 52 ? 52 : nBufferSize)); in SaveConfigFrame()
466 uint8_t* nCurrBuff = pbBuffer; in SaveConfigFrame()
524 if (0 != memcmp(pConfigData, pbBuffer + nOffset, nConfigSize)) in SaveConfigFrame()
526 memcpy(pConfigData, pbBuffer + nOffset, nConfigSize); in SaveConfigFrame()
538 uint8_t* nCurrBuff = pbBuffer; in SaveConfigFrame()
609 if (0 != memcmp(pConfigData, pbBuffer + nOffset, nConfigSize)) in SaveConfigFrame()
611 memcpy(pConfigData, pbBuffer + nOffset, nConfigSize); in SaveConfigFrame()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRtpPayloadEncoderNode.cpp225 nullRED.pbBuffer = nullptr; in EncodeT140()
265 if (pEntry->nBufferSize > 0 && pEntry->pbBuffer != nullptr) in EncodeT140()
267 mBWPayload.WriteByteBuffer(pEntry->pbBuffer, pEntry->nBufferSize * 8); in EncodeT140()
304 newEntry.pbBuffer = data; in EncodeT140()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioJitterBuffer.cpp141 void AudioJitterBuffer::Add(ImsMediaSubType subtype, uint8_t* pbBuffer, uint32_t nBufferSize, in Add() argument
147 currEntry.pbBuffer = pbBuffer; in Add()
476 *ppData = pEntry->pbBuffer; in Get()
531 *ppData = pEntry->pbBuffer; in Get()
745 pEntry->pbBuffer[ImsMediaAudioUtil::CheckEVSPrimaryHeaderFullModeFromSize( in GetNextFrameFirstByte()
768 *ppData = pEntry->pbBuffer; in GetRedundantFrame()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaBitReader.cpp33 void ImsMediaBitReader::SetBuffer(uint8_t* pbBuffer, uint32_t nBufferSize) in SetBuffer() argument
39 mBuffer = pbBuffer; in SetBuffer()
DImsMediaBitWriter.cpp33 void ImsMediaBitWriter::SetBuffer(uint8_t* pbBuffer, uint32_t nBufferSize) in SetBuffer() argument
39 mBuffer = pbBuffer; in SetBuffer()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/
DVideoJitterBuffer.h44 virtual void Add(ImsMediaSubType subtype, uint8_t* pbBuffer, uint32_t nBufferSize,
87 bool CheckHeader(uint8_t* pbBuffer);
DImsMediaVideoUtil.h196 static bool ParseAvcSps(uint8_t* pbBuffer, uint32_t nBufferSize, tCodecConfig* pInfo);
197 static bool ParseHevcSps(uint8_t* pbBuffer, uint32_t nBufferSize, tCodecConfig* pInfo);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DBaseNode.cpp246 *ppData = pEntry->pbBuffer; in GetData()
287 entry.pbBuffer = data; in AddData()
334 entry.pbBuffer = pData; in OnDataFromFrontNode()
DRtpDecoderNode.cpp226 entry.pbBuffer = data; 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/text/
DTextJitterBuffer.cpp54 currEntry.pbBuffer = buffer; in Add()
119 *data = pEntry->pbBuffer; in Get()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/
DAudioJitterBuffer.h31 virtual void Add(ImsMediaSubType subtype, uint8_t* pbBuffer, uint32_t nBufferSize,